Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.Parameter.State_Ts_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_Ts_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008051/0.0008047, allocations: 100.6 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008135/0.0008135, allocations: 177.4 kB / 16.58 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.517/1.517, allocations: 205.4 MB / 222.8 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04266/0.04266, allocations: 9.068 MB / 280.1 MB, free: 12.26 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000474/0.000474, allocations: 12 kB / 339.8 MB, free: 26 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09341/0.0939, allocations: 49.2 MB / 389 MB, free: 8.758 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_Ts_parameter): time 0.01649/0.1104, allocations: 15.61 MB / 404.6 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001727/0.1122, allocations: 1.758 MB / 406.3 MB, free: 7.324 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.253e-05/0.1123, allocations: 0 / 406.3 MB, free: 7.324 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004853/0.1128, allocations: 223 kB / 406.5 MB, free: 7.105 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.007e-05/0.1128, allocations: 27.84 kB / 406.6 MB, free: 7.078 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005543/0.1184, allocations: 2.302 MB / 408.9 MB, free: 4.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.128e-05/0.1184, allocations: 51.73 kB / 408.9 MB, free: 4.719 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.91e-05/0.1185, allocations: 0 / 408.9 MB, free: 4.719 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.232e-05/0.1186, allocations: 27.81 kB / 408.9 MB, free: 4.691 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.904e-05/0.1186, allocations: 11.98 kB / 409 MB, free: 4.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.1187, allocations: 7.938 kB / 409 MB, free: 4.672 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006107/0.1248, allocations: 4.178 MB / 413.1 MB, free: 496 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.117e-05/0.1248, allocations: 4 kB / 413.1 MB, free: 492 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.566e-05/0.1248, allocations: 33.64 kB / 413.2 MB, free: 452 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001534/0.1264, allocations: 1.025 MB / 414.2 MB, free: 15.41 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.1264, allocations: 3.984 kB / 414.2 MB, free: 15.41 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1264, allocations: 0 / 414.2 MB, free: 15.41 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.1264, allocations: 0 / 414.2 MB, free: 15.41 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009222/0.1274, allocations: 0.4914 MB / 414.7 MB, free: 14.87 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.1274, allocations: 8.031 kB / 414.7 MB, free: 14.86 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.704e-05/0.1275, allocations: 7.953 kB / 414.7 MB, free: 14.86 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.1276, allocations: 163.1 kB / 414.9 MB, free: 14.66 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.1276, allocations: 0 / 414.9 MB, free: 14.66 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.1277, allocations: 0 / 414.9 MB, free: 14.66 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.1278, allocations: 49.62 kB / 414.9 MB, free: 14.6 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.1278, allocations: 0 / 414.9 MB, free: 14.6 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.1278, allocations: 0 / 414.9 MB, free: 14.6 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.842e-06/0.1278, allocations: 0 / 414.9 MB, free: 14.6 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.007e-05/0.1279, allocations: 12 kB / 414.9 MB, free: 14.59 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002354/0.1281, allocations: 169.5 kB / 415.1 MB, free: 14.38 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.016e-05/0.1282, allocations: 38.56 kB / 415.1 MB, free: 14.33 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.922e-05/0.1282, allocations: 20.89 kB / 415.2 MB, free: 14.3 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2403/0.3685, allocations: 18.93 MB / 434.1 MB, free: 40.55 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/0.3686, allocations: 36.02 kB / 434.1 MB, free: 40.52 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 2.925e-06/0.3686, allocations: 0 / 434.1 MB, free: 40.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002418/0.3689, allocations: 76.41 kB / 434.2 MB, free: 40.48 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.3689, allocations: 58.62 kB / 434.3 MB, free: 40.42 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.172e-05/0.369, allocations: 93.75 kB / 434.3 MB, free: 40.32 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.466e-06/0.369, allocations: 26.36 kB / 434.4 MB, free: 40.29 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.988e-05/0.369, allocations: 84.92 kB / 434.5 MB, free: 40.21 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.598e-05/0.369, allocations: 18.75 kB / 434.5 MB, free: 40.2 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.484e-06/0.3691, allocations: 0 / 434.5 MB, free: 40.2 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.826e-05/0.3691, allocations: 318.8 kB / 434.8 MB, free: 39.89 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.789e-05/0.3692, allocations: 10.08 kB / 434.8 MB, free: 39.89 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.947e-05/0.3692, allocations: 12.91 kB / 434.8 MB, free: 39.89 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.965e-05/0.3692, allocations: 14.5 kB / 434.8 MB, free: 39.89 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3692, allocations: 3.25 kB / 434.8 MB, free: 39.89 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.139e-05/0.3693, allocations: 57.39 kB / 434.9 MB, free: 39.86 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.3693, allocations: 8.688 kB / 434.9 MB, free: 39.86 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.3693, allocations: 2.062 kB / 434.9 MB, free: 39.86 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.3694, allocations: 3.781 kB / 434.9 MB, free: 39.86 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.363e-06/0.3694, allocations: 3.375 kB / 434.9 MB, free: 39.86 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.3694, allocations: 4.672 kB / 434.9 MB, free: 39.86 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.419e-05/0.3694, allocations: 10.41 kB / 434.9 MB, free: 39.86 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.3694, allocations: 4.5 kB / 434.9 MB, free: 39.86 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (inletState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.051e-05/0.3695, allocations: 108.7 kB / 435 MB, free: 39.74 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.075e-06/0.3695, allocations: 2.953 kB / 435 MB, free: 39.74 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000144/0.3697, allocations: 169.2 kB / 435.2 MB, free: 39.57 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.659e-05/0.3697, allocations: 185 kB / 435.4 MB, free: 39.39 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-05/0.3697, allocations: 182.4 kB / 435.5 MB, free: 39.21 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-05/0.3698, allocations: 181.2 kB / 435.7 MB, free: 39.03 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.3699, allocations: 414 kB / 436.1 MB, free: 38.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.698e-05/0.37, allocations: 103.1 kB / 436.2 MB, free: 38.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.797e-05/0.37, allocations: 106.8 kB / 436.3 MB, free: 38.38 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.95e-05/0.37, allocations: 187.1 kB / 436.5 MB, free: 38.2 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.83e-05/0.37, allocations: 177 kB / 436.7 MB, free: 38.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.884e-05/0.3701, allocations: 186.2 kB / 436.9 MB, free: 37.83 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-05/0.3701, allocations: 180.5 kB / 437 MB, free: 37.65 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.631e-05/0.3702, allocations: 310.7 kB / 437.3 MB, free: 37.33 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.865e-05/0.3703, allocations: 193 kB / 437.5 MB, free: 37.13 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.916e-05/0.3703, allocations: 186.1 kB / 437.7 MB, free: 36.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.169e-05/0.3704, allocations: 101.5 kB / 437.8 MB, free: 36.84 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/0.3704, allocations: 190 kB / 438 MB, free: 36.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/0.3705, allocations: 106.8 kB / 438.1 MB, free: 36.55 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.038e-05/0.3705, allocations: 99.23 kB / 438.2 MB, free: 36.48 MB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3705, allocations: 0 / 438.2 MB, free: 36.48 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00126/0.3718, allocations: 390.8 kB / 438.6 MB, free: 36.47 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001748/0.3735, allocations: 0.7119 MB / 439.3 MB, free: 36.26 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001098/0.3737, allocations: 28 kB / 439.3 MB, free: 36.25 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3737, allocations: 0 / 439.3 MB, free: 36.25 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.713e-06/0.3737, allocations: 0 / 439.3 MB, free: 36.25 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.374, allocations: 0.5263 MB / 439.9 MB, free: 35.73 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003278/0.3744, allocations: 248.9 kB / 440.1 MB, free: 35.51 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001532/0.3745, allocations: 0.6761 MB / 440.8 MB, free: 34.82 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.234e-05/0.3746, allocations: 9.562 kB / 440.8 MB, free: 34.81 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3746, allocations: 1.281 kB / 440.8 MB, free: 34.81 MB / 318.1 MB Notification: Performance of Templates: time 0.02419/0.3988, allocations: 9.198 MB / 450 MB, free: 31.41 MB / 318.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameterCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameterCalcHelperMain.o] Error 1