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.005875/0.005875, allocations: 101.1 kB / 15.88 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 192.4 kB / 16.79 MB, free: 6.254 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.505/1.505, allocations: 205.1 MB / 222.6 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04622/0.04622, allocations: 9.087 MB / 279.1 MB, free: 12.4 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.001258/0.001258, allocations: 67.84 kB / 338 MB, free: 25.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1081, allocations: 48.17 MB / 386.2 MB, free: 9.684 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter): time 0.02047/0.1286, allocations: 17.24 MB / 403.4 MB, free: 8.363 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01126/0.1399, allocations: 11.38 MB / 414.8 MB, free: 12.95 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.457e-05/0.14, allocations: 4 kB / 414.8 MB, free: 12.95 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007964/0.1409, allocations: 239.6 kB / 415 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.322e-05/0.141, allocations: 31.77 kB / 415 MB, free: 12.68 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01503/0.156, allocations: 4.818 MB / 419.9 MB, free: 7.859 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.1562, allocations: 75.55 kB / 419.9 MB, free: 7.785 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.72e-05/0.1562, allocations: 7.984 kB / 419.9 MB, free: 7.777 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.842e-05/0.1563, allocations: 31.81 kB / 420 MB, free: 7.746 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.844e-05/0.1564, allocations: 23.86 kB / 420 MB, free: 7.723 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.707e-06/0.1564, allocations: 4 kB / 420 MB, free: 7.719 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.211/0.3674, allocations: 7.908 MB / 427.9 MB, free: 20.87 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.74e-05/0.3674, allocations: 1.516 kB / 427.9 MB, free: 20.87 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.517e-05/0.3675, allocations: 21.55 kB / 427.9 MB, free: 20.87 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005621/0.3732, allocations: 2.087 MB / 430 MB, free: 20.85 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3732, allocations: 0.6094 kB / 430 MB, free: 20.85 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3732, allocations: 3.375 kB / 430 MB, free: 20.85 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.3732, allocations: 1.062 kB / 430 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001539/0.3747, allocations: 0.7792 MB / 430.8 MB, free: 20.28 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.3748, allocations: 9.656 kB / 430.8 MB, free: 20.28 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.683e-05/0.3748, allocations: 8.844 kB / 430.8 MB, free: 20.28 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.992e-05/0.3749, allocations: 166.7 kB / 431 MB, free: 20.08 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.375, allocations: 0.5938 kB / 431 MB, free: 20.08 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.278e-06/0.375, allocations: 4.938 kB / 431 MB, free: 20.08 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.3751, allocations: 59.45 kB / 431 MB, free: 20.05 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.3751, allocations: 0 / 431 MB, free: 20.05 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.3751, allocations: 0.9375 kB / 431 MB, free: 20.05 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.3752, allocations: 3.484 kB / 431 MB, free: 20.05 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.206e-05/0.3752, allocations: 29.78 kB / 431.1 MB, free: 20.05 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000158/0.3754, allocations: 179.6 kB / 431.2 MB, free: 19.86 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.583e-05/0.3754, allocations: 52.89 kB / 431.3 MB, free: 19.83 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.102e-05/0.3755, allocations: 42.08 kB / 431.3 MB, free: 19.82 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06561/0.4411, allocations: 41.4 MB / 472.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.4412, allocations: 40.28 kB / 472.8 MB, free: 14.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 2.194e-06/0.4412, allocations: 0 / 472.8 MB, free: 14.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0002801/0.4415, allocations: 117 kB / 472.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.4415, allocations: 54.97 kB / 472.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.195e-05/0.4416, allocations: 101.5 kB / 473 MB, free: 14.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.4416, allocations: 25.7 kB / 473.1 MB, free: 14.17 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.707e-05/0.4416, allocations: 83.7 kB / 473.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.245e-05/0.4417, allocations: 42.62 kB / 473.2 MB, free: 14.06 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.081e-05/0.4417, allocations: 20.31 kB / 473.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.4418, allocations: 321.5 kB / 473.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.937e-05/0.4419, allocations: 22.78 kB / 473.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.483e-05/0.4419, allocations: 27.75 kB / 473.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.538e-05/0.442, allocations: 68.34 kB / 473.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.442, allocations: 2.812 kB / 473.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001095/0.4421, allocations: 98.42 kB / 473.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.4421, allocations: 5.688 kB / 473.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.4422, allocations: 1.375 kB / 473.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.4422, allocations: 0 / 473.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.4422, allocations: 0 / 473.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.4422, allocations: 1.375 kB / 473.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.716e-05/0.4422, allocations: 5.25 kB / 473.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.4422, allocations: 8.75 kB / 473.8 MB, free: 13.67 MB / 350.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_ps.phase,state.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.536e-05/0.4423, allocations: 108.6 kB / 473.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.119e-05/0.4423, allocations: 7.203 kB / 473.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001891/0.4425, allocations: 163 kB / 474 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.4426, allocations: 3.047 kB / 474 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.4426, allocations: 4.031 kB / 474 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.4426, allocations: 1.375 kB / 474 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.4427, allocations: 174 kB / 474.2 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4427, allocations: 3.875 kB / 474.2 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.61e-07/0.4427, allocations: 1.375 kB / 474.2 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.4427, allocations: 0 / 474.2 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.4428, allocations: 1.375 kB / 474.2 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4428, allocations: 2.812 kB / 474.2 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4428, allocations: 0 / 474.2 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.301e-05/0.4429, allocations: 103.8 kB / 474.3 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.425e-05/0.4429, allocations: 82.19 kB / 474.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.4429, allocations: 5.312 kB / 474.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.928e-05/0.443, allocations: 0 / 474.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.516e-05/0.443, allocations: 0 / 474.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.443, allocations: 1.375 kB / 474.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.766e-05/0.443, allocations: 102.5 kB / 474.5 MB, free: 13.01 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4431, allocations: 0 / 474.5 MB, free: 13.01 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003082/0.4461, allocations: 0.8661 MB / 475.4 MB, free: 12.85 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: 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 (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.003627/0.4498, allocations: 1.359 MB / 476.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001099/0.4499, allocations: 50.23 kB / 476.8 MB, free: 12.42 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.4499, allocations: 3.25 kB / 476.8 MB, free: 12.42 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.702e-05/0.4499, allocations: 13.91 kB / 476.8 MB, free: 12.42 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004119/0.4503, allocations: 64.84 kB / 476.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003277/0.4507, allocations: 198.5 kB / 477.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.451, allocations: 0.6897 MB / 477.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.21e-05/0.451, allocations: 13.91 kB / 477.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of SimCode: time 2.01e-07/0.451, allocations: 0 / 477.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of Templates: time 0.02405/0.4751, allocations: 16.6 MB / 494.4 MB, free: 13.76 MB / 366.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++ -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_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