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.0008322/0.0008321, allocations: 102.6 kB / 15.71 MB, free: 460 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.001119/0.001119, allocations: 176.2 kB / 16.58 MB, free: 6.402 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.561/1.561, allocations: 205.4 MB / 222.7 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.0422/0.0422, allocations: 9.077 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.0004758/0.0004759, allocations: 16 kB / 339.8 MB, free: 26 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09924/0.09973, allocations: 49.2 MB / 389 MB, free: 8.758 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel): time 0.3625/0.4622, allocations: 120 MB / 0.497 GB, free: 216 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3826/0.8449, allocations: 103.8 MB / 0.5984 GB, free: 10.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007552/0.8457, allocations: 7 kB / 0.5984 GB, free: 10.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00329/0.849, allocations: 1.078 MB / 0.5995 GB, free: 10.28 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00379/0.8528, allocations: 1.322 MB / 0.6008 GB, free: 10.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.07416/0.927, allocations: 22.62 MB / 0.6228 GB, free: 9.898 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002375/0.9294, allocations: 1.576 MB / 0.6244 GB, free: 9.898 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002589/0.9296, allocations: 95.81 kB / 0.6245 GB, free: 9.879 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01761/0.9472, allocations: 9.816 MB / 0.6341 GB, free: 8.512 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005084/0.9478, allocations: 368.3 kB / 0.6344 GB, free: 8.383 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.289e-05/0.9478, allocations: 17.69 kB / 0.6344 GB, free: 8.383 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05625/1.004, allocations: 27.85 MB / 0.6616 GB, free: 10.89 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002758/1.004, allocations: 98.14 kB / 0.6617 GB, free: 10.83 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003977/1.005, allocations: 143.5 kB / 0.6619 GB, free: 10.71 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02074/1.026, allocations: 8.59 MB / 0.6702 GB, free: 3.859 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/1.026, allocations: 0 / 0.6702 GB, free: 3.859 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.795e-06/1.026, allocations: 0 / 0.6702 GB, free: 3.859 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.058e-05/1.026, allocations: 4 kB / 0.6703 GB, free: 3.855 MB / 462.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.00705/1.033, allocations: 2.488 MB / 0.6727 GB, free: 1.414 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/1.033, allocations: 8.906 kB / 0.6727 GB, free: 1.406 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005526/1.033, allocations: 92.67 kB / 0.6728 GB, free: 1.316 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004249/1.034, allocations: 325.8 kB / 0.6731 GB, free: 1.008 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.917e-05/1.034, allocations: 31.05 kB / 0.6731 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.102e-05/1.034, allocations: 34.22 kB / 0.6732 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/1.035, allocations: 0.6152 MB / 0.6738 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/1.035, allocations: 0 / 0.6738 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.972e-05/1.035, allocations: 14.36 kB / 0.6738 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.3e-05/1.035, allocations: 22.67 kB / 0.6738 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/1.036, allocations: 0.5758 MB / 0.6744 GB, free: 96 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002435/1.039, allocations: 2.511 MB / 0.6768 GB, free: 13.77 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000956/1.04, allocations: 0.4947 MB / 0.6773 GB, free: 13.46 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004849/1.04, allocations: 355.2 kB / 0.6776 GB, free: 13.25 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4405/1.481, allocations: 135.8 MB / 0.8103 GB, free: 277.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.079e-05/1.481, allocations: 42.7 kB / 0.8103 GB, free: 277.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 4.568e-06/1.481, allocations: 0 / 0.8103 GB, free: 277.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.006252/1.487, allocations: 2.392 MB / 0.8126 GB, free: 276.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/1.487, allocations: 61.75 kB / 0.8127 GB, free: 276.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003079/1.488, allocations: 253.8 kB / 0.8129 GB, free: 276.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/1.488, allocations: 30.86 kB / 0.813 GB, free: 276.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/1.488, allocations: 188.1 kB / 0.8131 GB, free: 276.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000179/1.488, allocations: 270.4 kB / 0.8134 GB, free: 276.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.039e-05/1.488, allocations: 8.438 kB / 0.8134 GB, free: 276.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.607e-05/1.488, allocations: 352.3 kB / 0.8137 GB, free: 275.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005037/1.489, allocations: 287.7 kB / 0.814 GB, free: 275.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005475/1.489, allocations: 396.1 kB / 0.8144 GB, free: 275.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005652/1.49, allocations: 341.6 kB / 0.8147 GB, free: 275.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/1.49, allocations: 1.938 kB / 0.8147 GB, free: 275.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001392/1.491, allocations: 0.8045 MB / 0.8155 GB, free: 275.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/1.491, allocations: 5.5 kB / 0.8155 GB, free: 275.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/1.491, allocations: 6.219 kB / 0.8155 GB, free: 275.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002595/1.491, allocations: 66.42 kB / 0.8156 GB, free: 275.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005768/1.492, allocations: 138.6 kB / 0.8157 GB, free: 275 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08053/1.573, allocations: 24.83 MB / 0.84 GB, free: 257.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00055/1.573, allocations: 58.23 kB / 0.84 GB, free: 257.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.961e-05/1.573, allocations: 16.08 kB / 0.84 GB, free: 257.5 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 (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,ambient.medium.sat.liq.phase,ambient.medium.sat.vap.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 (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003256/1.574, allocations: 185.7 kB / 0.8402 GB, free: 257.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/1.574, allocations: 47.52 kB / 0.8403 GB, free: 257.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001784/1.575, allocations: 1.7 MB / 0.8419 GB, free: 255.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.231e-05/1.575, allocations: 17.28 kB / 0.8419 GB, free: 255.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/1.575, allocations: 3.984 kB / 0.8419 GB, free: 255.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001194/1.577, allocations: 1.277 MB / 0.8432 GB, free: 254.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001924/1.579, allocations: 1.73 MB / 0.8449 GB, free: 252.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/1.579, allocations: 4 kB / 0.8449 GB, free: 252.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002935/1.579, allocations: 87.88 kB / 0.845 GB, free: 252.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002796/1.579, allocations: 117.5 kB / 0.8451 GB, free: 252.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.825e-05/1.579, allocations: 8 kB / 0.8451 GB, free: 252.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001032/1.58, allocations: 1.894 MB / 0.8469 GB, free: 250 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.58, allocations: 0 / 0.8469 GB, free: 250 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001664/1.582, allocations: 1.342 MB / 0.8482 GB, free: 248.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001721/1.582, allocations: 136.4 kB / 0.8484 GB, free: 248.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.444e-05/1.582, allocations: 12 kB / 0.8484 GB, free: 248.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003315/1.583, allocations: 40.03 kB / 0.8484 GB, free: 248.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/1.583, allocations: 51.7 kB / 0.8485 GB, free: 248.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.54e-05/1.583, allocations: 11.98 kB / 0.8485 GB, free: 248.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002013/1.583, allocations: 219.1 kB / 0.8487 GB, free: 248.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4e-07/1.583, allocations: 0 / 0.8487 GB, free: 248.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.008954/1.592, allocations: 3.184 MB / 0.8518 GB, free: 245.4 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01491/1.607, allocations: 4.119 MB / 0.8558 GB, free: 241.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001767/1.609, allocations: 1.019 MB / 0.8568 GB, free: 240.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.609, allocations: 3.938 kB / 0.8568 GB, free: 240.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006246/1.609, allocations: 0.5109 MB / 0.8573 GB, free: 240.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/1.611, allocations: 332.7 kB / 0.8576 GB, free: 239.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/1.612, allocations: 1.461 MB / 0.8591 GB, free: 238.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/1.613, allocations: 0.8525 MB / 0.8599 GB, free: 237.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.769e-05/1.613, allocations: 43.44 kB / 0.8599 GB, free: 237.5 MB / 0.5762 GB Notification: Performance of SimCode: time 4.21e-07/1.613, allocations: 0 / 0.8599 GB, free: 237.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.0981/1.711, allocations: 79.53 MB / 0.9376 GB, free: 157.9 MB / 0.5762 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.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.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