Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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) 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(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009247/0.0009246, allocations: 98.55 kB / 17.96 MB, free: 5.77 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.001062/0.001062, allocations: 176.1 kB / 18.86 MB, free: 4.906 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.986/1.986, allocations: 205.4 MB / 225 MB, free: 12.99 MB / 190.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.0004962/0.0004962, allocations: 8 kB / 282 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1402, allocations: 47.58 MB / 329.6 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001878/0.1421, allocations: 1.093 MB / 330.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.04001/0.1821, allocations: 25.12 MB / 355.8 MB, free: 9.457 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.923e-05/0.1822, allocations: 0 / 355.8 MB, free: 9.457 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001306/0.1824, allocations: 11.86 kB / 355.8 MB, free: 9.445 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01664/0.199, allocations: 4.571 MB / 360.4 MB, free: 4.863 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009828/0.2, allocations: 314.9 kB / 360.7 MB, free: 4.555 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001755/0.2002, allocations: 99.61 kB / 360.8 MB, free: 4.457 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.079e-05/0.2003, allocations: 0 / 360.8 MB, free: 4.457 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.159e-05/0.2004, allocations: 31.91 kB / 360.8 MB, free: 4.426 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.2005, allocations: 47.83 kB / 360.9 MB, free: 4.379 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.2005, allocations: 4 kB / 360.9 MB, free: 4.375 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01809/0.2186, allocations: 8.796 MB / 369.7 MB, free: 11.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.007e-05/0.2188, allocations: 15.92 kB / 369.7 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.2189, allocations: 61.48 kB / 369.8 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008726/0.2276, allocations: 2.924 MB / 372.7 MB, free: 8.555 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.2277, allocations: 0 / 372.7 MB, free: 8.555 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.867e-06/0.2277, allocations: 0 / 372.7 MB, free: 8.555 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.2277, allocations: 0 / 372.7 MB, free: 8.555 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.003429/0.2311, allocations: 0.8891 MB / 373.6 MB, free: 7.617 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/0.2312, allocations: 12.03 kB / 373.6 MB, free: 7.605 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.343e-05/0.2313, allocations: 4.844 kB / 373.6 MB, free: 7.602 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002598/0.2315, allocations: 199.8 kB / 373.8 MB, free: 7.367 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.2316, allocations: 7.984 kB / 373.8 MB, free: 7.359 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.2316, allocations: 7.922 kB / 373.8 MB, free: 7.352 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.2318, allocations: 71.39 kB / 373.9 MB, free: 7.27 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.2318, allocations: 7.938 kB / 373.9 MB, free: 7.262 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.2319, allocations: 0 / 373.9 MB, free: 7.262 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.2319, allocations: 0 / 373.9 MB, free: 7.262 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.232, allocations: 35.97 kB / 373.9 MB, free: 7.227 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002445/0.2323, allocations: 190.5 kB / 374.1 MB, free: 6.988 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003149/0.2326, allocations: 97.11 kB / 374.2 MB, free: 6.875 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.878e-05/0.2327, allocations: 33.77 kB / 374.2 MB, free: 6.836 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.374e-05/0.2327, allocations: 8 kB / 374.2 MB, free: 6.828 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.354e-05/0.2328, allocations: 38.55 kB / 374.3 MB, free: 6.781 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.2328, allocations: 0 / 374.3 MB, free: 6.781 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003428/0.2331, allocations: 101.6 kB / 374.4 MB, free: 6.676 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/0.2332, allocations: 77.11 kB / 374.4 MB, free: 6.582 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.2334, allocations: 141.8 kB / 374.6 MB, free: 6.434 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.2334, allocations: 37.64 kB / 374.6 MB, free: 6.391 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.627e-05/0.2335, allocations: 80.14 kB / 374.7 MB, free: 6.309 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.977e-05/0.2335, allocations: 27.64 kB / 374.7 MB, free: 6.281 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.793e-05/0.2335, allocations: 13.72 kB / 374.7 MB, free: 6.262 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.2337, allocations: 318.8 kB / 375 MB, free: 5.941 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.986e-05/0.2338, allocations: 19.98 kB / 375.1 MB, free: 5.922 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.738e-05/0.2338, allocations: 29.7 kB / 375.1 MB, free: 5.887 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.234, allocations: 49.7 kB / 375.1 MB, free: 5.832 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.234, allocations: 0 / 375.1 MB, free: 5.832 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001662/0.2341, allocations: 85.88 kB / 375.2 MB, free: 5.742 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.2342, allocations: 8 kB / 375.2 MB, free: 5.734 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.2342, allocations: 4 kB / 375.2 MB, free: 5.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.2342, allocations: 96 / 375.2 MB, free: 5.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.185e-05/0.2343, allocations: 11.98 kB / 375.3 MB, free: 5.719 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.2343, allocations: 7.984 kB / 375.3 MB, free: 5.711 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.933e-05/0.2343, allocations: 3.984 kB / 375.3 MB, free: 5.707 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.2343, allocations: 4 kB / 375.3 MB, free: 5.703 MB / 318.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.724e-05/0.2344, allocations: 118.1 kB / 375.4 MB, free: 5.578 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.613e-05/0.2345, allocations: 7.906 kB / 375.4 MB, free: 5.57 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002514/0.2347, allocations: 101.5 kB / 375.5 MB, free: 5.465 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.2347, allocations: 4 kB / 375.5 MB, free: 5.461 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.2348, allocations: 3.938 kB / 375.5 MB, free: 5.457 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2348, allocations: 0 / 375.5 MB, free: 5.457 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.2349, allocations: 177.5 kB / 375.7 MB, free: 5.234 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.235, allocations: 0 / 375.7 MB, free: 5.234 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.442e-05/0.235, allocations: 11.98 kB / 375.7 MB, free: 5.223 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.235, allocations: 4 kB / 375.7 MB, free: 5.219 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.235, allocations: 4.125 kB / 375.7 MB, free: 5.215 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.235, allocations: 4 kB / 375.7 MB, free: 5.211 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2351, allocations: 4 kB / 375.7 MB, free: 5.207 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002038/0.2353, allocations: 117.8 kB / 375.8 MB, free: 5.07 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.303e-05/0.2354, allocations: 93.08 kB / 375.9 MB, free: 4.961 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.2354, allocations: 0 / 375.9 MB, free: 4.961 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.554e-05/0.2355, allocations: 8 kB / 375.9 MB, free: 4.953 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.94e-05/0.2355, allocations: 7.922 kB / 375.9 MB, free: 4.945 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.2355, allocations: 8 kB / 375.9 MB, free: 4.938 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001052/0.2356, allocations: 111.2 kB / 376 MB, free: 4.828 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2357, allocations: 0 / 376 MB, free: 4.828 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003428/0.2391, allocations: 0.929 MB / 377 MB, free: 3.898 MB / 318.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 (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.004663/0.2438, allocations: 1.325 MB / 378.3 MB, free: 2.566 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002669/0.244, allocations: 55.97 kB / 378.3 MB, free: 2.512 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.2441, allocations: 0 / 378.3 MB, free: 2.512 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.081e-05/0.2441, allocations: 23.98 kB / 378.4 MB, free: 2.488 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.2444, allocations: 23.11 kB / 378.4 MB, free: 2.469 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005526/0.245, allocations: 238.9 kB / 378.6 MB, free: 2.199 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.2453, allocations: 0.6848 MB / 379.3 MB, free: 1.488 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.896e-05/0.2454, allocations: 15.44 kB / 379.3 MB, free: 1.473 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2454, allocations: 0 / 379.3 MB, free: 1.473 MB / 318.1 MB Notification: Performance of Templates: time 0.2419/0.4873, allocations: 19.39 MB / 398.7 MB, free: 43.64 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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 OMCppModelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TXCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TXCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TXCalcHelperMain.o] Error 1