Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_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_ps_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_ps_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, 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.001126/0.001126, allocations: 200.9 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.496/1.496, allocations: 205.1 MB / 222.6 MB, free: 4.848 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04473/0.04473, allocations: 9.089 MB / 279.1 MB, free: 12.46 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.001459/0.001459, allocations: 67.86 kB / 338 MB, free: 25.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1099, allocations: 48.16 MB / 386.2 MB, free: 9.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ps_parameter): time 0.02218/0.1321, allocations: 17.13 MB / 403.3 MB, free: 8.496 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01074/0.1429, allocations: 10.76 MB / 414 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.261e-05/0.143, allocations: 0 / 414 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009711/0.1441, allocations: 247.6 kB / 414.3 MB, free: 13.46 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.452e-05/0.1442, allocations: 27.89 kB / 414.3 MB, free: 13.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01866/0.1628, allocations: 4.763 MB / 419.1 MB, free: 8.668 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.163, allocations: 51.73 kB / 419.1 MB, free: 8.617 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.015e-05/0.163, allocations: 0 / 419.1 MB, free: 8.617 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.1632, allocations: 31.8 kB / 419.2 MB, free: 8.586 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.86e-05/0.1632, allocations: 8 kB / 419.2 MB, free: 8.578 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.007e-05/0.1632, allocations: 0 / 419.2 MB, free: 8.578 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01622/0.1795, allocations: 8.002 MB / 427.2 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.303e-05/0.1795, allocations: 7.922 kB / 427.2 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.337e-05/0.1796, allocations: 11.94 kB / 427.2 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2224/0.402, allocations: 2.041 MB / 429.2 MB, free: 23.33 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.4021, allocations: 1.062 kB / 429.2 MB, free: 23.33 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4021, allocations: 0 / 429.2 MB, free: 23.33 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.4021, allocations: 0 / 429.2 MB, free: 23.33 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001553/0.4037, allocations: 0.7535 MB / 430 MB, free: 22.78 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.4037, allocations: 9.062 kB / 430 MB, free: 22.78 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.137e-05/0.4037, allocations: 6.625 kB / 430 MB, free: 22.78 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.123e-05/0.4038, allocations: 165.8 kB / 430.2 MB, free: 22.58 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.4039, allocations: 1.406 kB / 430.2 MB, free: 22.58 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.4039, allocations: 1 kB / 430.2 MB, free: 22.58 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.404, allocations: 46.53 kB / 430.2 MB, free: 22.55 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.404, allocations: 0.6875 kB / 430.2 MB, free: 22.55 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.404, allocations: 1 kB / 430.2 MB, free: 22.55 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.404, allocations: 1.312 kB / 430.2 MB, free: 22.55 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.495e-05/0.4041, allocations: 11.61 kB / 430.2 MB, free: 22.55 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001369/0.4042, allocations: 162 kB / 430.4 MB, free: 22.36 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.837e-05/0.4043, allocations: 38.28 kB / 430.4 MB, free: 22.34 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.437e-05/0.4043, allocations: 22.53 kB / 430.4 MB, free: 22.33 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0528/0.4571, allocations: 33.03 MB / 463.5 MB, free: 8.801 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.064e-05/0.4572, allocations: 38.5 kB / 463.5 MB, free: 8.754 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 3.076e-06/0.4572, allocations: 0 / 463.5 MB, free: 8.754 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.000249/0.4575, allocations: 76.61 kB / 463.6 MB, free: 8.723 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.4575, allocations: 54.97 kB / 463.6 MB, free: 8.66 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.178e-05/0.4576, allocations: 93.48 kB / 463.7 MB, free: 8.562 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.4577, allocations: 25.7 kB / 463.8 MB, free: 8.531 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.397e-05/0.4577, allocations: 83.33 kB / 463.8 MB, free: 8.449 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.738e-05/0.4577, allocations: 29.69 kB / 463.9 MB, free: 8.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/0.4578, allocations: 11.41 kB / 463.9 MB, free: 8.414 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.4579, allocations: 321.3 kB / 464.2 MB, free: 8.102 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.797e-05/0.458, allocations: 7.312 kB / 464.2 MB, free: 8.102 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.743e-05/0.458, allocations: 14.12 kB / 464.2 MB, free: 8.102 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.8e-05/0.458, allocations: 39.77 kB / 464.2 MB, free: 8.094 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.458, allocations: 4.125 kB / 464.3 MB, free: 8.094 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.373e-05/0.4581, allocations: 65.45 kB / 464.3 MB, free: 8.055 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.4581, allocations: 10.12 kB / 464.3 MB, free: 8.051 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.4582, allocations: 2.938 kB / 464.3 MB, free: 8.051 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.4582, allocations: 0 / 464.3 MB, free: 8.051 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.563e-06/0.4582, allocations: 0 / 464.3 MB, free: 8.051 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.4582, allocations: 0 / 464.3 MB, free: 8.051 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.064e-05/0.4582, allocations: 0 / 464.3 MB, free: 8.051 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.4583, allocations: 6.062 kB / 464.3 MB, free: 8.051 MB / 334.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: 1 (inletState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 8.852e-05/0.4583, allocations: 105.8 kB / 464.4 MB, free: 7.938 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.818e-06/0.4584, allocations: 6.75 kB / 464.4 MB, free: 7.934 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001516/0.4585, allocations: 178.6 kB / 464.6 MB, free: 7.758 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.191e-05/0.4586, allocations: 180.3 kB / 464.8 MB, free: 7.578 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-05/0.4587, allocations: 183.8 kB / 465 MB, free: 7.398 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.079e-05/0.4588, allocations: 179.4 kB / 465.2 MB, free: 7.219 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002517/0.459, allocations: 422.9 kB / 465.6 MB, free: 6.766 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.246e-05/0.4591, allocations: 104 kB / 465.7 MB, free: 6.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.588e-05/0.4591, allocations: 109.8 kB / 465.8 MB, free: 6.551 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.405e-05/0.4592, allocations: 182.8 kB / 466 MB, free: 6.371 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.735e-05/0.4593, allocations: 176.3 kB / 466.1 MB, free: 6.191 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.131e-05/0.4594, allocations: 185.8 kB / 466.3 MB, free: 6.012 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.29e-05/0.4594, allocations: 187 kB / 466.5 MB, free: 5.828 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.4596, allocations: 307.6 kB / 466.8 MB, free: 5.52 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.817e-05/0.4597, allocations: 185.3 kB / 467 MB, free: 5.316 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.988e-05/0.4598, allocations: 181.5 kB / 467.1 MB, free: 5.137 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.502e-05/0.4599, allocations: 106.3 kB / 467.2 MB, free: 5.031 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002758/0.4602, allocations: 183.5 kB / 467.4 MB, free: 20.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.183e-05/0.4602, allocations: 103.8 kB / 467.5 MB, free: 20.74 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.524e-05/0.4603, allocations: 104.7 kB / 467.6 MB, free: 20.67 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4603, allocations: 0 / 467.6 MB, free: 20.67 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003088/0.4634, allocations: 0.8521 MB / 468.5 MB, free: 20.52 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.004368/0.4678, allocations: 1.426 MB / 469.9 MB, free: 20.15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001029/0.4679, allocations: 20.88 kB / 469.9 MB, free: 20.15 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.4679, allocations: 0 / 469.9 MB, free: 20.15 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.275e-06/0.4679, allocations: 0 / 469.9 MB, free: 20.15 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005762/0.4685, allocations: 0.5602 MB / 470.5 MB, free: 19.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003138/0.4688, allocations: 231.3 kB / 470.7 MB, free: 19.4 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.4691, allocations: 0.6758 MB / 471.4 MB, free: 18.71 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.259e-05/0.4691, allocations: 14.19 kB / 471.4 MB, free: 18.7 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4691, allocations: 4 kB / 471.4 MB, free: 18.7 MB / 350.1 MB Notification: Performance of Templates: time 0.02692/0.496, allocations: 16.4 MB / 487.8 MB, free: 7.129 MB / 350.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_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_ps_parameterCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameterCalcHelperMain.o] Error 1