Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.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.ButaneTestModel_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT") translateModel(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007819/0.0007818, 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.0009847/0.0009847, allocations: 172.9 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.838/1.838, allocations: 205.4 MB / 223.1 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04712/0.04712, allocations: 9.066 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.0005734/0.0005734, allocations: 12.78 kB / 340.4 MB, free: 25.64 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1048, allocations: 49.2 MB / 389.6 MB, free: 8.391 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT): time 0.4256/0.5304, allocations: 142.3 MB / 0.5194 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.4924/1.023, allocations: 98.11 MB / 0.6152 GB, free: 1.867 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009832/1.024, allocations: 6.438 kB / 0.6152 GB, free: 1.867 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003893/1.028, allocations: 1.169 MB / 0.6163 GB, free: 1.863 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005144/1.033, allocations: 1.465 MB / 0.6178 GB, free: 1.855 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.09742/1.131, allocations: 25.15 MB / 0.6423 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002936/1.133, allocations: 1.833 MB / 0.6441 GB, free: 236 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000262/1.134, allocations: 96.2 kB / 0.6442 GB, free: 216 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0182/1.152, allocations: 9.403 MB / 0.6534 GB, free: 13.05 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007233/1.153, allocations: 379.3 kB / 0.6538 GB, free: 12.97 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.337e-05/1.153, allocations: 18.97 kB / 0.6538 GB, free: 12.97 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.07255/1.225, allocations: 32.31 MB / 0.6853 GB, free: 10.35 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003221/1.226, allocations: 102.4 kB / 0.6854 GB, free: 10.3 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007276/1.226, allocations: 305.7 kB / 0.6857 GB, free: 10.12 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02438/1.251, allocations: 8.727 MB / 0.6942 GB, free: 3.199 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/1.251, allocations: 0 / 0.6942 GB, free: 3.199 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.526e-06/1.251, allocations: 0 / 0.6942 GB, free: 3.199 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.368e-06/1.251, allocations: 4 kB / 0.6942 GB, free: 3.195 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.009714/1.261, allocations: 2.579 MB / 0.6968 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/1.261, allocations: 8.031 kB / 0.6968 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000557/1.261, allocations: 83.5 kB / 0.6969 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004764/1.262, allocations: 336.6 kB / 0.6972 GB, free: 272 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.093e-05/1.262, allocations: 37.97 kB / 0.6972 GB, free: 248 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.986e-05/1.262, allocations: 33.25 kB / 0.6972 GB, free: 228 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/1.263, allocations: 0.5842 MB / 0.6978 GB, free: 15.8 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.537e-05/1.263, allocations: 7.938 kB / 0.6978 GB, free: 15.8 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.176e-05/1.263, allocations: 16 kB / 0.6978 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.445e-05/1.263, allocations: 17.45 kB / 0.6979 GB, free: 15.78 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/1.264, allocations: 0.5462 MB / 0.6984 GB, free: 15.4 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002702/1.267, allocations: 2.49 MB / 0.7008 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/1.268, allocations: 0.5027 MB / 0.7013 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005505/1.269, allocations: 338 kB / 0.7016 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4029/1.672, allocations: 111.4 MB / 0.8105 GB, free: 282.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.95e-05/1.672, allocations: 37.89 kB / 0.8105 GB, free: 282.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 3.226e-06/1.672, allocations: 0 / 0.8105 GB, free: 282.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83): time 0.0068/1.679, allocations: 2.512 MB / 0.813 GB, free: 281.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/1.679, allocations: 55.53 kB / 0.813 GB, free: 281.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003017/1.679, allocations: 256 kB / 0.8133 GB, free: 281.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/1.679, allocations: 31.92 kB / 0.8133 GB, free: 281.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/1.679, allocations: 197.9 kB / 0.8135 GB, free: 281.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001736/1.679, allocations: 269.2 kB / 0.8137 GB, free: 281.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.759e-05/1.679, allocations: 61.56 kB / 0.8138 GB, free: 281.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001096/1.68, allocations: 351.5 kB / 0.8141 GB, free: 280.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005577/1.68, allocations: 293.1 kB / 0.8144 GB, free: 280.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000666/1.681, allocations: 412.4 kB / 0.8148 GB, free: 280.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/1.682, allocations: 0.7339 MB / 0.8155 GB, free: 280.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/1.682, allocations: 1.656 kB / 0.8155 GB, free: 280.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001594/1.684, allocations: 0.8452 MB / 0.8163 GB, free: 279.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.925e-05/1.684, allocations: 13.34 kB / 0.8164 GB, free: 279.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/1.684, allocations: 2.844 kB / 0.8164 GB, free: 279.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003144/1.684, allocations: 81.75 kB / 0.8164 GB, free: 279.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005826/1.685, allocations: 126.2 kB / 0.8166 GB, free: 279.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04465/1.729, allocations: 13.21 MB / 0.8295 GB, free: 272.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006218/1.73, allocations: 51.23 kB / 0.8295 GB, free: 272.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.518e-05/1.73, allocations: 19.81 kB / 0.8295 GB, free: 272.4 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {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 {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003632/1.73, allocations: 196.7 kB / 0.8297 GB, free: 272.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.293e-05/1.73, allocations: 44.89 kB / 0.8298 GB, free: 272.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002041/1.733, allocations: 1.753 MB / 0.8315 GB, free: 271.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.788e-05/1.733, allocations: 13.38 kB / 0.8315 GB, free: 271.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/1.733, allocations: 2.562 kB / 0.8315 GB, free: 271.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001421/1.734, allocations: 1.29 MB / 0.8327 GB, free: 270.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002192/1.736, allocations: 1.779 MB / 0.8345 GB, free: 269 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/1.736, allocations: 0 / 0.8345 GB, free: 269 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003149/1.737, allocations: 90.09 kB / 0.8346 GB, free: 269 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000332/1.737, allocations: 119.4 kB / 0.8347 GB, free: 268.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.18e-05/1.737, allocations: 18.14 kB / 0.8347 GB, free: 268.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001119/1.738, allocations: 1.981 MB / 0.8366 GB, free: 266.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/1.738, allocations: 3.969 kB / 0.8366 GB, free: 266.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001915/1.74, allocations: 1.464 MB / 0.8381 GB, free: 266.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001537/1.74, allocations: 139.3 kB / 0.8382 GB, free: 266 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.172e-05/1.74, allocations: 17.62 kB / 0.8382 GB, free: 265.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003482/1.741, allocations: 42.16 kB / 0.8383 GB, free: 265.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/1.741, allocations: 51.17 kB / 0.8383 GB, free: 265.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.269e-05/1.741, allocations: 12.28 kB / 0.8383 GB, free: 265.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002316/1.741, allocations: 219.2 kB / 0.8385 GB, free: 265.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.2e-07/1.741, allocations: 3.812 kB / 0.8385 GB, free: 265.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.009167/1.75, allocations: 2.991 MB / 0.8414 GB, free: 264.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 10 ($cse11.phase,$cse12.phase,$cse14.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 (41): * Single equations (assignments): 35 * 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 {(2,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.01562/1.766, allocations: 3.838 MB / 0.8452 GB, free: 261.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002008/1.768, allocations: 1.077 MB / 0.8462 GB, free: 260.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/1.768, allocations: 0 / 0.8462 GB, free: 260.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007363/1.769, allocations: 0.5631 MB / 0.8468 GB, free: 260.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002066/1.771, allocations: 375.8 kB / 0.8472 GB, free: 259.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/1.772, allocations: 1.548 MB / 0.8487 GB, free: 258.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/1.773, allocations: 0.853 MB / 0.8495 GB, free: 257.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/1.773, allocations: 39.44 kB / 0.8495 GB, free: 257.4 MB / 0.5762 GB Notification: Performance of SimCode: time 4.81e-07/1.773, allocations: 4 kB / 0.8495 GB, free: 257.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.09867/1.872, allocations: 74.52 MB / 0.9223 GB, free: 182.9 MB / 0.5762 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.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.ButaneTestModel_pTCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pTCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pTCalcHelperMain.o] Error 1