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.001875/0.001875, allocations: 110.3 kB / 17.81 MB, free: 5.559 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.002213/0.002213, allocations: 197.9 kB / 18.73 MB, free: 4.641 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.91/1.91, allocations: 205.1 MB / 224.6 MB, free: 12.48 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.001288/0.001288, allocations: 47.92 kB / 280.6 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1416, allocations: 46.62 MB / 327.2 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.003291/0.145, allocations: 1.432 MB / 328.7 MB, free: 3.461 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.04502/0.19, allocations: 25.51 MB / 354.2 MB, free: 9.863 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.508e-05/0.1901, allocations: 4 kB / 354.2 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001506/0.1903, allocations: 0 / 354.2 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0188/0.2091, allocations: 4.578 MB / 358.8 MB, free: 5.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009603/0.2101, allocations: 318.9 kB / 359.1 MB, free: 4.957 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002015/0.2104, allocations: 91.67 kB / 359.2 MB, free: 4.867 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.779e-05/0.2104, allocations: 4 kB / 359.2 MB, free: 4.863 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.666e-05/0.2105, allocations: 39.84 kB / 359.2 MB, free: 4.824 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.2106, allocations: 43.83 kB / 359.3 MB, free: 4.781 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.2107, allocations: 4 kB / 359.3 MB, free: 4.777 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01915/0.2298, allocations: 8.8 MB / 368.1 MB, free: 11.96 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.764e-05/0.23, allocations: 15.97 kB / 368.1 MB, free: 11.95 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.646e-05/0.2301, allocations: 31.86 kB / 368.1 MB, free: 11.92 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009189/0.2393, allocations: 2.944 MB / 371 MB, free: 8.969 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.2393, allocations: 0 / 371 MB, free: 8.969 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.048e-06/0.2394, allocations: 0 / 371 MB, free: 8.969 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.2394, allocations: 4 kB / 371 MB, free: 8.965 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.003668/0.2431, allocations: 0.8931 MB / 371.9 MB, free: 8.023 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.895e-05/0.2431, allocations: 12.03 kB / 372 MB, free: 8.012 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.561e-05/0.2432, allocations: 8.828 kB / 372 MB, free: 8.004 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.2435, allocations: 195.8 kB / 372.2 MB, free: 7.773 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.2435, allocations: 4 kB / 372.2 MB, free: 7.77 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.2435, allocations: 3.938 kB / 372.2 MB, free: 7.766 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.2437, allocations: 79.33 kB / 372.2 MB, free: 7.676 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.2437, allocations: 3.984 kB / 372.2 MB, free: 7.672 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.2438, allocations: 0 / 372.2 MB, free: 7.672 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.2438, allocations: 0 / 372.2 MB, free: 7.672 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.2439, allocations: 31.98 kB / 372.3 MB, free: 7.641 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002693/0.2442, allocations: 190.5 kB / 372.5 MB, free: 7.402 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003603/0.2446, allocations: 101.1 kB / 372.6 MB, free: 7.285 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.169e-05/0.2447, allocations: 33.77 kB / 372.6 MB, free: 7.246 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.41e-05/0.2447, allocations: 8 kB / 372.6 MB, free: 7.238 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.192e-05/0.2448, allocations: 34.5 kB / 372.6 MB, free: 7.195 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.2448, allocations: 0 / 372.6 MB, free: 7.195 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003748/0.2452, allocations: 105.8 kB / 372.7 MB, free: 7.086 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.639e-05/0.2452, allocations: 85.03 kB / 372.8 MB, free: 6.984 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/0.2454, allocations: 141.8 kB / 373 MB, free: 6.836 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.2455, allocations: 25.7 kB / 373 MB, free: 6.805 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.333e-05/0.2455, allocations: 84.14 kB / 373.1 MB, free: 6.719 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.725e-05/0.2456, allocations: 15.75 kB / 373.1 MB, free: 6.703 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.423e-05/0.2456, allocations: 21.7 kB / 373.1 MB, free: 6.676 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.2458, allocations: 322.8 kB / 373.4 MB, free: 6.352 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.816e-05/0.2459, allocations: 15.98 kB / 373.4 MB, free: 6.336 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.069e-05/0.246, allocations: 37.7 kB / 373.5 MB, free: 6.293 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.2461, allocations: 57.8 kB / 373.5 MB, free: 6.23 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.2462, allocations: 4 kB / 373.5 MB, free: 6.227 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002097/0.2464, allocations: 77.56 kB / 373.6 MB, free: 6.145 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.2464, allocations: 12 kB / 373.6 MB, free: 6.133 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.2464, allocations: 0 / 373.6 MB, free: 6.133 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.2464, allocations: 0 / 373.6 MB, free: 6.133 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.78e-05/0.2465, allocations: 15.94 kB / 373.6 MB, free: 6.117 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.2465, allocations: 4 kB / 373.6 MB, free: 6.113 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.11e-05/0.2466, allocations: 3.984 kB / 373.6 MB, free: 6.109 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.2466, allocations: 4 kB / 373.6 MB, free: 6.105 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 8.83e-05/0.2467, allocations: 109.8 kB / 373.8 MB, free: 5.988 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.579e-05/0.2467, allocations: 11.91 kB / 373.8 MB, free: 5.977 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002792/0.247, allocations: 97.48 kB / 373.9 MB, free: 5.875 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.247, allocations: 7.938 kB / 373.9 MB, free: 5.867 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.247, allocations: 0 / 373.9 MB, free: 5.867 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.247, allocations: 0 / 373.9 MB, free: 5.867 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.2472, allocations: 185.5 kB / 374 MB, free: 5.637 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.2472, allocations: 0 / 374 MB, free: 5.637 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.929e-05/0.2473, allocations: 11.98 kB / 374.1 MB, free: 5.625 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2473, allocations: 4 kB / 374.1 MB, free: 5.621 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.2473, allocations: 0 / 374.1 MB, free: 5.621 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2473, allocations: 4 kB / 374.1 MB, free: 5.617 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2473, allocations: 384 / 374.1 MB, free: 5.617 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002229/0.2476, allocations: 121.8 kB / 374.2 MB, free: 5.477 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.637e-05/0.2477, allocations: 81.09 kB / 374.3 MB, free: 5.379 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/0.2477, allocations: 8 kB / 374.3 MB, free: 5.371 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.397e-05/0.2478, allocations: 7.922 kB / 374.3 MB, free: 5.363 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.771e-05/0.2479, allocations: 8 kB / 374.3 MB, free: 5.355 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.2479, allocations: 4 kB / 374.3 MB, free: 5.352 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.964e-05/0.248, allocations: 111.2 kB / 374.4 MB, free: 5.242 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.248, allocations: 0 / 374.4 MB, free: 5.242 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003752/0.2517, allocations: 0.9251 MB / 375.3 MB, free: 4.316 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.005357/0.2571, allocations: 1.342 MB / 376.7 MB, free: 2.969 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003085/0.2574, allocations: 47.91 kB / 376.7 MB, free: 2.922 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.2574, allocations: 0 / 376.7 MB, free: 2.922 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.866e-05/0.2575, allocations: 31.92 kB / 376.7 MB, free: 2.891 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.2578, allocations: 19.97 kB / 376.8 MB, free: 2.871 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005527/0.2584, allocations: 223.9 kB / 377 MB, free: 2.617 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/0.2588, allocations: 0.6848 MB / 377.7 MB, free: 1.906 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.377e-05/0.2589, allocations: 15.44 kB / 377.7 MB, free: 1.891 MB / 318.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2589, allocations: 0 / 377.7 MB, free: 1.891 MB / 318.1 MB Notification: Performance of Templates: time 0.265/0.5239, allocations: 19.4 MB / 397.1 MB, free: 45.2 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