Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.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.MediaTestModels.PropaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009116/0.0009113, allocations: 92.16 kB / 16.02 MB, free: 80 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.001373/0.001373, allocations: 174.5 kB / 16.92 MB, free: 6.652 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.818/1.818, allocations: 205.4 MB / 223.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04747/0.04747, allocations: 9.072 MB / 280.5 MB, free: 12.14 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.0005327/0.0005328, allocations: 12.22 kB / 340.4 MB, free: 25.64 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1152, allocations: 49.2 MB / 389.6 MB, free: 8.402 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel): time 0.4086/0.5238, allocations: 128.9 MB / 0.5063 GB, free: 6.996 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.5102/1.034, allocations: 111.5 MB / 0.6152 GB, free: 1.75 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009216/1.035, allocations: 7.438 kB / 0.6152 GB, free: 1.75 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003849/1.039, allocations: 1.178 MB / 0.6163 GB, free: 1.742 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004718/1.044, allocations: 1.465 MB / 0.6178 GB, free: 1.727 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.09384/1.138, allocations: 25.13 MB / 0.6423 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003146/1.141, allocations: 1.835 MB / 0.6441 GB, free: 0 / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003426/1.141, allocations: 97.88 kB / 0.6442 GB, free: 15.97 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02226/1.163, allocations: 9.232 MB / 0.6532 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006989/1.164, allocations: 388 kB / 0.6536 GB, free: 12.74 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.19e-05/1.164, allocations: 20.5 kB / 0.6536 GB, free: 12.74 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.07398/1.238, allocations: 31.35 MB / 0.6842 GB, free: 10.71 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003688/1.239, allocations: 104.6 kB / 0.6843 GB, free: 10.65 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007972/1.239, allocations: 309.8 kB / 0.6846 GB, free: 10.48 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02536/1.265, allocations: 8.411 MB / 0.6928 GB, free: 3.801 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.187e-05/1.265, allocations: 4 kB / 0.6928 GB, free: 3.797 MB / 478.1 MB Notification: Performance of FrontEnd: time 4.278e-06/1.265, allocations: 2.406 kB / 0.6928 GB, free: 3.797 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.076e-05/1.265, allocations: 4 kB / 0.6928 GB, free: 3.793 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.008746/1.274, allocations: 2.479 MB / 0.6953 GB, free: 1.359 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/1.274, allocations: 8.031 kB / 0.6953 GB, free: 1.352 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006147/1.274, allocations: 93.11 kB / 0.6953 GB, free: 1.262 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004716/1.275, allocations: 333.6 kB / 0.6957 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.722e-05/1.275, allocations: 31.09 kB / 0.6957 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.755e-05/1.275, allocations: 34.69 kB / 0.6957 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/1.276, allocations: 0.6097 MB / 0.6963 GB, free: 472 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/1.276, allocations: 4 kB / 0.6963 GB, free: 468 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.857e-05/1.276, allocations: 15.31 kB / 0.6963 GB, free: 464 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.422e-05/1.276, allocations: 18.92 kB / 0.6964 GB, free: 452 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/1.278, allocations: 0.5758 MB / 0.6969 GB, free: 36 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002674/1.28, allocations: 2.521 MB / 0.6994 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/1.281, allocations: 0.4971 MB / 0.6999 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005853/1.282, allocations: 353.1 kB / 0.7002 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4947/1.777, allocations: 135.8 MB / 0.8328 GB, free: 262.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/1.777, allocations: 36.78 kB / 0.8329 GB, free: 262.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 3.306e-06/1.777, allocations: 0 / 0.8329 GB, free: 262.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.005738/1.782, allocations: 2.418 MB / 0.8352 GB, free: 261.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/1.783, allocations: 59.06 kB / 0.8353 GB, free: 261.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002407/1.783, allocations: 255.8 kB / 0.8355 GB, free: 261.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/1.783, allocations: 29.7 kB / 0.8356 GB, free: 261.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.509e-05/1.783, allocations: 191.5 kB / 0.8357 GB, free: 261.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/1.783, allocations: 267.6 kB / 0.836 GB, free: 261 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.921e-05/1.783, allocations: 65.45 kB / 0.8361 GB, free: 260.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.024e-05/1.783, allocations: 346.7 kB / 0.8364 GB, free: 260.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004507/1.784, allocations: 281.5 kB / 0.8367 GB, free: 260.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005083/1.784, allocations: 403.8 kB / 0.837 GB, free: 260.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/1.785, allocations: 0.707 MB / 0.8377 GB, free: 259.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/1.785, allocations: 3.781 kB / 0.8377 GB, free: 259.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001315/1.787, allocations: 0.8148 MB / 0.8385 GB, free: 259.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/1.787, allocations: 10.28 kB / 0.8385 GB, free: 259.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/1.787, allocations: 2.281 kB / 0.8386 GB, free: 259.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000251/1.787, allocations: 68.89 kB / 0.8386 GB, free: 259.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005587/1.787, allocations: 131.9 kB / 0.8387 GB, free: 259.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09158/1.879, allocations: 24.83 MB / 0.863 GB, free: 239.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005653/1.88, allocations: 59.88 kB / 0.863 GB, free: 239.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.031e-05/1.88, allocations: 16 kB / 0.8631 GB, free: 239.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (ambient.medium.sat.vap.phase,ambient.medium.sat.liq.phase,ambient.medium.state.phase,fixedMassFlowRate.medium.sat.vap.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.state.phase,volume.medium.sat.vap.phase,volume.medium.sat.liq.phase,volume.medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003243/1.88, allocations: 193.5 kB / 0.8632 GB, free: 239.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.2e-05/1.88, allocations: 39.53 kB / 0.8633 GB, free: 239.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001843/1.882, allocations: 1.698 MB / 0.8649 GB, free: 237.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.969e-05/1.882, allocations: 18.41 kB / 0.865 GB, free: 237.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/1.882, allocations: 0 / 0.865 GB, free: 237.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001276/1.883, allocations: 1.274 MB / 0.8662 GB, free: 236.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002023/1.885, allocations: 1.729 MB / 0.8679 GB, free: 234.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/1.885, allocations: 0 / 0.8679 GB, free: 234.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003117/1.886, allocations: 88.44 kB / 0.868 GB, free: 234.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003003/1.886, allocations: 112.6 kB / 0.8681 GB, free: 234.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.545e-05/1.886, allocations: 19.98 kB / 0.8681 GB, free: 234.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/1.887, allocations: 1.895 MB / 0.8699 GB, free: 232.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/1.887, allocations: 0 / 0.8699 GB, free: 232.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001711/1.889, allocations: 1.341 MB / 0.8713 GB, free: 230.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/1.889, allocations: 136.4 kB / 0.8714 GB, free: 230.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.536e-05/1.889, allocations: 11.94 kB / 0.8714 GB, free: 230.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003352/1.889, allocations: 59.52 kB / 0.8715 GB, free: 230.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/1.889, allocations: 35.94 kB / 0.8715 GB, free: 230.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-05/1.889, allocations: 19.98 kB / 0.8715 GB, free: 230.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001841/1.89, allocations: 219.1 kB / 0.8717 GB, free: 230.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/1.89, allocations: 0 / 0.8717 GB, free: 230.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.009639/1.899, allocations: 3.184 MB / 0.8748 GB, free: 227.5 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 10 ($cse7.phase,$cse8.phase,$cse9.phase,volume.medium.state.phase,volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,fixedMassFlowRate.medium.state.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.sat.vap.phase,ambient.medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01599/1.915, allocations: 4.131 MB / 0.8789 GB, free: 223.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002059/1.917, allocations: 1.01 MB / 0.8798 GB, free: 222.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/1.917, allocations: 4 kB / 0.8799 GB, free: 222.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006978/1.918, allocations: 0.5109 MB / 0.8804 GB, free: 222.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002026/1.92, allocations: 386.6 kB / 0.8807 GB, free: 221.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/1.922, allocations: 1.496 MB / 0.8822 GB, free: 220.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/1.922, allocations: 0.8487 MB / 0.883 GB, free: 219.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/1.922, allocations: 43.42 kB / 0.8831 GB, free: 219.4 MB / 0.5762 GB Notification: Performance of SimCode: time 5.41e-07/1.922, allocations: 0 / 0.8831 GB, free: 219.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.1113/2.034, allocations: 80.02 MB / 0.9612 GB, free: 139.4 MB / 0.5762 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModelCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModelCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModelCalcHelperMain.o] Error 1