Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.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.HeliumTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009708/0.0009706, allocations: 96.14 kB / 15.87 MB, free: 16 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.0012/0.0012, allocations: 193.3 kB / 16.79 MB, free: 6.812 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.562/1.562, allocations: 205.1 MB / 222.6 MB, free: 5.004 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04538/0.04538, allocations: 9.084 MB / 279.1 MB, free: 12.66 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.001404/0.001404, allocations: 67.84 kB / 338 MB, free: 25.95 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09686/0.09828, allocations: 48.17 MB / 386.2 MB, free: 9.738 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel): time 0.3677/0.466, allocations: 129.9 MB / 0.5039 GB, free: 4.719 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.453/0.919, allocations: 111.8 MB / 0.6131 GB, free: 1.164 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007569/0.9198, allocations: 6.938 kB / 0.6131 GB, free: 1.164 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003373/0.9233, allocations: 1.115 MB / 0.6142 GB, free: 1.16 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005372/0.9287, allocations: 1.404 MB / 0.6156 GB, free: 1.145 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.082/1.011, allocations: 24.49 MB / 0.6395 GB, free: 292 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002384/1.013, allocations: 1.757 MB / 0.6412 GB, free: 0 / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002813/1.013, allocations: 97.59 kB / 0.6413 GB, free: 15.98 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01607/1.029, allocations: 8.183 MB / 0.6493 GB, free: 13.25 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005153/1.03, allocations: 366.8 kB / 0.6497 GB, free: 13.15 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.145e-05/1.03, allocations: 25.03 kB / 0.6497 GB, free: 13.14 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.06329/1.093, allocations: 30 MB / 0.679 GB, free: 9.289 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002951/1.094, allocations: 99.45 kB / 0.6791 GB, free: 9.223 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007743/1.095, allocations: 284.3 kB / 0.6793 GB, free: 9.008 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02174/1.116, allocations: 8.483 MB / 0.6876 GB, free: 2.445 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/1.116, allocations: 0 / 0.6876 GB, free: 2.445 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.073e-06/1.116, allocations: 4 kB / 0.6876 GB, free: 2.441 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/1.116, allocations: 0 / 0.6876 GB, free: 2.441 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.00797/1.124, allocations: 2.568 MB / 0.6901 GB, free: 15.95 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.713e-05/1.124, allocations: 12.03 kB / 0.6902 GB, free: 15.94 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006062/1.125, allocations: 89.64 kB / 0.6902 GB, free: 15.85 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004676/1.126, allocations: 338.2 kB / 0.6906 GB, free: 15.53 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.635e-05/1.126, allocations: 31.09 kB / 0.6906 GB, free: 15.52 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.838e-05/1.126, allocations: 31.06 kB / 0.6906 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/1.127, allocations: 0.5987 MB / 0.6912 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/1.127, allocations: 3.938 kB / 0.6912 GB, free: 15.06 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.297e-05/1.127, allocations: 14.38 kB / 0.6912 GB, free: 15.06 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.251e-05/1.127, allocations: 17.8 kB / 0.6912 GB, free: 15.05 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/1.128, allocations: 0.5448 MB / 0.6918 GB, free: 14.67 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002626/1.131, allocations: 2.5 MB / 0.6942 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/1.132, allocations: 0.4989 MB / 0.6947 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000519/1.133, allocations: 331.3 kB / 0.695 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4871/1.62, allocations: 139 MB / 0.8308 GB, free: 289.2 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/1.62, allocations: 35.91 kB / 0.8308 GB, free: 289.1 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=78): time 2.645e-06/1.62, allocations: 0 / 0.8308 GB, free: 289.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.00553/1.625, allocations: 2.334 MB / 0.8331 GB, free: 288.4 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/1.625, allocations: 57.94 kB / 0.8331 GB, free: 288.4 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002535/1.626, allocations: 255.4 kB / 0.8334 GB, free: 288.2 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/1.626, allocations: 36.2 kB / 0.8334 GB, free: 288.2 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.41e-05/1.626, allocations: 184.6 kB / 0.8336 GB, free: 288 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/1.626, allocations: 271.9 kB / 0.8338 GB, free: 287.8 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/1.626, allocations: 101.2 kB / 0.8339 GB, free: 287.7 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.574e-05/1.626, allocations: 352.4 kB / 0.8343 GB, free: 287.4 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004955/1.627, allocations: 272.4 kB / 0.8345 GB, free: 287.2 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005422/1.627, allocations: 409.5 kB / 0.8349 GB, free: 286.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009338/1.628, allocations: 0.707 MB / 0.8356 GB, free: 286.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/1.628, allocations: 3.844 kB / 0.8356 GB, free: 286.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001207/1.629, allocations: 0.8061 MB / 0.8364 GB, free: 286.1 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/1.629, allocations: 7.469 kB / 0.8364 GB, free: 286.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/1.629, allocations: 3.938 kB / 0.8364 GB, free: 286.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002191/1.63, allocations: 65.39 kB / 0.8365 GB, free: 286 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005609/1.63, allocations: 121.2 kB / 0.8366 GB, free: 286 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08854/1.719, allocations: 25.32 MB / 0.8613 GB, free: 265.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005676/1.719, allocations: 52.75 kB / 0.8614 GB, free: 265.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.364e-05/1.719, allocations: 19.98 kB / 0.8614 GB, free: 265.8 MB / 0.5919 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.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.0003271/1.72, allocations: 188.8 kB / 0.8616 GB, free: 265.6 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.485e-05/1.72, allocations: 39.53 kB / 0.8616 GB, free: 265.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001565/1.721, allocations: 1.578 MB / 0.8631 GB, free: 263.9 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.775e-05/1.721, allocations: 15.81 kB / 0.8632 GB, free: 263.9 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/1.721, allocations: 0 / 0.8632 GB, free: 263.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00113/1.722, allocations: 1.184 MB / 0.8643 GB, free: 262.6 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00179/1.724, allocations: 1.636 MB / 0.8659 GB, free: 260.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.778e-06/1.724, allocations: 4 kB / 0.8659 GB, free: 260.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002893/1.725, allocations: 83.81 kB / 0.866 GB, free: 260.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002565/1.725, allocations: 105.6 kB / 0.8661 GB, free: 260.7 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.36e-05/1.725, allocations: 12.03 kB / 0.8661 GB, free: 260.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000896/1.726, allocations: 1.897 MB / 0.868 GB, free: 258.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/1.726, allocations: 7.875 kB / 0.868 GB, free: 258.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001529/1.727, allocations: 1.247 MB / 0.8692 GB, free: 257.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/1.727, allocations: 120.6 kB / 0.8693 GB, free: 257.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.866e-05/1.728, allocations: 15.84 kB / 0.8693 GB, free: 257.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003265/1.728, allocations: 31.97 kB / 0.8693 GB, free: 257.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/1.728, allocations: 48 kB / 0.8694 GB, free: 257.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.393e-05/1.728, allocations: 15.98 kB / 0.8694 GB, free: 257.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001967/1.728, allocations: 243 kB / 0.8696 GB, free: 256.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.4e-07/1.728, allocations: 0 / 0.8696 GB, free: 256.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009453/1.738, allocations: 3.182 MB / 0.8727 GB, free: 254.1 MB / 0.5919 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 (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.01632/1.754, allocations: 4.189 MB / 0.8768 GB, free: 250.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001903/1.756, allocations: 0.9778 MB / 0.8778 GB, free: 249.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.756, allocations: 0 / 0.8778 GB, free: 249.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007278/1.757, allocations: 0.4916 MB / 0.8783 GB, free: 248.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001852/1.759, allocations: 391.9 kB / 0.8786 GB, free: 248.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/1.76, allocations: 1.394 MB / 0.88 GB, free: 247.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/1.76, allocations: 0.8486 MB / 0.8808 GB, free: 246.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.897e-05/1.761, allocations: 39.44 kB / 0.8809 GB, free: 246.2 MB / 0.5919 GB Notification: Performance of SimCode: time 3.81e-07/1.761, allocations: 4 kB / 0.8809 GB, free: 246.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.09819/1.859, allocations: 79.85 MB / 0.9589 GB, free: 166.3 MB / 0.5919 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.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.HeliumTestModelCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModelCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModelCalcHelperMain.o] Error 1