Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.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_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph") translateModel(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008049/0.0008049, 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.001003/0.001003, allocations: 172.3 kB / 16.58 MB, free: 6.395 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.542/1.542, allocations: 205.4 MB / 222.7 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04346/0.04346, allocations: 9.063 MB / 280.1 MB, free: 12.27 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.000497/0.000497, allocations: 16 kB / 339.8 MB, free: 26 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1023, allocations: 49.2 MB / 389 MB, free: 8.762 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph): time 0.3455/0.4479, allocations: 132.4 MB / 0.5092 GB, free: 3.754 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.3808/0.8287, allocations: 91.39 MB / 0.5984 GB, free: 10.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006326/0.8294, allocations: 5 kB / 0.5984 GB, free: 10.3 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002942/0.8324, allocations: 1.074 MB / 0.5995 GB, free: 10.3 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003615/0.836, allocations: 1.324 MB / 0.6008 GB, free: 10.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.06851/0.9045, allocations: 22.63 MB / 0.6229 GB, free: 9.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002156/0.9067, allocations: 1.575 MB / 0.6244 GB, free: 9.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002136/0.9069, allocations: 94.53 kB / 0.6245 GB, free: 9.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01705/0.924, allocations: 9.781 MB / 0.634 GB, free: 8.738 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004751/0.9245, allocations: 367.2 kB / 0.6344 GB, free: 8.613 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.136e-05/0.9246, allocations: 16.75 kB / 0.6344 GB, free: 8.613 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05897/0.9835, allocations: 27.94 MB / 0.6617 GB, free: 11.17 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003143/0.9839, allocations: 94.12 kB / 0.6618 GB, free: 11.11 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004567/0.9844, allocations: 150 kB / 0.6619 GB, free: 10.99 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02143/1.006, allocations: 8.611 MB / 0.6703 GB, free: 4.113 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/1.006, allocations: 7.25 kB / 0.6703 GB, free: 4.109 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.425e-06/1.006, allocations: 0 / 0.6703 GB, free: 4.109 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/1.006, allocations: 0 / 0.6703 GB, free: 4.109 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.007585/1.013, allocations: 2.492 MB / 0.6728 GB, free: 1.668 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/1.014, allocations: 8.031 kB / 0.6728 GB, free: 1.66 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005821/1.014, allocations: 87.3 kB / 0.6729 GB, free: 1.574 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004308/1.015, allocations: 324.8 kB / 0.6732 GB, free: 1.266 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.077e-05/1.015, allocations: 30.09 kB / 0.6732 GB, free: 1.25 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.422e-05/1.015, allocations: 35.75 kB / 0.6732 GB, free: 1.227 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/1.016, allocations: 0.612 MB / 0.6738 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/1.016, allocations: 4 kB / 0.6738 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.968e-05/1.016, allocations: 15.19 kB / 0.6739 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.96e-05/1.016, allocations: 15.11 kB / 0.6739 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/1.017, allocations: 0.5732 MB / 0.6744 GB, free: 372 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002469/1.02, allocations: 2.512 MB / 0.6769 GB, free: 14.04 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/1.021, allocations: 0.5078 MB / 0.6774 GB, free: 13.71 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005112/1.021, allocations: 355.8 kB / 0.6777 GB, free: 13.51 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4374/1.459, allocations: 135.8 MB / 0.8104 GB, free: 276.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.331e-05/1.459, allocations: 36.75 kB / 0.8104 GB, free: 276.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 3.376e-06/1.459, allocations: 0 / 0.8104 GB, free: 276.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.006032/1.465, allocations: 2.398 MB / 0.8127 GB, free: 276.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/1.465, allocations: 55.5 kB / 0.8128 GB, free: 276.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002925/1.465, allocations: 259.7 kB / 0.813 GB, free: 275.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/1.465, allocations: 33.58 kB / 0.8131 GB, free: 275.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/1.465, allocations: 190.6 kB / 0.8132 GB, free: 275.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/1.466, allocations: 271.2 kB / 0.8135 GB, free: 275.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.903e-05/1.466, allocations: 7.312 kB / 0.8135 GB, free: 275.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001012/1.466, allocations: 350.2 kB / 0.8138 GB, free: 275.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005058/1.466, allocations: 286.7 kB / 0.8141 GB, free: 275.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005643/1.467, allocations: 417.9 kB / 0.8145 GB, free: 275 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005102/1.467, allocations: 337.8 kB / 0.8148 GB, free: 274.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/1.467, allocations: 0 / 0.8148 GB, free: 274.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001276/1.469, allocations: 0.8166 MB / 0.8156 GB, free: 274.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/1.469, allocations: 6.938 kB / 0.8156 GB, free: 274.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/1.469, allocations: 2.906 kB / 0.8156 GB, free: 274.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002392/1.469, allocations: 68.08 kB / 0.8157 GB, free: 274.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005728/1.469, allocations: 136.5 kB / 0.8158 GB, free: 274.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08058/1.55, allocations: 24.5 MB / 0.8398 GB, free: 257.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005682/1.551, allocations: 63.86 kB / 0.8398 GB, free: 257.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.172e-05/1.551, allocations: 18.06 kB / 0.8398 GB, free: 257.7 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 9 (ambient.medium.state.phase,ambient.medium.sat.liq.phase,ambient.medium.sat.vap.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) * 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.0002976/1.551, allocations: 190.3 kB / 0.84 GB, free: 257.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.534e-05/1.551, allocations: 39.53 kB / 0.8401 GB, free: 257.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001637/1.553, allocations: 1.617 MB / 0.8416 GB, free: 255.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.801e-05/1.553, allocations: 12.12 kB / 0.8417 GB, free: 255.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/1.553, allocations: 0 / 0.8417 GB, free: 255.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001151/1.554, allocations: 1.208 MB / 0.8428 GB, free: 254.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001863/1.556, allocations: 1.657 MB / 0.8445 GB, free: 252.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/1.556, allocations: 0 / 0.8445 GB, free: 252.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003016/1.556, allocations: 91.91 kB / 0.8445 GB, free: 252.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002792/1.556, allocations: 102.5 kB / 0.8446 GB, free: 252.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.576e-05/1.556, allocations: 15.94 kB / 0.8447 GB, free: 252.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001026/1.557, allocations: 1.908 MB / 0.8465 GB, free: 250.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/1.557, allocations: 0 / 0.8465 GB, free: 250.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001527/1.559, allocations: 1.284 MB / 0.8478 GB, free: 249.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/1.559, allocations: 144.6 kB / 0.8479 GB, free: 249 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.115e-05/1.559, allocations: 14.12 kB / 0.8479 GB, free: 249 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003079/1.56, allocations: 43.81 kB / 0.848 GB, free: 248.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.373e-05/1.56, allocations: 43.92 kB / 0.848 GB, free: 248.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.54e-05/1.56, allocations: 19.98 kB / 0.848 GB, free: 248.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002148/1.56, allocations: 235.1 kB / 0.8482 GB, free: 248.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/1.56, allocations: 3.938 kB / 0.8483 GB, free: 248.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.008545/1.568, allocations: 3.19 MB / 0.8514 GB, free: 245.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.h) * Number of discrete variables: 9 ($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 (38): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.01633/1.585, allocations: 4.144 MB / 0.8554 GB, free: 242.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002048/1.587, allocations: 1.005 MB / 0.8564 GB, free: 241.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/1.587, allocations: 0 / 0.8564 GB, free: 241.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007269/1.588, allocations: 0.4953 MB / 0.8569 GB, free: 240.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001741/1.589, allocations: 331.1 kB / 0.8572 GB, free: 240.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001938/1.591, allocations: 1.429 MB / 0.8586 GB, free: 238.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/1.592, allocations: 0.8564 MB / 0.8594 GB, free: 238 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/1.592, allocations: 39.44 kB / 0.8595 GB, free: 238 MB / 0.5762 GB Notification: Performance of SimCode: time 5.71e-07/1.592, allocations: 3.609 kB / 0.8595 GB, free: 238 MB / 0.5762 GB Notification: Performance of Templates: time 0.1005/1.692, allocations: 79.53 MB / 0.9371 GB, free: 158.4 MB / 0.5762 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.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.ButaneTestModel_phCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_phCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_phCalcHelperMain.o] Error 1