Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_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_Ts_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_Ts_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009121/0.0009124, allocations: 91.53 kB / 16.02 MB, free: 80 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.001418/0.001418, allocations: 178.7 kB / 16.92 MB, free: 6.652 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.802/1.802, allocations: 205.4 MB / 223.1 MB, free: 5.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04374/0.04374, allocations: 9.07 MB / 280.5 MB, free: 12.15 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.0005212/0.0005212, allocations: 12 kB / 340.4 MB, free: 25.64 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1142, allocations: 49.19 MB / 389.6 MB, free: 8.414 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_Ts_parameter): time 0.01972/0.134, allocations: 16.64 MB / 406.2 MB, free: 7.699 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001988/0.136, allocations: 1.908 MB / 408.1 MB, free: 5.785 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.203e-05/0.136, allocations: 0 / 408.1 MB, free: 5.785 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006653/0.1367, allocations: 240.1 kB / 408.4 MB, free: 5.551 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.4e-05/0.1368, allocations: 19.91 kB / 408.4 MB, free: 5.531 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00678/0.1436, allocations: 2.419 MB / 410.8 MB, free: 3.109 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.1437, allocations: 47.73 kB / 410.8 MB, free: 3.062 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.827e-05/0.1437, allocations: 7.984 kB / 410.8 MB, free: 3.055 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.567e-05/0.1438, allocations: 23.81 kB / 410.9 MB, free: 3.031 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.94e-05/0.1438, allocations: 8 kB / 410.9 MB, free: 3.023 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.676e-06/0.1439, allocations: 0 / 410.9 MB, free: 3.023 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007306/0.1512, allocations: 4.607 MB / 415.5 MB, free: 14.41 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.856e-05/0.1512, allocations: 3.938 kB / 415.5 MB, free: 14.4 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.95e-05/0.1513, allocations: 37.64 kB / 415.5 MB, free: 14.36 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002028/0.1533, allocations: 1.029 MB / 416.6 MB, free: 13.33 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1534, allocations: 4 kB / 416.6 MB, free: 13.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1534, allocations: 0 / 416.6 MB, free: 13.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1534, allocations: 4 kB / 416.6 MB, free: 13.32 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.0007972/0.1542, allocations: 0.4952 MB / 417.1 MB, free: 12.78 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.1542, allocations: 8.031 kB / 417.1 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.189e-05/0.1543, allocations: 4 kB / 417.1 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.1544, allocations: 166.9 kB / 417.2 MB, free: 12.56 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.1544, allocations: 0 / 417.2 MB, free: 12.56 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.717e-06/0.1545, allocations: 0 / 417.2 MB, free: 12.56 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.1546, allocations: 49.69 kB / 417.3 MB, free: 12.51 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.1546, allocations: 3.938 kB / 417.3 MB, free: 12.5 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.1546, allocations: 3.938 kB / 417.3 MB, free: 12.5 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.1546, allocations: 0 / 417.3 MB, free: 12.5 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.955e-05/0.1547, allocations: 12 kB / 417.3 MB, free: 12.49 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002158/0.1549, allocations: 169.5 kB / 417.5 MB, free: 12.27 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.767e-05/0.155, allocations: 34.56 kB / 417.5 MB, free: 12.23 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.679e-05/0.155, allocations: 16.89 kB / 417.5 MB, free: 12.21 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2703/0.4253, allocations: 18.93 MB / 436.5 MB, free: 38.95 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.403e-05/0.4254, allocations: 32.38 kB / 436.5 MB, free: 38.91 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 3.086e-06/0.4254, allocations: 1.875 kB / 436.5 MB, free: 38.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002723/0.4257, allocations: 72.78 kB / 436.6 MB, free: 38.88 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.4258, allocations: 55.94 kB / 436.6 MB, free: 38.82 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.955e-05/0.4258, allocations: 100.9 kB / 436.7 MB, free: 38.72 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.4259, allocations: 26.98 kB / 436.7 MB, free: 38.69 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.213e-05/0.4259, allocations: 80.14 kB / 436.8 MB, free: 38.61 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.475e-05/0.4259, allocations: 24 kB / 436.8 MB, free: 38.61 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.311e-05/0.426, allocations: 11.47 kB / 436.8 MB, free: 38.59 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.797e-05/0.426, allocations: 323.2 kB / 437.2 MB, free: 38.28 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.124e-05/0.4261, allocations: 11.36 kB / 437.2 MB, free: 38.28 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.902e-05/0.4261, allocations: 9.672 kB / 437.2 MB, free: 38.28 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.794e-05/0.4261, allocations: 41.56 kB / 437.2 MB, free: 38.27 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4262, allocations: 0 / 437.2 MB, free: 38.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.969e-05/0.4262, allocations: 59.44 kB / 437.3 MB, free: 38.23 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.4263, allocations: 9.844 kB / 437.3 MB, free: 38.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.4263, allocations: 0.6094 kB / 437.3 MB, free: 38.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.4263, allocations: 1.094 kB / 437.3 MB, free: 38.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.443e-06/0.4263, allocations: 3.125 kB / 437.3 MB, free: 38.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.4263, allocations: 1.734 kB / 437.3 MB, free: 38.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.142e-05/0.4263, allocations: 3.438 kB / 437.3 MB, free: 38.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.4264, allocations: 1.062 kB / 437.3 MB, free: 38.23 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.507e-05/0.4264, allocations: 117.9 kB / 437.4 MB, free: 38.12 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.244e-06/0.4264, allocations: 1.188 kB / 437.4 MB, free: 38.12 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001456/0.4266, allocations: 173.2 kB / 437.6 MB, free: 37.95 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.682e-05/0.4266, allocations: 181.8 kB / 437.8 MB, free: 37.77 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.222e-05/0.4267, allocations: 176.9 kB / 437.9 MB, free: 37.59 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.342e-05/0.4267, allocations: 184.8 kB / 438.1 MB, free: 37.41 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.4269, allocations: 414.6 kB / 438.5 MB, free: 36.96 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.145e-05/0.4269, allocations: 105.6 kB / 438.6 MB, free: 36.86 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.992e-05/0.427, allocations: 109.8 kB / 438.7 MB, free: 36.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-05/0.427, allocations: 183.7 kB / 438.9 MB, free: 36.57 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.598e-05/0.4271, allocations: 180.8 kB / 439.1 MB, free: 36.39 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.175e-05/0.4271, allocations: 178 kB / 439.3 MB, free: 36.21 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.25e-05/0.4271, allocations: 185.9 kB / 439.4 MB, free: 36.02 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.807e-05/0.4272, allocations: 313.6 kB / 439.8 MB, free: 35.71 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.795e-05/0.4273, allocations: 188.4 kB / 439.9 MB, free: 35.51 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.381e-05/0.4274, allocations: 186.5 kB / 440.1 MB, free: 35.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.256e-05/0.4274, allocations: 107.1 kB / 440.2 MB, free: 35.21 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.277e-05/0.4275, allocations: 181.4 kB / 440.4 MB, free: 35.04 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/0.4275, allocations: 106.7 kB / 440.5 MB, free: 34.93 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.453e-05/0.4276, allocations: 96.47 kB / 440.6 MB, free: 34.85 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4276, allocations: 1 kB / 440.6 MB, free: 34.85 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001456/0.429, allocations: 392.6 kB / 441 MB, free: 34.85 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 (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.00191/0.4309, allocations: 0.7098 MB / 441.7 MB, free: 34.63 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.296e-05/0.431, allocations: 19.72 kB / 441.7 MB, free: 34.63 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.4311, allocations: 6.656 kB / 441.7 MB, free: 34.62 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.565e-06/0.4311, allocations: 1.125 kB / 441.7 MB, free: 34.62 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000491/0.4316, allocations: 0.5569 MB / 442.3 MB, free: 34.09 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002999/0.4319, allocations: 246.8 kB / 442.5 MB, free: 33.88 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/0.432, allocations: 0.678 MB / 443.2 MB, free: 33.18 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.248e-05/0.432, allocations: 9.344 kB / 443.2 MB, free: 33.17 MB / 318.1 MB Notification: Performance of SimCode: time 1.974e-06/0.432, allocations: 4.656 kB / 443.2 MB, free: 33.17 MB / 318.1 MB Notification: Performance of Templates: time 0.02163/0.4537, allocations: 9.389 MB / 452.6 MB, free: 29.52 MB / 318.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_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_Ts_parameterCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameterCalcHelperMain.o] Error 1