Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.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.State_pT_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_pT_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 92.16 kB / 16.02 MB, free: 80 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.001294/0.001294, allocations: 173 kB / 16.92 MB, free: 6.652 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.872/1.872, allocations: 205.4 MB / 223.1 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04968/0.04968, allocations: 9.061 MB / 280.5 MB, free: 12.14 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.0006172/0.0006176, allocations: 12.22 kB / 340.4 MB, free: 25.64 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1302, allocations: 49.2 MB / 389.6 MB, free: 8.398 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter): time 0.02198/0.1523, allocations: 16.73 MB / 406.3 MB, free: 7.594 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01149/0.1638, allocations: 11.27 MB / 417.6 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.897e-05/0.1639, allocations: 0 / 417.6 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007932/0.1647, allocations: 239.6 kB / 417.8 MB, free: 12.06 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.057e-05/0.1648, allocations: 31.78 kB / 417.8 MB, free: 12.03 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0163/0.1811, allocations: 4.836 MB / 422.7 MB, free: 7.188 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000129/0.1813, allocations: 75.55 kB / 422.8 MB, free: 7.113 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.049e-05/0.1813, allocations: 0 / 422.8 MB, free: 7.113 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.796e-05/0.1814, allocations: 43.78 kB / 422.8 MB, free: 7.07 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.964e-05/0.1815, allocations: 15.94 kB / 422.8 MB, free: 7.055 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.317e-06/0.1815, allocations: 0 / 422.8 MB, free: 7.055 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2773/0.4587, allocations: 7.904 MB / 430.7 MB, free: 20.41 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.922e-05/0.4588, allocations: 10.91 kB / 430.7 MB, free: 20.41 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.4589, allocations: 48.5 kB / 430.8 MB, free: 20.38 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007175/0.4661, allocations: 2.07 MB / 432.8 MB, free: 20.36 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.4662, allocations: 1.469 kB / 432.8 MB, free: 20.36 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.966e-06/0.4662, allocations: 0.5625 kB / 432.8 MB, free: 20.36 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.483e-06/0.4662, allocations: 0 / 432.8 MB, free: 20.36 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.003507/0.4697, allocations: 0.7778 MB / 433.6 MB, free: 19.79 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.861e-05/0.4698, allocations: 9.438 kB / 433.6 MB, free: 19.79 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.5e-05/0.4698, allocations: 8.594 kB / 433.6 MB, free: 19.78 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.47, allocations: 172.3 kB / 433.8 MB, free: 19.58 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.47, allocations: 3.25 kB / 433.8 MB, free: 19.58 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.47, allocations: 2.938 kB / 433.8 MB, free: 19.58 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.4702, allocations: 54.25 kB / 433.9 MB, free: 19.55 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.4702, allocations: 0.9844 kB / 433.9 MB, free: 19.55 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.4702, allocations: 0 / 433.9 MB, free: 19.55 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.4702, allocations: 5.438 kB / 433.9 MB, free: 19.55 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.859e-05/0.4703, allocations: 27.03 kB / 433.9 MB, free: 19.55 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002469/0.4706, allocations: 183.6 kB / 434.1 MB, free: 19.36 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.404e-05/0.4707, allocations: 55.19 kB / 434.1 MB, free: 19.33 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.348e-05/0.4707, allocations: 37.98 kB / 434.2 MB, free: 19.32 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07336/0.5441, allocations: 40.62 MB / 474.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.485e-05/0.5442, allocations: 32 kB / 474.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 3.136e-06/0.5442, allocations: 0 / 474.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003417/0.5445, allocations: 127.7 kB / 475 MB, free: 13.72 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.5446, allocations: 53.27 kB / 475 MB, free: 13.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.226e-05/0.5447, allocations: 100.3 kB / 475.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.5447, allocations: 28.7 kB / 475.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.204e-05/0.5447, allocations: 82.28 kB / 475.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.242e-05/0.5448, allocations: 48.77 kB / 475.3 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.559e-05/0.5448, allocations: 15.47 kB / 475.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.545, allocations: 321.6 kB / 475.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.706e-05/0.545, allocations: 27.2 kB / 475.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.837e-05/0.545, allocations: 21 kB / 475.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.324e-05/0.5451, allocations: 66.95 kB / 475.7 MB, free: 13.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.5451, allocations: 3.562 kB / 475.7 MB, free: 13.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001395/0.5453, allocations: 90.78 kB / 475.8 MB, free: 13.01 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.5453, allocations: 6.031 kB / 475.8 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.5453, allocations: 14.33 kB / 475.8 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.5453, allocations: 0 / 475.8 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.553e-06/0.5454, allocations: 0 / 475.8 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.5454, allocations: 0 / 475.8 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.831e-05/0.5454, allocations: 0.5 kB / 475.8 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.5454, allocations: 7.5 kB / 475.8 MB, free: 13 MB / 350.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: 2 (state_ps.phase,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.023e-05/0.5455, allocations: 108.2 kB / 475.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.373e-05/0.5455, allocations: 7.469 kB / 475.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002224/0.5458, allocations: 167.5 kB / 476.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.5458, allocations: 0 / 476.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.5458, allocations: 3.562 kB / 476.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.5458, allocations: 0 / 476.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.546, allocations: 175 kB / 476.3 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.546, allocations: 0 / 476.3 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.354e-06/0.546, allocations: 0.875 kB / 476.3 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.546, allocations: 4.031 kB / 476.3 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.546, allocations: 3.656 kB / 476.3 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.546, allocations: 0 / 476.3 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.546, allocations: 2.469 kB / 476.3 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.777e-05/0.5461, allocations: 94.84 kB / 476.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.796e-05/0.5462, allocations: 89.83 kB / 476.5 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.5462, allocations: 4.25 kB / 476.5 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.063e-05/0.5462, allocations: 0 / 476.5 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.32e-05/0.5462, allocations: 4.031 kB / 476.5 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.5463, allocations: 3.984 kB / 476.5 MB, free: 12.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.424e-05/0.5463, allocations: 102 kB / 476.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.32e-07/0.5463, allocations: 0 / 476.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003603/0.5499, allocations: 0.8658 MB / 477.4 MB, free: 12.11 MB / 350.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: 1 (state_ps.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.006577/0.5565, allocations: 1.348 MB / 478.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001199/0.5567, allocations: 50.19 kB / 478.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/0.5567, allocations: 3.938 kB / 478.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.754e-05/0.5567, allocations: 16.12 kB / 478.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004555/0.5572, allocations: 59.11 kB / 478.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000366/0.5575, allocations: 212.8 kB / 479.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.5579, allocations: 0.6884 MB / 479.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.564e-05/0.5579, allocations: 14.56 kB / 479.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of SimCode: time 4.7e-07/0.5579, allocations: 0 / 479.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of Templates: time 0.03128/0.5892, allocations: 16.61 MB / 496.4 MB, free: 13.31 MB / 366.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.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.State_pT_parameterCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameterCalcHelperMain.o] Error 1