Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_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_ph_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_ph_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007256/0.0007291, allocations: 102.7 kB / 15.71 MB, free: 460 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.0008441/0.0008441, allocations: 177.6 kB / 16.58 MB, free: 6.863 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.527/1.527, allocations: 205.4 MB / 222.8 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04105/0.04105, allocations: 9.07 MB / 280.1 MB, free: 12.26 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.0005113/0.0005113, allocations: 16 kB / 339.8 MB, free: 26 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1081, allocations: 49.2 MB / 389 MB, free: 8.762 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ph_parameter): time 0.01737/0.1255, allocations: 15.54 MB / 404.5 MB, free: 9.152 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009001/0.1346, allocations: 9.168 MB / 413.7 MB, free: 15.96 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.546e-05/0.1347, allocations: 0 / 413.7 MB, free: 15.96 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006085/0.1353, allocations: 218.9 kB / 413.9 MB, free: 15.75 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.259e-05/0.1353, allocations: 15.91 kB / 413.9 MB, free: 15.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01213/0.1475, allocations: 4.052 MB / 418 MB, free: 11.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.723e-05/0.1476, allocations: 43.73 kB / 418 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.579e-05/0.1477, allocations: 8 kB / 418 MB, free: 11.63 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.645e-05/0.1477, allocations: 15.88 kB / 418 MB, free: 11.62 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.947e-05/0.1478, allocations: 15.92 kB / 418 MB, free: 11.6 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.137e-06/0.1478, allocations: 0 / 418 MB, free: 11.6 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01295/0.1608, allocations: 6.423 MB / 424.5 MB, free: 5.164 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.887e-05/0.1608, allocations: 3.938 kB / 424.5 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.479e-05/0.1609, allocations: 29.7 kB / 424.5 MB, free: 5.125 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004492/0.1654, allocations: 1.867 MB / 426.4 MB, free: 3.254 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1654, allocations: 0 / 426.4 MB, free: 3.254 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.1654, allocations: 0 / 426.4 MB, free: 3.254 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1654, allocations: 4 kB / 426.4 MB, free: 3.25 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.00152/0.167, allocations: 0.6864 MB / 427 MB, free: 2.516 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.167, allocations: 8.031 kB / 427.1 MB, free: 2.508 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.879e-05/0.1671, allocations: 0 / 427.1 MB, free: 2.508 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.1672, allocations: 174.9 kB / 427.2 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.1672, allocations: 0 / 427.2 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.877e-06/0.1672, allocations: 0 / 427.2 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.1674, allocations: 45.64 kB / 427.3 MB, free: 2.246 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.1674, allocations: 4 kB / 427.3 MB, free: 2.242 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.1674, allocations: 0 / 427.3 MB, free: 2.242 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.1674, allocations: 3.953 kB / 427.3 MB, free: 2.238 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.469e-05/0.1674, allocations: 11.98 kB / 427.3 MB, free: 2.227 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001772/0.1676, allocations: 165.6 kB / 427.5 MB, free: 2.016 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.404e-05/0.1677, allocations: 26.58 kB / 427.5 MB, free: 1.98 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.851e-05/0.1677, allocations: 24.88 kB / 427.5 MB, free: 1.953 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2321/0.3998, allocations: 13.69 MB / 441.2 MB, free: 34.89 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.3999, allocations: 34.67 kB / 441.2 MB, free: 34.85 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.763e-06/0.3999, allocations: 0 / 441.2 MB, free: 34.85 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002046/0.4001, allocations: 77.91 kB / 441.3 MB, free: 34.82 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.52e-05/0.4002, allocations: 52.02 kB / 441.4 MB, free: 34.75 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.042e-05/0.4002, allocations: 96.78 kB / 441.4 MB, free: 34.66 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.276e-06/0.4002, allocations: 25.7 kB / 441.5 MB, free: 34.62 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.008e-05/0.4002, allocations: 85.23 kB / 441.6 MB, free: 34.54 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.4003, allocations: 21.09 kB / 441.6 MB, free: 34.54 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.074e-06/0.4003, allocations: 0 / 441.6 MB, free: 34.54 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.168e-05/0.4004, allocations: 320.9 kB / 441.9 MB, free: 34.22 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.961e-05/0.4004, allocations: 12.58 kB / 441.9 MB, free: 34.22 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.6e-05/0.4004, allocations: 14.22 kB / 441.9 MB, free: 34.22 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.788e-05/0.4004, allocations: 13.62 kB / 441.9 MB, free: 34.22 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.4005, allocations: 0 / 441.9 MB, free: 34.22 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.041e-05/0.4005, allocations: 67.16 kB / 442 MB, free: 34.19 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.4006, allocations: 8.938 kB / 442 MB, free: 34.19 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.4006, allocations: 2.969 kB / 442 MB, free: 34.19 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.4006, allocations: 0.7969 kB / 442 MB, free: 34.19 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.774e-06/0.4006, allocations: 0.75 kB / 442 MB, free: 34.19 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.4006, allocations: 1.094 kB / 442 MB, free: 34.19 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.086e-05/0.4006, allocations: 4.25 kB / 442 MB, free: 34.19 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.4006, allocations: 1.062 kB / 442 MB, free: 34.19 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 5.91e-05/0.4007, allocations: 112 kB / 442.1 MB, free: 34.07 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.077e-06/0.4007, allocations: 7.734 kB / 442.1 MB, free: 34.07 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001211/0.4009, allocations: 167 kB / 442.3 MB, free: 33.91 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.379e-05/0.4009, allocations: 183.7 kB / 442.5 MB, free: 33.73 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.485e-05/0.4009, allocations: 183.6 kB / 442.7 MB, free: 33.55 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.113e-05/0.401, allocations: 185.3 kB / 442.8 MB, free: 33.37 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.4011, allocations: 419.8 kB / 443.2 MB, free: 32.92 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.585e-05/0.4011, allocations: 101.6 kB / 443.3 MB, free: 32.81 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.871e-05/0.4012, allocations: 107.8 kB / 443.4 MB, free: 32.7 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.618e-05/0.4012, allocations: 180 kB / 443.6 MB, free: 32.52 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.89e-05/0.4012, allocations: 181.9 kB / 443.8 MB, free: 32.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.809e-05/0.4013, allocations: 184.2 kB / 444 MB, free: 32.16 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.631e-05/0.4013, allocations: 182 kB / 444.2 MB, free: 31.98 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.785e-05/0.4014, allocations: 306.8 kB / 444.5 MB, free: 31.66 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.835e-05/0.4015, allocations: 191.5 kB / 444.6 MB, free: 31.46 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.381e-05/0.4015, allocations: 187.7 kB / 444.8 MB, free: 31.28 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.158e-05/0.4016, allocations: 106.7 kB / 444.9 MB, free: 31.17 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.736e-05/0.4016, allocations: 178.2 kB / 445.1 MB, free: 30.99 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/0.4016, allocations: 105.9 kB / 445.2 MB, free: 30.88 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.288e-05/0.4017, allocations: 105.7 kB / 445.3 MB, free: 30.81 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.4017, allocations: 0 / 445.3 MB, free: 30.81 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002142/0.4038, allocations: 0.7427 MB / 446.1 MB, free: 30.79 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.002977/0.4068, allocations: 1.256 MB / 447.3 MB, free: 30.5 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.941e-05/0.4069, allocations: 18.45 kB / 447.3 MB, free: 30.5 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4069, allocations: 0 / 447.3 MB, free: 30.5 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.737e-06/0.4069, allocations: 3.938 kB / 447.3 MB, free: 30.5 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.4073, allocations: 0.538 MB / 447.9 MB, free: 29.97 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002729/0.4076, allocations: 242.6 kB / 448.1 MB, free: 29.75 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.4077, allocations: 0.6809 MB / 448.8 MB, free: 29.05 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.078e-05/0.4077, allocations: 10.19 kB / 448.8 MB, free: 29.04 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4077, allocations: 0 / 448.8 MB, free: 29.04 MB / 318.1 MB Notification: Performance of Templates: time 0.02372/0.4314, allocations: 14.93 MB / 463.7 MB, free: 19.4 MB / 318.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_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_ph_parameterCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameterCalcHelperMain.o] Error 1