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.0009617/0.0009617, allocations: 99.67 kB / 15.71 MB, free: 452 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.001177/0.001177, allocations: 175 kB / 16.58 MB, free: 6.422 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.526/1.526, allocations: 205.4 MB / 222.7 MB, free: 5.871 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04151/0.04151, allocations: 9.07 MB / 280.1 MB, free: 12.49 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.0004887/0.0004888, allocations: 16 kB / 339.7 MB, free: 26.03 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09779/0.09829, allocations: 49.2 MB / 388.9 MB, free: 8.789 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel): time 0.334/0.4324, allocations: 120.1 MB / 0.4971 GB, free: 160 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3926/0.825, allocations: 103.9 MB / 0.5985 GB, free: 10.35 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007655/0.8258, allocations: 6.094 kB / 0.5985 GB, free: 10.35 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003178/0.829, allocations: 1.072 MB / 0.5995 GB, free: 10.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003941/0.8329, allocations: 1.323 MB / 0.6008 GB, free: 10.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0711/0.904, allocations: 23.23 MB / 0.6235 GB, free: 9.945 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00242/0.9065, allocations: 1.573 MB / 0.6251 GB, free: 9.945 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000221/0.9067, allocations: 89.94 kB / 0.6252 GB, free: 9.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1182/1.025, allocations: 85.6 MB / 0.7087 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005516/1.026, allocations: 359.1 kB / 0.7091 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.485e-05/1.026, allocations: 24 kB / 0.7091 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06087/1.086, allocations: 29.22 MB / 0.7376 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002587/1.087, allocations: 99.89 kB / 0.7377 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004073/1.087, allocations: 140.8 kB / 0.7379 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.02178/1.109, allocations: 8.794 MB / 0.7465 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/1.109, allocations: 0 / 0.7465 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.915e-06/1.109, allocations: 0 / 0.7465 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.137e-05/1.109, allocations: 0 / 0.7465 GB, free: 8.633 MB / 0.5294 GB 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.008485/1.118, allocations: 2.492 MB / 0.7489 GB, free: 6.188 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/1.118, allocations: 8.031 kB / 0.7489 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000563/1.118, allocations: 91.67 kB / 0.749 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004109/1.119, allocations: 326 kB / 0.7493 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.709e-05/1.119, allocations: 31.61 kB / 0.7493 GB, free: 5.77 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.423e-05/1.119, allocations: 38.41 kB / 0.7494 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/1.12, allocations: 0.6127 MB / 0.75 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/1.12, allocations: 7.938 kB / 0.75 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.678e-05/1.12, allocations: 16.41 kB / 0.75 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/1.12, allocations: 17.98 kB / 0.75 GB, free: 5.273 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/1.121, allocations: 0.5727 MB / 0.7506 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002354/1.124, allocations: 2.466 MB / 0.753 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009501/1.124, allocations: 0.494 MB / 0.7535 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004892/1.125, allocations: 348.8 kB / 0.7538 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4082/1.533, allocations: 135.8 MB / 0.8864 GB, free: 179.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.814e-05/1.533, allocations: 41.28 kB / 0.8865 GB, free: 179.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=77): time 3.336e-06/1.533, allocations: 0 / 0.8865 GB, free: 179.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=81): time 0.00512/1.538, allocations: 2.408 MB / 0.8888 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/1.538, allocations: 55.41 kB / 0.8889 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/1.539, allocations: 258.5 kB / 0.8891 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/1.539, allocations: 31.39 kB / 0.8891 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.163e-05/1.539, allocations: 191.4 kB / 0.8893 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/1.539, allocations: 274.8 kB / 0.8896 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.69e-05/1.539, allocations: 4 kB / 0.8896 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.596e-05/1.539, allocations: 354.8 kB / 0.8899 GB, free: 176 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003967/1.539, allocations: 288.7 kB / 0.8902 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004483/1.54, allocations: 400.8 kB / 0.8906 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004688/1.54, allocations: 343.5 kB / 0.8909 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/1.54, allocations: 0 / 0.8909 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001152/1.542, allocations: 0.8152 MB / 0.8917 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/1.542, allocations: 4 kB / 0.8917 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/1.542, allocations: 10.33 kB / 0.8917 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002277/1.542, allocations: 64.8 kB / 0.8918 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006155/1.542, allocations: 150.4 kB / 0.8919 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08008/1.623, allocations: 28.39 MB / 0.9197 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004685/1.623, allocations: 62.81 kB / 0.9197 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.817e-05/1.623, allocations: 20 kB / 0.9197 GB, free: 144.8 MB / 0.5606 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 (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,ambient.medium.sat.liq.phase,ambient.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): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,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.0002441/1.623, allocations: 193.7 kB / 0.9199 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.176e-05/1.623, allocations: 43.48 kB / 0.92 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001638/1.625, allocations: 1.73 MB / 0.9217 GB, free: 142.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.726e-05/1.625, allocations: 18.09 kB / 0.9217 GB, free: 142.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/1.625, allocations: 1 kB / 0.9217 GB, free: 142.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001153/1.626, allocations: 1.316 MB / 0.923 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00178/1.628, allocations: 1.78 MB / 0.9247 GB, free: 139.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/1.628, allocations: 0 / 0.9247 GB, free: 139.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002928/1.628, allocations: 79.89 kB / 0.9248 GB, free: 139.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003237/1.629, allocations: 175.1 kB / 0.9249 GB, free: 139.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/1.629, allocations: 15.17 kB / 0.925 GB, free: 139.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001028/1.63, allocations: 2.475 MB / 0.9274 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.63, allocations: 0 / 0.9274 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001569/1.631, allocations: 1.416 MB / 0.9288 GB, free: 135.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/1.631, allocations: 136.4 kB / 0.9289 GB, free: 135 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.809e-05/1.631, allocations: 11.98 kB / 0.9289 GB, free: 135 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003075/1.632, allocations: 49.75 kB / 0.9289 GB, free: 134.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.434e-05/1.632, allocations: 39.92 kB / 0.929 GB, free: 134.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-05/1.632, allocations: 25.23 kB / 0.929 GB, free: 134.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001752/1.632, allocations: 215.1 kB / 0.9292 GB, free: 134.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.632, allocations: 0 / 0.9292 GB, free: 134.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007439/1.64, allocations: 3.179 MB / 0.9323 GB, free: 131.9 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * 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: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01584/1.655, allocations: 4.354 MB / 0.9366 GB, free: 128 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001805/1.657, allocations: 1.034 MB / 0.9376 GB, free: 127 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/1.657, allocations: 8 kB / 0.9376 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006238/1.658, allocations: 0.5149 MB / 0.9381 GB, free: 126.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001484/1.659, allocations: 341.5 kB / 0.9384 GB, free: 126.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/1.661, allocations: 1.464 MB / 0.9398 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/1.661, allocations: 0.8486 MB / 0.9407 GB, free: 123.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.493e-05/1.661, allocations: 39.44 kB / 0.9407 GB, free: 123.7 MB / 0.5606 GB Notification: Performance of SimCode: time 3.71e-07/1.661, allocations: 0 / 0.9407 GB, free: 123.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.09698/1.758, allocations: 82.01 MB / 1.021 GB, free: 41.56 MB / 0.5606 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel.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.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