Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel.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.CarbondioxideTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000973/0.0009732, allocations: 99.03 kB / 16.02 MB, free: 76 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.001213/0.001213, allocations: 182.7 kB / 16.92 MB, free: 6.918 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.86/1.86, allocations: 205.4 MB / 223.1 MB, free: 5.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04862/0.04862, allocations: 9.074 MB / 280.5 MB, free: 12.39 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.000605/0.0006052, allocations: 16.22 kB / 340.4 MB, free: 25.67 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1126, allocations: 49.2 MB / 389.6 MB, free: 8.426 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel): time 0.4151/0.5278, allocations: 128.9 MB / 0.5063 GB, free: 6.922 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.5221/1.05, allocations: 111.5 MB / 0.6153 GB, free: 1.816 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008696/1.051, allocations: 5.688 kB / 0.6153 GB, free: 1.816 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003621/1.055, allocations: 1.177 MB / 0.6164 GB, free: 1.809 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004286/1.059, allocations: 1.467 MB / 0.6179 GB, free: 1.793 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.08662/1.145, allocations: 25.76 MB / 0.643 GB, free: 244 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003818/1.149, allocations: 1.899 MB / 0.6449 GB, free: 0 / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003444/1.15, allocations: 101.6 kB / 0.645 GB, free: 15.97 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0234/1.173, allocations: 11.45 MB / 0.6561 GB, free: 12.13 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006649/1.174, allocations: 382.4 kB / 0.6565 GB, free: 12.05 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.5e-05/1.174, allocations: 20.12 kB / 0.6565 GB, free: 12.05 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.08206/1.256, allocations: 33.02 MB / 0.6888 GB, free: 6.598 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003951/1.256, allocations: 97.33 kB / 0.6889 GB, free: 6.551 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008345/1.257, allocations: 302.9 kB / 0.6891 GB, free: 6.375 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02681/1.284, allocations: 8.608 MB / 0.6976 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/1.284, allocations: 8 kB / 0.6976 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.117e-06/1.284, allocations: 3.984 kB / 0.6976 GB, free: 15.49 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.79e-05/1.284, allocations: 0 / 0.6976 GB, free: 15.49 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.01034/1.295, allocations: 2.482 MB / 0.7 GB, free: 13.06 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.016e-05/1.295, allocations: 8.031 kB / 0.7 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006592/1.295, allocations: 92.92 kB / 0.7001 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004913/1.296, allocations: 337.3 kB / 0.7004 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.943e-05/1.296, allocations: 29.78 kB / 0.7004 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.151e-05/1.296, allocations: 35.75 kB / 0.7005 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/1.297, allocations: 0.6121 MB / 0.7011 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/1.297, allocations: 0 / 0.7011 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.707e-05/1.297, allocations: 24.02 kB / 0.7011 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.347e-05/1.297, allocations: 18 kB / 0.7011 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001324/1.299, allocations: 0.5735 MB / 0.7017 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003227/1.302, allocations: 2.469 MB / 0.7041 GB, free: 9.469 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/1.303, allocations: 0.506 MB / 0.7046 GB, free: 9.137 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006021/1.304, allocations: 356.3 kB / 0.7049 GB, free: 8.934 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4933/1.797, allocations: 135.8 MB / 0.8375 GB, free: 258.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.664e-05/1.797, allocations: 31.44 kB / 0.8376 GB, free: 258.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=77): time 3.697e-06/1.797, allocations: 0 / 0.8376 GB, free: 258.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=81): time 0.006012/1.803, allocations: 2.409 MB / 0.8399 GB, free: 257.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/1.803, allocations: 58.81 kB / 0.84 GB, free: 257.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002448/1.804, allocations: 256.5 kB / 0.8402 GB, free: 257.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.092e-05/1.804, allocations: 37.52 kB / 0.8403 GB, free: 257.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/1.804, allocations: 186.9 kB / 0.8404 GB, free: 257.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/1.804, allocations: 274.2 kB / 0.8407 GB, free: 257.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.441e-05/1.804, allocations: 57.12 kB / 0.8408 GB, free: 257 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.458e-05/1.804, allocations: 358.2 kB / 0.8411 GB, free: 256.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004735/1.804, allocations: 292.2 kB / 0.8414 GB, free: 256.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005163/1.805, allocations: 398.5 kB / 0.8418 GB, free: 256.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/1.806, allocations: 0.7213 MB / 0.8425 GB, free: 255.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/1.806, allocations: 3.969 kB / 0.8425 GB, free: 255.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001339/1.807, allocations: 0.8279 MB / 0.8433 GB, free: 255.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/1.807, allocations: 7.938 kB / 0.8433 GB, free: 255.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/1.807, allocations: 0 / 0.8433 GB, free: 255.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002509/1.808, allocations: 65.2 kB / 0.8433 GB, free: 255.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006637/1.808, allocations: 147.8 kB / 0.8435 GB, free: 255.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09304/1.901, allocations: 28.38 MB / 0.8712 GB, free: 231.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005552/1.902, allocations: 52.66 kB / 0.8713 GB, free: 231.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.368e-05/1.902, allocations: 23.98 kB / 0.8713 GB, free: 231.5 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 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.0003097/1.902, allocations: 183.3 kB / 0.8714 GB, free: 231.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.712e-05/1.902, allocations: 47.38 kB / 0.8715 GB, free: 231.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001855/1.904, allocations: 1.738 MB / 0.8732 GB, free: 229.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-05/1.904, allocations: 18.25 kB / 0.8732 GB, free: 229.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/1.904, allocations: 11.23 kB / 0.8732 GB, free: 229.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001326/1.906, allocations: 1.316 MB / 0.8745 GB, free: 228 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002022/1.908, allocations: 1.776 MB / 0.8762 GB, free: 226.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/1.908, allocations: 0 / 0.8762 GB, free: 226.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002991/1.908, allocations: 87.81 kB / 0.8763 GB, free: 226.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003758/1.908, allocations: 177 kB / 0.8765 GB, free: 225.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/1.908, allocations: 15.94 kB / 0.8765 GB, free: 225.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001201/1.91, allocations: 2.471 MB / 0.8789 GB, free: 223.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/1.91, allocations: 0 / 0.8789 GB, free: 223.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00179/1.911, allocations: 1.427 MB / 0.8803 GB, free: 221.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/1.912, allocations: 140.4 kB / 0.8804 GB, free: 221.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.702e-05/1.912, allocations: 11.94 kB / 0.8805 GB, free: 221.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003361/1.912, allocations: 47.91 kB / 0.8805 GB, free: 221.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/1.912, allocations: 43.92 kB / 0.8805 GB, free: 221.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.476e-05/1.912, allocations: 12 kB / 0.8806 GB, free: 221.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002146/1.912, allocations: 227.1 kB / 0.8808 GB, free: 221.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.253e-06/1.912, allocations: 0 / 0.8808 GB, free: 221.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.009778/1.922, allocations: 3.184 MB / 0.8839 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 (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01839/1.941, allocations: 4.343 MB / 0.8881 GB, free: 214.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002228/1.943, allocations: 1.049 MB / 0.8891 GB, free: 213.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/1.943, allocations: 0 / 0.8891 GB, free: 213.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000695/1.944, allocations: 0.5073 MB / 0.8896 GB, free: 213 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002063/1.946, allocations: 391.6 kB / 0.89 GB, free: 212.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/1.947, allocations: 1.499 MB / 0.8915 GB, free: 211.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/1.948, allocations: 0.8545 MB / 0.8923 GB, free: 210.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/1.948, allocations: 39.44 kB / 0.8924 GB, free: 210.2 MB / 0.5762 GB Notification: Performance of SimCode: time 6.41e-07/1.948, allocations: 0 / 0.8924 GB, free: 210.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.1083/2.056, allocations: 82.51 MB / 0.9729 GB, free: 127.6 MB / 0.5762 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel.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.CarbondioxideTestModelCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModelCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModelCalcHelperMain.o] Error 1