Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_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.R134a_ASHRAE_TestModel_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph") translateModel(HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005905/0.005905, allocations: 101.1 kB / 15.88 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 190.1 kB / 16.79 MB, free: 5.809 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.534/1.534, allocations: 205.1 MB / 222.6 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04316/0.04316, allocations: 9.078 MB / 279.1 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.001222/0.001222, allocations: 63.91 kB / 338 MB, free: 25.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1047, allocations: 48.17 MB / 386.2 MB, free: 9.676 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph): time 0.3546/0.4594, allocations: 131.3 MB / 0.5054 GB, free: 3.188 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.4271/0.8866, allocations: 112.9 MB / 0.6156 GB, free: 1.148 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007256/0.8874, allocations: 5.469 kB / 0.6156 GB, free: 1.148 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003198/0.8906, allocations: 1.172 MB / 0.6167 GB, free: 1.145 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004248/0.8949, allocations: 1.467 MB / 0.6182 GB, free: 1.133 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.08244/0.9773, allocations: 24.91 MB / 0.6425 GB, free: 15.83 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002462/0.9798, allocations: 1.825 MB / 0.6443 GB, free: 15.52 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002452/0.9801, allocations: 98.3 kB / 0.6444 GB, free: 15.5 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01614/0.9962, allocations: 8.395 MB / 0.6526 GB, free: 12.64 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005351/0.9968, allocations: 388.2 kB / 0.6529 GB, free: 12.5 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.086e-05/0.9968, allocations: 22.12 kB / 0.6529 GB, free: 12.5 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.06716/1.064, allocations: 31.06 MB / 0.6833 GB, free: 7.562 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003098/1.064, allocations: 102.3 kB / 0.6834 GB, free: 7.492 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007931/1.065, allocations: 283 kB / 0.6836 GB, free: 7.277 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02383/1.089, allocations: 8.44 MB / 0.6919 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/1.089, allocations: 0 / 0.6919 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.192e-06/1.089, allocations: 0 / 0.6919 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.998e-06/1.089, allocations: 0 / 0.6919 GB, free: 0.5586 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.008239/1.097, allocations: 2.573 MB / 0.6944 GB, free: 13.94 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/1.097, allocations: 8.031 kB / 0.6944 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006015/1.098, allocations: 87.39 kB / 0.6945 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004367/1.098, allocations: 338.4 kB / 0.6948 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.752e-05/1.099, allocations: 32.66 kB / 0.6948 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.721e-05/1.099, allocations: 32 kB / 0.6949 GB, free: 13.42 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/1.1, allocations: 0.5963 MB / 0.6955 GB, free: 12.81 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/1.1, allocations: 7.938 kB / 0.6955 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.268e-05/1.1, allocations: 16 kB / 0.6955 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.254e-05/1.1, allocations: 11.83 kB / 0.6955 GB, free: 12.78 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/1.101, allocations: 0.5481 MB / 0.696 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002618/1.104, allocations: 2.555 MB / 0.6985 GB, free: 9.465 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/1.105, allocations: 0.508 MB / 0.699 GB, free: 8.957 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005368/1.106, allocations: 334.3 kB / 0.6993 GB, free: 8.625 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4875/1.593, allocations: 139 MB / 0.8351 GB, free: 258.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.269e-05/1.593, allocations: 42.56 kB / 0.8351 GB, free: 258.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=79): time 3.136e-06/1.593, allocations: 2.875 kB / 0.8351 GB, free: 258.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83): time 0.006445/1.6, allocations: 2.327 MB / 0.8374 GB, free: 256.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.584e-05/1.6, allocations: 63 kB / 0.8374 GB, free: 256.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003776/1.6, allocations: 253.3 kB / 0.8377 GB, free: 256.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.007e-05/1.6, allocations: 33.33 kB / 0.8377 GB, free: 256.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/1.6, allocations: 181.2 kB / 0.8379 GB, free: 256.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002406/1.601, allocations: 274.1 kB / 0.8381 GB, free: 256.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001728/1.601, allocations: 95.64 kB / 0.8382 GB, free: 256.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001507/1.601, allocations: 358.3 kB / 0.8386 GB, free: 255.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005271/1.602, allocations: 271.2 kB / 0.8388 GB, free: 255.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005794/1.602, allocations: 396 kB / 0.8392 GB, free: 255.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/1.603, allocations: 0.6875 MB / 0.8399 GB, free: 254.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/1.603, allocations: 3.938 kB / 0.8399 GB, free: 254.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001414/1.605, allocations: 0.7875 MB / 0.8407 GB, free: 254.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/1.605, allocations: 10.56 kB / 0.8407 GB, free: 254.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/1.605, allocations: 3.969 kB / 0.8407 GB, free: 254.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002557/1.605, allocations: 67.3 kB / 0.8407 GB, free: 254.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003839/1.605, allocations: 98.22 kB / 0.8408 GB, free: 254.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08971/1.695, allocations: 22.75 MB / 0.863 GB, free: 233.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005176/1.696, allocations: 51.86 kB / 0.8631 GB, free: 233.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.268e-05/1.696, allocations: 16 kB / 0.8631 GB, free: 233.8 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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): 43 * 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 prepare postOptimizeDAE: time 0.0002774/1.696, allocations: 193.7 kB / 0.8633 GB, free: 233.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/1.696, allocations: 39.53 kB / 0.8633 GB, free: 233.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001685/1.698, allocations: 1.541 MB / 0.8648 GB, free: 231.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/1.698, allocations: 14.05 kB / 0.8648 GB, free: 231.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/1.698, allocations: 0 / 0.8648 GB, free: 231.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001137/1.699, allocations: 1.152 MB / 0.866 GB, free: 230.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001867/1.701, allocations: 1.588 MB / 0.8675 GB, free: 229 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/1.701, allocations: 0 / 0.8675 GB, free: 229 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003187/1.701, allocations: 87.91 kB / 0.8676 GB, free: 228.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001956/1.701, allocations: 40.72 kB / 0.8676 GB, free: 228.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.627e-05/1.701, allocations: 19.92 kB / 0.8677 GB, free: 228.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007083/1.702, allocations: 1.319 MB / 0.869 GB, free: 227.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/1.702, allocations: 0 / 0.869 GB, free: 227.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001626/1.704, allocations: 1.18 MB / 0.8701 GB, free: 226.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/1.704, allocations: 112.6 kB / 0.8702 GB, free: 226.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.346e-05/1.704, allocations: 8 kB / 0.8702 GB, free: 226.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003518/1.704, allocations: 39.94 kB / 0.8703 GB, free: 226 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/1.704, allocations: 51.86 kB / 0.8703 GB, free: 226 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-05/1.704, allocations: 12 kB / 0.8703 GB, free: 226 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001942/1.705, allocations: 243 kB / 0.8705 GB, free: 225.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.81e-07/1.705, allocations: 0 / 0.8705 GB, free: 225.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.009089/1.714, allocations: 3.186 MB / 0.8737 GB, free: 223 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 (40): * 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: 1 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01664/1.73, allocations: 4.133 MB / 0.8777 GB, free: 219.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001676/1.732, allocations: 0.9532 MB / 0.8786 GB, free: 218.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/1.732, allocations: 0 / 0.8786 GB, free: 218.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000778/1.733, allocations: 491.3 kB / 0.8791 GB, free: 217.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001847/1.735, allocations: 379.2 kB / 0.8795 GB, free: 217.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001642/1.736, allocations: 1.415 MB / 0.8808 GB, free: 216 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/1.737, allocations: 0.8488 MB / 0.8817 GB, free: 215.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/1.737, allocations: 43.44 kB / 0.8817 GB, free: 215.1 MB / 0.5762 GB Notification: Performance of SimCode: time 4.31e-07/1.737, allocations: 0 / 0.8817 GB, free: 215.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.09235/1.829, allocations: 76.92 MB / 0.9568 GB, free: 138.1 MB / 0.5762 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.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.R134a_ASHRAE_TestModel_phCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_phCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_phCalcHelperMain.o] Error 1