Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 91.52 kB / 16.95 MB, free: 5.586 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.001794/0.001794, allocations: 187.6 kB / 17.85 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.573/1.573, allocations: 223.3 MB / 241.9 MB, free: 14.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002911/0.0002911, allocations: 12 kB / 301.5 MB, free: 6.207 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1394, allocations: 50.41 MB / 351.9 MB, free: 3.781 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001771/0.1413, allocations: 1.056 MB / 352.9 MB, free: 2.715 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01437/0.1557, allocations: 11.11 MB / 364 MB, free: 7.559 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.253e-05/0.1558, allocations: 4 kB / 364 MB, free: 7.555 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.515e-05/0.1558, allocations: 3.984 kB / 364 MB, free: 7.551 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00388/0.1597, allocations: 0.8049 MB / 364.8 MB, free: 6.742 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002167/0.1619, allocations: 473.7 kB / 365.3 MB, free: 6.277 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.1621, allocations: 63.64 kB / 365.4 MB, free: 6.215 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.518e-05/0.1621, allocations: 4 kB / 365.4 MB, free: 6.211 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.713e-05/0.1622, allocations: 23.92 kB / 365.4 MB, free: 6.188 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.1623, allocations: 31.89 kB / 365.4 MB, free: 6.156 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.1623, allocations: 4 kB / 365.4 MB, free: 6.152 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004167/0.1665, allocations: 1.378 MB / 366.8 MB, free: 4.773 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.519e-05/0.1666, allocations: 11.92 kB / 366.8 MB, free: 4.762 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.137e-05/0.1666, allocations: 29.7 kB / 366.9 MB, free: 4.727 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001775/0.1684, allocations: 0.6747 MB / 367.5 MB, free: 4.051 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.1684, allocations: 0 / 367.5 MB, free: 4.051 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.387e-06/0.1685, allocations: 0 / 367.5 MB, free: 4.051 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.1685, allocations: 0 / 367.5 MB, free: 4.051 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.001234/0.1697, allocations: 0.5416 MB / 368.1 MB, free: 3.461 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.1698, allocations: 8.031 kB / 368.1 MB, free: 3.453 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001619/0.1699, allocations: 7.984 kB / 368.1 MB, free: 3.445 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.1702, allocations: 175 kB / 368.3 MB, free: 3.234 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.1702, allocations: 0 / 368.3 MB, free: 3.234 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.677e-05/0.1703, allocations: 7.984 kB / 368.3 MB, free: 3.227 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000222/0.1705, allocations: 67.34 kB / 368.3 MB, free: 3.148 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.1705, allocations: 4 kB / 368.3 MB, free: 3.145 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.1705, allocations: 0 / 368.3 MB, free: 3.145 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.1706, allocations: 0 / 368.3 MB, free: 3.145 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.1707, allocations: 27.92 kB / 368.4 MB, free: 3.117 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000307/0.171, allocations: 174.5 kB / 368.5 MB, free: 2.895 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003525/0.1714, allocations: 81.19 kB / 368.6 MB, free: 2.797 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.795e-05/0.1714, allocations: 25.7 kB / 368.6 MB, free: 2.766 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2946/0.466, allocations: 3.286 MB / 371.9 MB, free: 24.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.79e-05/0.4661, allocations: 36.64 kB / 372 MB, free: 24.19 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 2.314e-06/0.4661, allocations: 3.453 kB / 372 MB, free: 24.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004054/0.4665, allocations: 83.89 kB / 372 MB, free: 24.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.4666, allocations: 80.55 kB / 372.1 MB, free: 24.07 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.4667, allocations: 113.9 kB / 372.2 MB, free: 23.97 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.4667, allocations: 27.64 kB / 372.3 MB, free: 23.94 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.957e-05/0.4668, allocations: 85.69 kB / 372.3 MB, free: 23.86 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.613e-05/0.4668, allocations: 26.22 kB / 372.4 MB, free: 23.85 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-06/0.4669, allocations: 0.5 kB / 372.4 MB, free: 23.85 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.559e-05/0.4669, allocations: 319.2 kB / 372.7 MB, free: 23.54 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.862e-05/0.467, allocations: 12.05 kB / 372.7 MB, free: 23.54 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.119e-05/0.4671, allocations: 24.55 kB / 372.7 MB, free: 23.52 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.056e-05/0.4671, allocations: 14.39 kB / 372.7 MB, free: 23.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4671, allocations: 0 / 372.7 MB, free: 23.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001645/0.4673, allocations: 71.53 kB / 372.8 MB, free: 23.49 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/0.4673, allocations: 8.234 kB / 372.8 MB, free: 23.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.4674, allocations: 0.8438 kB / 372.8 MB, free: 23.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.4674, allocations: 4.156 kB / 372.8 MB, free: 23.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.819e-05/0.4675, allocations: 13.47 kB / 372.8 MB, free: 23.49 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.4675, allocations: 0.8438 kB / 372.8 MB, free: 23.49 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.972e-05/0.4675, allocations: 2.719 kB / 372.8 MB, free: 23.49 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.4676, allocations: 6.359 kB / 372.8 MB, free: 23.49 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 initialization (6): * Single equations (assignments): 6 * 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 prepare postOptimizeDAE: time 7.998e-05/0.4676, allocations: 115.5 kB / 372.9 MB, free: 23.38 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.063e-05/0.4677, allocations: 13 kB / 373 MB, free: 23.37 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000316/0.468, allocations: 107.8 kB / 373.1 MB, free: 23.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.468, allocations: 1.094 kB / 373.1 MB, free: 23.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.468, allocations: 1 kB / 373.1 MB, free: 23.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-06/0.468, allocations: 2.203 kB / 373.1 MB, free: 23.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.4682, allocations: 170.1 kB / 373.2 MB, free: 23.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.4682, allocations: 2 kB / 373.2 MB, free: 23.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.94e-05/0.4682, allocations: 14.23 kB / 373.3 MB, free: 23.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.4683, allocations: 1.438 kB / 373.3 MB, free: 23.14 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.4683, allocations: 5.797 kB / 373.3 MB, free: 23.13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.4683, allocations: 1.844 kB / 373.3 MB, free: 23.13 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4683, allocations: 0.7031 kB / 373.3 MB, free: 23.13 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001836/0.4685, allocations: 105.7 kB / 373.4 MB, free: 23.05 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.703e-05/0.4686, allocations: 93.8 kB / 373.5 MB, free: 22.96 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.4686, allocations: 3.984 kB / 373.5 MB, free: 22.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.928e-05/0.4687, allocations: 8.344 kB / 373.5 MB, free: 22.95 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.741e-05/0.4688, allocations: 11.69 kB / 373.5 MB, free: 22.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.4688, allocations: 3.594 kB / 373.5 MB, free: 22.95 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.154e-05/0.4688, allocations: 91.14 kB / 373.6 MB, free: 22.88 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4688, allocations: 0 / 373.6 MB, free: 22.88 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001271/0.4701, allocations: 317.9 kB / 373.9 MB, free: 22.86 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * 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.001381/0.4715, allocations: 0.5766 MB / 374.5 MB, free: 22.72 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001852/0.4717, allocations: 31.78 kB / 374.5 MB, free: 22.72 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4717, allocations: 1.188 kB / 374.5 MB, free: 22.72 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.055e-05/0.4718, allocations: 24.84 kB / 374.5 MB, free: 22.72 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.472, allocations: 12.08 kB / 374.5 MB, free: 22.72 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005295/0.4725, allocations: 214.3 kB / 374.7 MB, free: 22.56 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001904/0.4728, allocations: 0.6816 MB / 375.4 MB, free: 21.86 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.983e-05/0.4728, allocations: 27.91 kB / 375.4 MB, free: 21.85 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4728, allocations: 2.938 kB / 375.4 MB, free: 21.85 MB / 302.1 MB Notification: Performance of Templates: time 0.01269/0.4855, allocations: 5.942 MB / 381.4 MB, free: 20.99 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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 OMCppModelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TCalcHelperMain.o] Error 1