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.0008776/0.0008775, allocations: 102.6 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.0008564/0.0008565, allocations: 175.9 kB / 16.58 MB, free: 6.055 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.5/1.5, allocations: 205.4 MB / 222.7 MB, free: 5.629 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04266/0.04266, allocations: 9.066 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.0004994/0.0004995, allocations: 15.98 kB / 339.8 MB, free: 25.99 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1045, allocations: 49.19 MB / 389 MB, free: 8.762 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter): time 0.01771/0.1222, allocations: 15.69 MB / 404.6 MB, free: 9.004 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01015/0.1324, allocations: 10.42 MB / 415.1 MB, free: 14.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.183e-05/0.1325, allocations: 8 kB / 415.1 MB, free: 14.56 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000615/0.1331, allocations: 219 kB / 415.3 MB, free: 14.34 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.635e-05/0.1332, allocations: 35.75 kB / 415.3 MB, free: 14.31 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01345/0.1467, allocations: 4.582 MB / 419.9 MB, free: 9.723 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.1468, allocations: 75.55 kB / 420 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.41e-05/0.1469, allocations: 3.984 kB / 420 MB, free: 9.645 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.857e-05/0.147, allocations: 31.81 kB / 420 MB, free: 9.613 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.771e-05/0.147, allocations: 23.86 kB / 420 MB, free: 9.59 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.313e-06/0.147, allocations: 0 / 420 MB, free: 9.59 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01471/0.1617, allocations: 7.078 MB / 427.1 MB, free: 2.496 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.508e-05/0.1618, allocations: 0 / 427.1 MB, free: 2.496 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.886e-05/0.1619, allocations: 41.64 kB / 427.1 MB, free: 2.449 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004567/0.1665, allocations: 2.109 MB / 429.3 MB, free: 344 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1665, allocations: 0 / 429.3 MB, free: 344 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1665, allocations: 0 / 429.3 MB, free: 344 kB / 318.1 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.1665, allocations: 0 / 429.3 MB, free: 344 kB / 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.225/0.3915, allocations: 0.7755 MB / 430 MB, free: 45.89 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.3915, allocations: 9.094 kB / 430 MB, free: 45.89 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.615e-05/0.3916, allocations: 9.5 kB / 430.1 MB, free: 45.88 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.3917, allocations: 166 kB / 430.2 MB, free: 45.68 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.3917, allocations: 1.906 kB / 430.2 MB, free: 45.68 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.3917, allocations: 0.5 kB / 430.2 MB, free: 45.68 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.3918, allocations: 57.34 kB / 430.3 MB, free: 45.65 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.3919, allocations: 0.9375 kB / 430.3 MB, free: 45.65 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.3919, allocations: 3.828 kB / 430.3 MB, free: 45.65 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.3919, allocations: 2.641 kB / 430.3 MB, free: 45.65 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.746e-05/0.3919, allocations: 25.36 kB / 430.3 MB, free: 45.65 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001653/0.3921, allocations: 182 kB / 430.5 MB, free: 45.46 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.487e-05/0.3922, allocations: 53.42 kB / 430.5 MB, free: 45.44 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.887e-05/0.3923, allocations: 40.27 kB / 430.6 MB, free: 45.43 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05175/0.444, allocations: 40.62 MB / 471.2 MB, free: 6.023 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.4441, allocations: 39.78 kB / 471.2 MB, free: 5.984 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 3.516e-06/0.4441, allocations: 0 / 471.2 MB, free: 5.984 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0002891/0.4444, allocations: 127.3 kB / 471.4 MB, free: 5.906 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.4444, allocations: 51.41 kB / 471.4 MB, free: 5.844 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.242e-05/0.4445, allocations: 95.61 kB / 471.5 MB, free: 5.746 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.4445, allocations: 29.7 kB / 471.5 MB, free: 5.711 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.189e-05/0.4445, allocations: 81.94 kB / 471.6 MB, free: 5.625 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.16e-05/0.4446, allocations: 47.48 kB / 471.7 MB, free: 5.586 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-06/0.4446, allocations: 0 / 471.7 MB, free: 5.586 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.627e-05/0.4447, allocations: 326.2 kB / 472 MB, free: 5.262 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.799e-05/0.4447, allocations: 19.72 kB / 472 MB, free: 5.254 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.913e-05/0.4447, allocations: 27.36 kB / 472 MB, free: 5.238 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.211e-05/0.4448, allocations: 26.72 kB / 472 MB, free: 5.227 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.4448, allocations: 4.594 kB / 472.1 MB, free: 5.223 MB / 318.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001084/0.4449, allocations: 98.83 kB / 472.1 MB, free: 5.156 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.4449, allocations: 9.156 kB / 472.2 MB, free: 5.156 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.4449, allocations: 3.938 kB / 472.2 MB, free: 5.152 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.4449, allocations: 1.312 kB / 472.2 MB, free: 5.152 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.563e-06/0.445, allocations: 0 / 472.2 MB, free: 5.152 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.445, allocations: 5.328 kB / 472.2 MB, free: 5.148 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.013e-05/0.445, allocations: 5.297 kB / 472.2 MB, free: 5.145 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.445, allocations: 6 kB / 472.2 MB, free: 5.145 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: 2 (state.phase,state_ps.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.298e-05/0.4451, allocations: 108.5 kB / 472.3 MB, free: 5.031 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.052e-05/0.4451, allocations: 6.375 kB / 472.3 MB, free: 5.027 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001891/0.4453, allocations: 159.5 kB / 472.4 MB, free: 4.887 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.4453, allocations: 5.734 kB / 472.5 MB, free: 4.883 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.4453, allocations: 0 / 472.5 MB, free: 4.883 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.4453, allocations: 3.953 kB / 472.5 MB, free: 4.879 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.4455, allocations: 172.5 kB / 472.6 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.4455, allocations: 0.75 kB / 472.6 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.184e-06/0.4455, allocations: 3.984 kB / 472.6 MB, free: 4.668 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4455, allocations: 1.812 kB / 472.6 MB, free: 4.668 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.4455, allocations: 0 / 472.6 MB, free: 4.668 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.4455, allocations: 0 / 472.6 MB, free: 4.668 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.4455, allocations: 1.781 kB / 472.6 MB, free: 4.668 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.966e-05/0.4456, allocations: 85.75 kB / 472.7 MB, free: 4.586 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.562e-05/0.4457, allocations: 101 kB / 472.8 MB, free: 4.473 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.4457, allocations: 2.625 kB / 472.8 MB, free: 4.473 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.832e-05/0.4457, allocations: 0 / 472.8 MB, free: 4.473 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.903e-05/0.4457, allocations: 3.969 kB / 472.8 MB, free: 4.473 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-06/0.4457, allocations: 0 / 472.8 MB, free: 4.473 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.101e-05/0.4458, allocations: 102.2 kB / 472.9 MB, free: 4.383 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4458, allocations: 3.938 kB / 472.9 MB, free: 4.379 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002767/0.4486, allocations: 0.8615 MB / 473.8 MB, free: 4.172 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: 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 (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.002878/0.4515, allocations: 1.343 MB / 475.1 MB, free: 3.715 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001067/0.4516, allocations: 51.73 kB / 475.2 MB, free: 3.688 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4516, allocations: 0 / 475.2 MB, free: 3.688 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.933e-05/0.4516, allocations: 20.31 kB / 475.2 MB, free: 3.676 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.4519, allocations: 36.62 kB / 475.2 MB, free: 3.66 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003069/0.4522, allocations: 216.7 kB / 475.4 MB, free: 3.453 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001477/0.4524, allocations: 0.6807 MB / 476.1 MB, free: 2.754 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.218e-05/0.4524, allocations: 11.31 kB / 476.1 MB, free: 2.746 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4524, allocations: 0 / 476.1 MB, free: 2.746 MB / 318.1 MB Notification: Performance of Templates: time 0.02571/0.4781, allocations: 16.42 MB / 492.6 MB, free: 2.871 MB / 334.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++ 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_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