Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.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.Parameter.SinglePhase_setState,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState") translateModel(HelmholtzMedia.Examples.Parameter.SinglePhase_setState,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, 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.001095/0.001095, allocations: 198.4 kB / 16.79 MB, free: 6.828 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.462/1.462, allocations: 205.1 MB / 222.6 MB, free: 5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04544/0.04544, allocations: 9.085 MB / 279.1 MB, free: 12.65 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.001295/0.001295, allocations: 67.91 kB / 338 MB, free: 25.93 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1098, allocations: 48.18 MB / 386.2 MB, free: 9.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.SinglePhase_setState): time 0.02065/0.1305, allocations: 18.62 MB / 404.8 MB, free: 7.012 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01593/0.1464, allocations: 16.85 MB / 421.6 MB, free: 6.113 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001803/0.1467, allocations: 0 / 421.6 MB, free: 6.113 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007864/0.1476, allocations: 263.1 kB / 421.9 MB, free: 5.855 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002537/0.1478, allocations: 103.4 kB / 422 MB, free: 5.754 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2309/0.3788, allocations: 5.754 MB / 427.7 MB, free: 18.3 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000479/0.3793, allocations: 238 kB / 428 MB, free: 18.3 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.24e-05/0.3794, allocations: 13.91 kB / 428 MB, free: 18.3 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002395/0.3796, allocations: 97.09 kB / 428.1 MB, free: 18.3 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.3798, allocations: 57.3 kB / 428.1 MB, free: 18.3 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.3798, allocations: 6.219 kB / 428.1 MB, free: 18.3 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01919/0.399, allocations: 9.137 MB / 437.3 MB, free: 18.3 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.39e-05/0.3991, allocations: 14.39 kB / 437.3 MB, free: 18.3 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002371/0.3993, allocations: 65 kB / 437.4 MB, free: 18.3 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006493/0.4058, allocations: 2.498 MB / 439.9 MB, free: 18.2 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4059, allocations: 0 / 439.9 MB, free: 18.2 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.4059, allocations: 1.219 kB / 439.9 MB, free: 18.2 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.4059, allocations: 0 / 439.9 MB, free: 18.2 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.002997/0.4089, allocations: 0.9457 MB / 440.8 MB, free: 17.56 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.688e-05/0.409, allocations: 11.56 kB / 440.8 MB, free: 17.56 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.074e-05/0.409, allocations: 11.94 kB / 440.8 MB, free: 17.55 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.4092, allocations: 183.7 kB / 441 MB, free: 17.36 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.4092, allocations: 1.219 kB / 441 MB, free: 17.36 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.4092, allocations: 2.312 kB / 441 MB, free: 17.36 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.4095, allocations: 114 kB / 441.1 MB, free: 17.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.4095, allocations: 0 / 441.1 MB, free: 17.32 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.4095, allocations: 1.875 kB / 441.1 MB, free: 17.32 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.925e-05/0.4096, allocations: 10.11 kB / 441.1 MB, free: 17.32 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.4097, allocations: 80.8 kB / 441.2 MB, free: 17.32 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002939/0.41, allocations: 251.8 kB / 441.5 MB, free: 17.12 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.4102, allocations: 117.3 kB / 441.6 MB, free: 17.1 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.4103, allocations: 107.4 kB / 441.7 MB, free: 17.09 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1552/0.5655, allocations: 93.08 MB / 0.5222 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.125e-05/0.5656, allocations: 35.36 kB / 0.5222 GB, free: 13.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 2.244e-06/0.5656, allocations: 0 / 0.5222 GB, free: 13.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.0006114/0.5662, allocations: 328.7 kB / 0.5226 GB, free: 13.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.5663, allocations: 51.41 kB / 0.5226 GB, free: 13.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.985e-05/0.5664, allocations: 100.7 kB / 0.5227 GB, free: 13.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.5664, allocations: 29.64 kB / 0.5227 GB, free: 13.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.702e-05/0.5664, allocations: 85.27 kB / 0.5228 GB, free: 13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.952e-05/0.5665, allocations: 127 kB / 0.5229 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.748e-05/0.5666, allocations: 39.94 kB / 0.523 GB, free: 12.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.5667, allocations: 322.6 kB / 0.5233 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.545e-05/0.5668, allocations: 78.53 kB / 0.5234 GB, free: 12.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.253e-05/0.5669, allocations: 74.41 kB / 0.5234 GB, free: 12.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002039/0.5671, allocations: 194.2 kB / 0.5236 GB, free: 12.33 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.5671, allocations: 0 / 0.5236 GB, free: 12.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002635/0.5674, allocations: 243.3 kB / 0.5238 GB, free: 12.1 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.5674, allocations: 8 kB / 0.5239 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.5674, allocations: 2.844 kB / 0.5239 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.5674, allocations: 0 / 0.5239 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.312e-06/0.5675, allocations: 4 kB / 0.5239 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.5675, allocations: 0 / 0.5239 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.148e-05/0.5676, allocations: 15.75 kB / 0.5239 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.5676, allocations: 1.781 kB / 0.5239 GB, free: 12.07 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (state_Ts.phase,state_ps.phase,state_ph.phase,state_pd.phase,state_dT.phase,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.897e-05/0.5677, allocations: 117.8 kB / 0.524 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/0.5677, allocations: 19.89 kB / 0.524 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004383/0.5682, allocations: 381.4 kB / 0.5244 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-05/0.5682, allocations: 7.984 kB / 0.5244 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.5682, allocations: 3.188 kB / 0.5244 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.5682, allocations: 0 / 0.5244 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002404/0.5685, allocations: 244 kB / 0.5246 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.5685, allocations: 5.969 kB / 0.5246 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.72e-07/0.5685, allocations: 0 / 0.5246 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.5685, allocations: 0 / 0.5246 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.5685, allocations: 0 / 0.5246 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.5685, allocations: 0 / 0.5246 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5685, allocations: 4 kB / 0.5246 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002997/0.5688, allocations: 226.3 kB / 0.5248 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.921e-05/0.5689, allocations: 92.86 kB / 0.5249 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.5689, allocations: 7.562 kB / 0.5249 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.662e-05/0.5689, allocations: 0 / 0.5249 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.487e-05/0.569, allocations: 4.531 kB / 0.5249 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.445e-06/0.569, allocations: 11.56 kB / 0.525 GB, free: 10.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.389e-05/0.5691, allocations: 99.27 kB / 0.525 GB, free: 10.78 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5691, allocations: 4 kB / 0.5251 GB, free: 10.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003669/0.5728, allocations: 1.088 MB / 0.5261 GB, free: 9.688 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (state_dT.phase,state_pd.phase,state_ph.phase,state_ps.phase,state_Ts.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004512/0.5773, allocations: 1.614 MB / 0.5277 GB, free: 8.242 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003085/0.5776, allocations: 183.8 kB / 0.5279 GB, free: 8.062 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.5776, allocations: 0 / 0.5279 GB, free: 8.062 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.686e-05/0.5777, allocations: 83.27 kB / 0.5279 GB, free: 7.984 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008547/0.5786, allocations: 152.7 kB / 0.5281 GB, free: 7.836 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005811/0.5792, allocations: 374.5 kB / 0.5284 GB, free: 7.449 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.5795, allocations: 0.7169 MB / 0.5291 GB, free: 6.703 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.589e-05/0.5795, allocations: 19.44 kB / 0.5292 GB, free: 6.684 MB / 414.1 MB Notification: Performance of SimCode: time 2.31e-07/0.5795, allocations: 288 / 0.5292 GB, free: 6.684 MB / 414.1 MB Notification: Performance of Templates: time 0.03452/0.6141, allocations: 20.12 MB / 0.5488 GB, free: 2.652 MB / 430.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.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.Parameter.SinglePhase_setStateCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setStateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setStateCalcHelperMain.o] Error 1