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.005401/0.005401, allocations: 101.1 kB / 15.88 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 196.2 kB / 16.79 MB, free: 6.254 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.511/1.511, allocations: 205.1 MB / 222.6 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04329/0.04329, allocations: 9.079 MB / 279.1 MB, free: 12.4 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.00119/0.00119, allocations: 63.91 kB / 338 MB, free: 25.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1092, allocations: 48.17 MB / 386.2 MB, free: 9.676 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel): time 0.3622/0.4715, allocations: 130.6 MB / 0.5046 GB, free: 3.938 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.4169/0.8884, allocations: 112.8 MB / 0.6148 GB, free: 1.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007178/0.8892, allocations: 8.031 kB / 0.6148 GB, free: 1.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003255/0.8925, allocations: 1.174 MB / 0.6159 GB, free: 1.086 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003683/0.8962, allocations: 1.462 MB / 0.6174 GB, free: 1.074 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.08235/0.9786, allocations: 25.07 MB / 0.6418 GB, free: 15.84 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002284/0.9809, allocations: 1.829 MB / 0.6436 GB, free: 15.53 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002229/0.9811, allocations: 97.28 kB / 0.6437 GB, free: 15.5 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01613/0.9973, allocations: 9.227 MB / 0.6527 GB, free: 12.45 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004911/0.9978, allocations: 390.2 kB / 0.6531 GB, free: 12.31 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.153e-05/0.9979, allocations: 21.59 kB / 0.6531 GB, free: 12.31 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.06318/1.061, allocations: 31.35 MB / 0.6837 GB, free: 6.664 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003553/1.061, allocations: 105.7 kB / 0.6838 GB, free: 6.594 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008446/1.062, allocations: 288.4 kB / 0.6841 GB, free: 6.371 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02493/1.087, allocations: 8.46 MB / 0.6924 GB, free: 15.81 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.419e-05/1.087, allocations: 0 / 0.6924 GB, free: 15.81 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.268e-06/1.087, allocations: 0 / 0.6924 GB, free: 15.81 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.271e-05/1.087, allocations: 4 kB / 0.6924 GB, free: 15.8 MB / 494.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.00996/1.097, allocations: 2.573 MB / 0.6949 GB, free: 13.19 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/1.097, allocations: 8.031 kB / 0.6949 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006065/1.098, allocations: 90.72 kB / 0.695 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005014/1.099, allocations: 332.4 kB / 0.6953 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.649e-05/1.099, allocations: 28.66 kB / 0.6953 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.75e-05/1.099, allocations: 42.69 kB / 0.6954 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/1.1, allocations: 0.5963 MB / 0.696 GB, free: 12.06 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/1.1, allocations: 4 kB / 0.696 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.879e-05/1.1, allocations: 12 kB / 0.696 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.33e-05/1.1, allocations: 19.03 kB / 0.696 GB, free: 12.03 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001248/1.101, allocations: 0.5597 MB / 0.6965 GB, free: 11.47 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002881/1.104, allocations: 2.501 MB / 0.699 GB, free: 8.766 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/1.105, allocations: 0.4926 MB / 0.6995 GB, free: 8.266 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005281/1.106, allocations: 334.3 kB / 0.6998 GB, free: 7.934 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4734/1.579, allocations: 139 MB / 0.8355 GB, free: 256.9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/1.579, allocations: 38.75 kB / 0.8355 GB, free: 256.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 2.445e-06/1.579, allocations: 0 / 0.8355 GB, free: 256.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.005517/1.585, allocations: 2.332 MB / 0.8378 GB, free: 255.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/1.585, allocations: 55.34 kB / 0.8379 GB, free: 255.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002428/1.585, allocations: 257.1 kB / 0.8381 GB, free: 255.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/1.585, allocations: 36.36 kB / 0.8382 GB, free: 255.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.431e-05/1.585, allocations: 184.6 kB / 0.8383 GB, free: 255.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/1.585, allocations: 273.5 kB / 0.8386 GB, free: 254.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/1.586, allocations: 93.8 kB / 0.8387 GB, free: 254.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.824e-05/1.586, allocations: 358 kB / 0.839 GB, free: 254.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004239/1.586, allocations: 279.2 kB / 0.8393 GB, free: 254.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000472/1.587, allocations: 374.3 kB / 0.8396 GB, free: 254.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009325/1.588, allocations: 0.685 MB / 0.8403 GB, free: 253.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/1.588, allocations: 3.828 kB / 0.8403 GB, free: 253.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001231/1.589, allocations: 0.7968 MB / 0.8411 GB, free: 253.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/1.589, allocations: 7.906 kB / 0.8411 GB, free: 253.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/1.589, allocations: 0 / 0.8411 GB, free: 253.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002395/1.589, allocations: 69.14 kB / 0.8412 GB, free: 253.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005645/1.59, allocations: 118.7 kB / 0.8413 GB, free: 253.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08955/1.679, allocations: 24.87 MB / 0.8656 GB, free: 230.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005252/1.68, allocations: 59.8 kB / 0.8656 GB, free: 230.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.064e-05/1.68, allocations: 16 kB / 0.8656 GB, free: 230.4 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.0002905/1.68, allocations: 177.8 kB / 0.8658 GB, free: 230.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.351e-05/1.68, allocations: 39.53 kB / 0.8658 GB, free: 230.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001703/1.682, allocations: 1.682 MB / 0.8675 GB, free: 228.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/1.682, allocations: 12.94 kB / 0.8675 GB, free: 228.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/1.682, allocations: 3.984 kB / 0.8675 GB, free: 228.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001222/1.683, allocations: 1.254 MB / 0.8687 GB, free: 227 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001853/1.685, allocations: 1.705 MB / 0.8704 GB, free: 225.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/1.685, allocations: 0 / 0.8704 GB, free: 225.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003095/1.685, allocations: 75.89 kB / 0.8705 GB, free: 225.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002833/1.686, allocations: 112.5 kB / 0.8706 GB, free: 225.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.569e-05/1.686, allocations: 11.98 kB / 0.8706 GB, free: 225.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009424/1.687, allocations: 1.893 MB / 0.8724 GB, free: 223 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/1.687, allocations: 0 / 0.8724 GB, free: 223 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001619/1.688, allocations: 1.298 MB / 0.8737 GB, free: 221.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/1.688, allocations: 124.5 kB / 0.8738 GB, free: 221.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.082e-05/1.689, allocations: 11.94 kB / 0.8738 GB, free: 221.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003283/1.689, allocations: 36.03 kB / 0.8739 GB, free: 221.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.973e-05/1.689, allocations: 39.94 kB / 0.8739 GB, free: 221.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.713e-05/1.689, allocations: 19.98 kB / 0.8739 GB, free: 221.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001877/1.689, allocations: 219.1 kB / 0.8741 GB, free: 221.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/1.689, allocations: 0 / 0.8741 GB, free: 221.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00944/1.699, allocations: 3.186 MB / 0.8772 GB, free: 218.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.01579/1.714, allocations: 4.138 MB / 0.8813 GB, free: 214.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002011/1.717, allocations: 0.9965 MB / 0.8823 GB, free: 213.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/1.717, allocations: 0 / 0.8823 GB, free: 213.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006661/1.717, allocations: 0.4992 MB / 0.8827 GB, free: 213.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001775/1.719, allocations: 393.7 kB / 0.8831 GB, free: 212.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/1.721, allocations: 1.442 MB / 0.8845 GB, free: 211.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/1.721, allocations: 0.8526 MB / 0.8854 GB, free: 210.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/1.721, allocations: 43.44 kB / 0.8854 GB, free: 210.5 MB / 0.5762 GB Notification: Performance of SimCode: time 7.22e-07/1.721, allocations: 0 / 0.8854 GB, free: 210.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.1045/1.826, allocations: 80.03 MB / 0.9636 GB, free: 130.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