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.0009573/0.0009574, allocations: 97.78 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.001832/0.001831, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.832/1.832, allocations: 205.4 MB / 223.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05094/0.05094, allocations: 9.069 MB / 280.5 MB, free: 12.16 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.0005171/0.0005171, allocations: 16.22 kB / 340.4 MB, free: 25.66 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1073, allocations: 49.19 MB / 389.6 MB, free: 8.426 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph): time 0.4048/0.5121, allocations: 129.6 MB / 0.507 GB, free: 6.301 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.4882/1, allocations: 111.6 MB / 0.616 GB, free: 1.848 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008468/1.001, allocations: 5.5 kB / 0.616 GB, free: 1.848 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004216/1.005, allocations: 1.173 MB / 0.6171 GB, free: 1.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006194/1.012, allocations: 1.463 MB / 0.6186 GB, free: 1.828 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.09485/1.107, allocations: 24.96 MB / 0.6429 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003019/1.11, allocations: 1.833 MB / 0.6447 GB, free: 0 / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003183/1.11, allocations: 97.36 kB / 0.6448 GB, free: 15.98 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01933/1.129, allocations: 8.413 MB / 0.653 GB, free: 13.06 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000637/1.13, allocations: 378.1 kB / 0.6534 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.295e-05/1.13, allocations: 22.34 kB / 0.6534 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.07155/1.202, allocations: 31.06 MB / 0.6838 GB, free: 11.68 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003722/1.202, allocations: 93.98 kB / 0.6838 GB, free: 11.63 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007771/1.203, allocations: 300.4 kB / 0.6841 GB, free: 11.46 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02455/1.227, allocations: 8.397 MB / 0.6923 GB, free: 4.801 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/1.227, allocations: 0 / 0.6923 GB, free: 4.801 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.645e-06/1.227, allocations: 0 / 0.6923 GB, free: 4.801 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/1.227, allocations: 0 / 0.6923 GB, free: 4.801 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.00943/1.237, allocations: 2.486 MB / 0.6948 GB, free: 2.363 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.044e-05/1.237, allocations: 9.016 kB / 0.6948 GB, free: 2.355 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006589/1.238, allocations: 87.3 kB / 0.6949 GB, free: 2.27 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004757/1.238, allocations: 343.2 kB / 0.6952 GB, free: 1.949 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.618e-05/1.238, allocations: 32.16 kB / 0.6952 GB, free: 1.93 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.236e-05/1.238, allocations: 31.75 kB / 0.6952 GB, free: 1.91 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/1.24, allocations: 0.6093 MB / 0.6958 GB, free: 1.465 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/1.24, allocations: 0 / 0.6958 GB, free: 1.465 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.236e-05/1.24, allocations: 15.12 kB / 0.6958 GB, free: 1.461 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.609e-05/1.24, allocations: 22.95 kB / 0.6959 GB, free: 1.445 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/1.241, allocations: 0.578 MB / 0.6964 GB, free: 1.035 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002708/1.244, allocations: 2.559 MB / 0.6989 GB, free: 14.65 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/1.245, allocations: 0.5175 MB / 0.6994 GB, free: 14.31 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005646/1.245, allocations: 351.7 kB / 0.6998 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5325/1.778, allocations: 135.8 MB / 0.8324 GB, free: 263 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.887e-05/1.778, allocations: 38.34 kB / 0.8324 GB, free: 263 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=79): time 2.975e-06/1.778, allocations: 0 / 0.8324 GB, free: 263 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83): time 0.007025/1.785, allocations: 2.399 MB / 0.8348 GB, free: 262.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/1.785, allocations: 67.47 kB / 0.8348 GB, free: 262.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003173/1.785, allocations: 249 kB / 0.8351 GB, free: 262 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.672e-05/1.786, allocations: 37.61 kB / 0.8351 GB, free: 261.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/1.786, allocations: 190.3 kB / 0.8353 GB, free: 261.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002116/1.786, allocations: 263.2 kB / 0.8355 GB, free: 261.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.659e-05/1.786, allocations: 67.52 kB / 0.8356 GB, free: 261.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001069/1.786, allocations: 346.7 kB / 0.8359 GB, free: 261.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004971/1.787, allocations: 286.8 kB / 0.8362 GB, free: 261 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005326/1.787, allocations: 404.7 kB / 0.8366 GB, free: 260.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/1.788, allocations: 0.7288 MB / 0.8373 GB, free: 260.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.239e-06/1.788, allocations: 3.969 kB / 0.8373 GB, free: 260.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001444/1.79, allocations: 0.8157 MB / 0.8381 GB, free: 259.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/1.79, allocations: 6.625 kB / 0.8381 GB, free: 259.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/1.79, allocations: 3.969 kB / 0.8381 GB, free: 259.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002498/1.79, allocations: 65.3 kB / 0.8382 GB, free: 259.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003905/1.79, allocations: 109.1 kB / 0.8383 GB, free: 259.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09302/1.883, allocations: 22.7 MB / 0.8605 GB, free: 242.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005821/1.884, allocations: 59.86 kB / 0.8605 GB, free: 242.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.153e-05/1.884, allocations: 20 kB / 0.8605 GB, free: 242.5 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.0003419/1.885, allocations: 186.5 kB / 0.8607 GB, free: 242.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/1.885, allocations: 43.44 kB / 0.8608 GB, free: 242.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001821/1.886, allocations: 1.572 MB / 0.8623 GB, free: 240.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.987e-05/1.887, allocations: 14.89 kB / 0.8623 GB, free: 240.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/1.887, allocations: 3.938 kB / 0.8623 GB, free: 240.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001296/1.888, allocations: 1.168 MB / 0.8634 GB, free: 239.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002144/1.89, allocations: 1.618 MB / 0.865 GB, free: 237.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/1.89, allocations: 0 / 0.865 GB, free: 237.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003245/1.89, allocations: 90.11 kB / 0.8651 GB, free: 237.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002466/1.891, allocations: 52.7 kB / 0.8652 GB, free: 237.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.642e-05/1.891, allocations: 11.98 kB / 0.8652 GB, free: 237.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008075/1.891, allocations: 1.328 MB / 0.8665 GB, free: 236.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/1.891, allocations: 0.5 kB / 0.8665 GB, free: 236.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001826/1.893, allocations: 1.219 MB / 0.8677 GB, free: 234.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001809/1.894, allocations: 132.5 kB / 0.8678 GB, free: 234.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.916e-05/1.894, allocations: 15.94 kB / 0.8678 GB, free: 234.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003846/1.894, allocations: 52.92 kB / 0.8679 GB, free: 234.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/1.894, allocations: 43.94 kB / 0.8679 GB, free: 234.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.631e-05/1.894, allocations: 11.94 kB / 0.8679 GB, free: 234.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002351/1.894, allocations: 247 kB / 0.8681 GB, free: 234.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.4e-07/1.894, allocations: 0 / 0.8681 GB, free: 234.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.009474/1.904, allocations: 3.183 MB / 0.8713 GB, free: 231.6 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.01895/1.923, allocations: 4.11 MB / 0.8753 GB, free: 228 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001891/1.925, allocations: 0.965 MB / 0.8762 GB, free: 227 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/1.925, allocations: 0 / 0.8762 GB, free: 227 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008044/1.926, allocations: 499.1 kB / 0.8767 GB, free: 226.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002141/1.928, allocations: 392.8 kB / 0.8771 GB, free: 226.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002002/1.93, allocations: 1.457 MB / 0.8785 GB, free: 224.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/1.93, allocations: 0.8448 MB / 0.8793 GB, free: 223.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/1.93, allocations: 43.44 kB / 0.8793 GB, free: 223.7 MB / 0.5762 GB Notification: Performance of SimCode: time 1.783e-06/1.93, allocations: 4 kB / 0.8794 GB, free: 223.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.1109/2.041, allocations: 76.91 MB / 0.9545 GB, free: 146.7 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