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.0008363/0.0008362, allocations: 100.2 kB / 15.71 MB, free: 452 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.001099/0.0011, allocations: 181.5 kB / 16.59 MB, free: 6.422 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.513/1.513, allocations: 205.4 MB / 222.8 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04168/0.04168, allocations: 9.063 MB / 280.1 MB, free: 12.25 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.000481/0.0004809, allocations: 15.98 kB / 339.8 MB, free: 26.01 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1045, allocations: 49.2 MB / 389 MB, free: 8.766 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ps_parameter): time 0.01698/0.1215, allocations: 15.6 MB / 404.6 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009948/0.1315, allocations: 9.831 MB / 414.4 MB, free: 15.25 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.901e-05/0.1316, allocations: 0 / 414.4 MB, free: 15.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000696/0.1323, allocations: 234.9 kB / 414.6 MB, free: 15.02 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.752e-05/0.1324, allocations: 15.84 kB / 414.6 MB, free: 15 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01358/0.146, allocations: 4.529 MB / 419.2 MB, free: 10.47 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.1461, allocations: 51.73 kB / 419.2 MB, free: 10.42 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.318e-05/0.1462, allocations: 11.98 kB / 419.2 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.1463, allocations: 19.81 kB / 419.3 MB, free: 10.39 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.998e-05/0.1463, allocations: 12 kB / 419.3 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.448e-06/0.1464, allocations: 0 / 419.3 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01447/0.1608, allocations: 7.155 MB / 426.4 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.199e-05/0.1609, allocations: 0 / 426.4 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.993e-05/0.1609, allocations: 33.69 kB / 426.5 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00508/0.166, allocations: 2.07 MB / 428.5 MB, free: 1.094 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.568e-06/0.1661, allocations: 7.984 kB / 428.5 MB, free: 1.086 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1661, allocations: 0 / 428.5 MB, free: 1.086 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.809e-06/0.1661, allocations: 0 / 428.5 MB, free: 1.086 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.002172/0.1683, allocations: 0.741 MB / 429.3 MB, free: 304 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.1683, allocations: 8.031 kB / 429.3 MB, free: 296 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.32e-05/0.1684, allocations: 4 kB / 429.3 MB, free: 292 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.1685, allocations: 166.9 kB / 429.4 MB, free: 84 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.1685, allocations: 0 / 429.4 MB, free: 84 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.1686, allocations: 0 / 429.4 MB, free: 84 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.1687, allocations: 45.62 kB / 429.5 MB, free: 32 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.1687, allocations: 3.938 kB / 429.5 MB, free: 28 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.1687, allocations: 7.953 kB / 429.5 MB, free: 20 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.1688, allocations: 4 kB / 429.5 MB, free: 16 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.384e-05/0.1688, allocations: 15.98 kB / 429.5 MB, free: 0 / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2285/0.3973, allocations: 155.2 kB / 429.7 MB, free: 45.78 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.48e-05/0.3974, allocations: 31.28 kB / 429.7 MB, free: 45.75 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.142e-05/0.3974, allocations: 21.16 kB / 429.7 MB, free: 45.75 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04397/0.4414, allocations: 32.39 MB / 462.1 MB, free: 15.14 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.4415, allocations: 36.27 kB / 462.1 MB, free: 15.1 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.924e-06/0.4415, allocations: 0 / 462.1 MB, free: 15.1 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002124/0.4417, allocations: 75.44 kB / 462.2 MB, free: 15.05 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.3e-05/0.4418, allocations: 55.44 kB / 462.3 MB, free: 14.98 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.353e-05/0.4418, allocations: 91.73 kB / 462.4 MB, free: 14.89 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.725e-06/0.4418, allocations: 27.33 kB / 462.4 MB, free: 14.86 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.741e-05/0.4419, allocations: 82.89 kB / 462.5 MB, free: 14.77 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/0.4419, allocations: 29.14 kB / 462.5 MB, free: 14.75 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.084e-06/0.4419, allocations: 1.406 kB / 462.5 MB, free: 14.75 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.207e-05/0.442, allocations: 315.8 kB / 462.8 MB, free: 14.44 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.694e-05/0.442, allocations: 9.406 kB / 462.8 MB, free: 14.43 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.644e-05/0.442, allocations: 17.61 kB / 462.8 MB, free: 14.42 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.552e-05/0.442, allocations: 13.3 kB / 462.9 MB, free: 14.42 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.442, allocations: 0 / 462.9 MB, free: 14.42 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.984e-05/0.4421, allocations: 62.27 kB / 462.9 MB, free: 14.38 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.4421, allocations: 5.125 kB / 462.9 MB, free: 14.38 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.4422, allocations: 1.25 kB / 462.9 MB, free: 14.38 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.4422, allocations: 3.062 kB / 462.9 MB, free: 14.38 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-06/0.4422, allocations: 0 / 462.9 MB, free: 14.38 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.614e-05/0.4422, allocations: 1.281 kB / 462.9 MB, free: 14.38 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.142e-05/0.4422, allocations: 4.453 kB / 462.9 MB, free: 14.37 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.4422, allocations: 1.312 kB / 462.9 MB, free: 14.37 MB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.648e-05/0.4423, allocations: 119.4 kB / 463 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.894e-06/0.4423, allocations: 1.5 kB / 463 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001331/0.4425, allocations: 176.4 kB / 463.2 MB, free: 14.07 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.481e-05/0.4425, allocations: 180.7 kB / 463.4 MB, free: 13.89 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.163e-05/0.4426, allocations: 183.9 kB / 463.6 MB, free: 13.71 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-05/0.4426, allocations: 178.5 kB / 463.8 MB, free: 13.53 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.4428, allocations: 419.5 kB / 464.2 MB, free: 13.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.642e-05/0.4428, allocations: 105.6 kB / 464.3 MB, free: 12.96 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.703e-05/0.4428, allocations: 110.2 kB / 464.4 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.76e-05/0.4428, allocations: 181.8 kB / 464.5 MB, free: 12.67 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.077e-05/0.4429, allocations: 184 kB / 464.7 MB, free: 12.49 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.028e-05/0.4429, allocations: 177.5 kB / 464.9 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.77e-05/0.4429, allocations: 180.2 kB / 465.1 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.17e-05/0.443, allocations: 317.5 kB / 465.4 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.537e-05/0.4431, allocations: 193.5 kB / 465.6 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.531e-05/0.4431, allocations: 179.5 kB / 465.8 MB, free: 11.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.591e-05/0.4432, allocations: 106.3 kB / 465.9 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/0.4432, allocations: 177.5 kB / 466 MB, free: 11.12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.4433, allocations: 108.5 kB / 466.1 MB, free: 11.01 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.464e-05/0.4433, allocations: 100.2 kB / 466.2 MB, free: 10.93 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4433, allocations: 0 / 466.2 MB, free: 10.93 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002268/0.4456, allocations: 0.862 MB / 467.1 MB, free: 10.84 MB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002931/0.4485, allocations: 1.413 MB / 468.5 MB, free: 10.34 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.366e-05/0.4486, allocations: 24.67 kB / 468.5 MB, free: 10.32 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4486, allocations: 3.938 kB / 468.5 MB, free: 10.32 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.4487, allocations: 0 / 468.5 MB, free: 10.32 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.449, allocations: 0.5275 MB / 469.1 MB, free: 9.793 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002588/0.4493, allocations: 245.5 kB / 469.3 MB, free: 9.543 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.4494, allocations: 0.6808 MB / 470 MB, free: 8.84 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.245e-05/0.4494, allocations: 11.34 kB / 470 MB, free: 8.832 MB / 318.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4494, allocations: 0 / 470 MB, free: 8.832 MB / 318.1 MB Notification: Performance of Templates: time 0.02434/0.4737, allocations: 16.23 MB / 486.2 MB, free: 10.44 MB / 334.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++ NOTFOUND -Winvalid-pch -O0 -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/c/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