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.001131/0.001131, allocations: 98.72 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.001496/0.001496, allocations: 184.2 kB / 16.92 MB, free: 6.895 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.812/1.812, allocations: 205.4 MB / 223.1 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05316/0.05316, 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.0005362/0.0005363, allocations: 16 kB / 340.4 MB, free: 25.64 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1199, allocations: 49.19 MB / 389.6 MB, free: 8.402 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ps_parameter): time 0.02206/0.1421, allocations: 16.63 MB / 406.2 MB, free: 7.691 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01132/0.1535, allocations: 10.65 MB / 416.9 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.146e-05/0.1536, allocations: 0 / 416.9 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009663/0.1546, allocations: 243.6 kB / 417.1 MB, free: 12.78 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.853e-05/0.1546, allocations: 19.84 kB / 417.1 MB, free: 12.76 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0174/0.172, allocations: 4.785 MB / 421.9 MB, free: 7.973 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.1722, allocations: 55.73 kB / 422 MB, free: 7.918 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.035e-05/0.1722, allocations: 0 / 422 MB, free: 7.918 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.1723, allocations: 27.81 kB / 422 MB, free: 7.891 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.913e-05/0.1724, allocations: 11.98 kB / 422 MB, free: 7.879 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.368e-06/0.1724, allocations: 0 / 422 MB, free: 7.879 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3007/0.4732, allocations: 7.993 MB / 430 MB, free: 20.89 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.166e-05/0.4732, allocations: 1.125 kB / 430 MB, free: 20.89 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.754e-05/0.4733, allocations: 39.38 kB / 430 MB, free: 20.86 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006946/0.4803, allocations: 2.04 MB / 432.1 MB, free: 20.85 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4803, allocations: 0 / 432.1 MB, free: 20.85 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.507e-06/0.4803, allocations: 1.125 kB / 432.1 MB, free: 20.85 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.4803, allocations: 0 / 432.1 MB, free: 20.85 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.002387/0.4827, allocations: 0.7456 MB / 432.8 MB, free: 20.28 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.4828, allocations: 9.562 kB / 432.8 MB, free: 20.28 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.524e-05/0.4828, allocations: 4.875 kB / 432.8 MB, free: 20.28 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.4829, allocations: 166.6 kB / 433 MB, free: 20.09 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.4829, allocations: 0.5156 kB / 433 MB, free: 20.09 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.483, allocations: 3.031 kB / 433 MB, free: 20.09 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.4831, allocations: 40.11 kB / 433 MB, free: 20.05 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.4831, allocations: 0.75 kB / 433 MB, free: 20.05 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.4831, allocations: 2.406 kB / 433 MB, free: 20.05 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/0.4831, allocations: 3.766 kB / 433 MB, free: 20.05 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.993e-05/0.4832, allocations: 13.36 kB / 433.1 MB, free: 20.05 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001617/0.4833, allocations: 164.5 kB / 433.2 MB, free: 19.86 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.102e-05/0.4834, allocations: 41.3 kB / 433.3 MB, free: 19.84 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.133e-05/0.4834, allocations: 26.56 kB / 433.3 MB, free: 19.83 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05377/0.5372, allocations: 32.39 MB / 465.7 MB, free: 6.367 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.929e-05/0.5373, allocations: 38.17 kB / 465.7 MB, free: 6.324 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 4.658e-06/0.5373, allocations: 0.9062 kB / 465.7 MB, free: 6.324 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002887/0.5376, allocations: 74.52 kB / 465.8 MB, free: 6.293 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.5377, allocations: 52.34 kB / 465.8 MB, free: 6.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.821e-05/0.5378, allocations: 96.42 kB / 465.9 MB, free: 6.133 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.5378, allocations: 25.7 kB / 466 MB, free: 6.102 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.304e-05/0.5379, allocations: 81.23 kB / 466 MB, free: 6.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.578e-05/0.5379, allocations: 24.64 kB / 466.1 MB, free: 6.004 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.449e-05/0.5379, allocations: 19.31 kB / 466.1 MB, free: 5.984 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.5381, allocations: 318.8 kB / 466.4 MB, free: 5.668 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.224e-05/0.5381, allocations: 12.41 kB / 466.4 MB, free: 5.668 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.114e-05/0.5381, allocations: 18.36 kB / 466.4 MB, free: 5.668 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.648e-05/0.5382, allocations: 35.55 kB / 466.5 MB, free: 5.656 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.5382, allocations: 3.156 kB / 466.5 MB, free: 5.656 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.741e-05/0.5383, allocations: 58.09 kB / 466.5 MB, free: 5.625 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.5383, allocations: 8.578 kB / 466.5 MB, free: 5.625 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.5383, allocations: 0 / 466.5 MB, free: 5.625 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.5384, allocations: 6.125 kB / 466.5 MB, free: 5.621 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.224e-06/0.5384, allocations: 3.094 kB / 466.5 MB, free: 5.621 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.5384, allocations: 0 / 466.5 MB, free: 5.621 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.936e-05/0.5384, allocations: 5.969 kB / 466.5 MB, free: 5.617 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.5384, allocations: 0 / 466.5 MB, free: 5.617 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 0.0003186/0.5388, allocations: 115.3 kB / 466.6 MB, free: 21.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.083e-06/0.5388, allocations: 0 / 466.6 MB, free: 21.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001663/0.5389, allocations: 174.5 kB / 466.8 MB, free: 21.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.443e-05/0.539, allocations: 182.6 kB / 467 MB, free: 21.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.26e-05/0.5391, allocations: 180.2 kB / 467.2 MB, free: 20.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-05/0.5392, allocations: 182.3 kB / 467.3 MB, free: 20.79 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002326/0.5394, allocations: 413.5 kB / 467.8 MB, free: 20.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.648e-05/0.5395, allocations: 102.8 kB / 467.9 MB, free: 20.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.93e-05/0.5395, allocations: 110.9 kB / 468 MB, free: 20.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.225e-05/0.5396, allocations: 176.3 kB / 468.1 MB, free: 19.94 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001081/0.5397, allocations: 191.1 kB / 468.3 MB, free: 19.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.363e-05/0.5398, allocations: 177.8 kB / 468.5 MB, free: 19.58 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.197e-05/0.5399, allocations: 179.4 kB / 468.7 MB, free: 19.4 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.54, allocations: 321.9 kB / 469 MB, free: 19.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.708e-05/0.5401, allocations: 182.9 kB / 469.2 MB, free: 18.88 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.609e-05/0.5402, allocations: 189.6 kB / 469.3 MB, free: 18.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.395e-05/0.5403, allocations: 102.6 kB / 469.4 MB, free: 18.6 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.627e-05/0.5404, allocations: 187.4 kB / 469.6 MB, free: 18.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.919e-05/0.5404, allocations: 103.9 kB / 469.7 MB, free: 18.31 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.479e-05/0.5405, allocations: 104.6 kB / 469.8 MB, free: 18.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5405, allocations: 0 / 469.8 MB, free: 18.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003766/0.5443, allocations: 0.8583 MB / 470.7 MB, free: 18.08 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.003818/0.5481, allocations: 1.416 MB / 472.1 MB, free: 17.71 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.842e-05/0.5482, allocations: 22.78 kB / 472.1 MB, free: 17.71 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.5482, allocations: 1.375 kB / 472.1 MB, free: 17.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.704e-06/0.5482, allocations: 0 / 472.1 MB, free: 17.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006084/0.5488, allocations: 0.5493 MB / 472.7 MB, free: 17.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003201/0.5492, allocations: 245.4 kB / 472.9 MB, free: 16.97 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.5495, allocations: 0.6801 MB / 473.6 MB, free: 16.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.599e-05/0.5495, allocations: 11.56 kB / 473.6 MB, free: 16.27 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.5495, allocations: 0 / 473.6 MB, free: 16.27 MB / 350.1 MB Notification: Performance of Templates: time 0.03003/0.5795, allocations: 16.4 MB / 490 MB, free: 4.918 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