Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001457/0.001457, allocations: 92.11 kB / 17.63 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002078/0.002078, allocations: 192.7 kB / 18.54 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.6/1.6, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002885/0.0002885, allocations: 4 kB / 307.3 MB, free: 1.645 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1637, allocations: 51.49 MB / 358.8 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001979/0.1657, allocations: 1.087 MB / 359.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.3862/0.5519, allocations: 22.09 MB / 382 MB, free: 8.762 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.823e-05/0.552, allocations: 0 / 382 MB, free: 8.762 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001355/0.5522, allocations: 7.844 kB / 382 MB, free: 8.758 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01858/0.5708, allocations: 4.479 MB / 386.4 MB, free: 8.102 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008231/0.5716, allocations: 221.8 kB / 386.7 MB, free: 8.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000144/0.5717, allocations: 79.75 kB / 386.7 MB, free: 7.992 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.979e-05/0.5718, allocations: 6.031 kB / 386.7 MB, free: 7.992 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.505e-05/0.5719, allocations: 30.09 kB / 386.8 MB, free: 7.984 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.572, allocations: 40.08 kB / 386.8 MB, free: 7.973 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.572, allocations: 2.438 kB / 386.8 MB, free: 7.973 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01978/0.5918, allocations: 7.776 MB / 394.6 MB, free: 4.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.798e-05/0.5919, allocations: 18.06 kB / 394.6 MB, free: 4.758 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.734e-05/0.592, allocations: 30.83 kB / 394.6 MB, free: 4.727 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00844/0.6004, allocations: 2.797 MB / 397.4 MB, free: 3.375 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.07e-05/0.6005, allocations: 7.938 kB / 397.4 MB, free: 3.367 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.557e-06/0.6005, allocations: 0 / 397.4 MB, free: 3.367 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.6005, allocations: 1.75 kB / 397.4 MB, free: 3.367 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.004031/0.6045, allocations: 0.9013 MB / 398.3 MB, free: 2.652 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.6046, allocations: 8.875 kB / 398.4 MB, free: 2.652 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.883e-05/0.6047, allocations: 10.77 kB / 398.4 MB, free: 2.645 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.6048, allocations: 198.2 kB / 398.6 MB, free: 2.426 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.6049, allocations: 1.812 kB / 398.6 MB, free: 2.426 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.6049, allocations: 6.797 kB / 398.6 MB, free: 2.422 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.6051, allocations: 73.91 kB / 398.6 MB, free: 2.355 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.6051, allocations: 0 / 398.6 MB, free: 2.355 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.6051, allocations: 4.938 kB / 398.6 MB, free: 2.352 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.6051, allocations: 1.219 kB / 398.6 MB, free: 2.352 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.6053, allocations: 38.45 kB / 398.7 MB, free: 2.336 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001995/0.6055, allocations: 189.8 kB / 398.9 MB, free: 2.117 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002956/0.6058, allocations: 99.48 kB / 399 MB, free: 2.047 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.892e-05/0.6058, allocations: 30.45 kB / 399 MB, free: 2.023 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.987e-05/0.6059, allocations: 11.75 kB / 399 MB, free: 2.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.606, allocations: 33.47 kB / 399 MB, free: 1.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.143e-06/0.606, allocations: 0 / 399 MB, free: 1.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002967/0.6063, allocations: 99.44 kB / 399.1 MB, free: 1.922 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.6063, allocations: 84 kB / 399.2 MB, free: 1.824 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.6064, allocations: 136 kB / 399.3 MB, free: 1.707 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.6065, allocations: 32.02 kB / 399.4 MB, free: 1.672 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.107e-05/0.6065, allocations: 84.14 kB / 399.5 MB, free: 1.586 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/0.6065, allocations: 16.88 kB / 399.5 MB, free: 1.574 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-06/0.6065, allocations: 4 kB / 399.5 MB, free: 1.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.686e-05/0.6066, allocations: 314.8 kB / 399.8 MB, free: 1.254 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.466e-05/0.6067, allocations: 20.17 kB / 399.8 MB, free: 1.246 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.261e-05/0.6067, allocations: 32.92 kB / 399.8 MB, free: 1.223 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.463e-05/0.6068, allocations: 25.86 kB / 399.9 MB, free: 1.211 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.6068, allocations: 0 / 399.9 MB, free: 1.211 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001496/0.607, allocations: 88.25 kB / 400 MB, free: 1.152 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.607, allocations: 3.344 kB / 400 MB, free: 1.152 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.607, allocations: 0 / 400 MB, free: 1.152 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.607, allocations: 3.844 kB / 400 MB, free: 1.152 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.763e-05/0.6071, allocations: 13.84 kB / 400 MB, free: 1.148 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.6071, allocations: 0 / 400 MB, free: 1.148 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.435e-05/0.6071, allocations: 0 / 400 MB, free: 1.148 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.6072, allocations: 11.55 kB / 400 MB, free: 1.141 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 6.509e-05/0.6072, allocations: 116 kB / 400.1 MB, free: 1.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.565e-05/0.6072, allocations: 7.094 kB / 400.1 MB, free: 1.016 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002394/0.6075, allocations: 108.4 kB / 400.2 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.6075, allocations: 3.984 kB / 400.2 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.6075, allocations: 0.875 kB / 400.2 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.6075, allocations: 2.062 kB / 400.2 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.6076, allocations: 183.6 kB / 400.4 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.6077, allocations: 10.83 kB / 400.4 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.16e-05/0.6077, allocations: 10.98 kB / 400.4 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.6077, allocations: 2.656 kB / 400.4 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.6077, allocations: 4.125 kB / 400.4 MB, free: 0.707 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.6077, allocations: 1.969 kB / 400.4 MB, free: 0.707 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.6078, allocations: 3.938 kB / 400.4 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.6079, allocations: 111.2 kB / 400.5 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.943e-05/0.608, allocations: 95.91 kB / 400.6 MB, free: 0.5 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.608, allocations: 7.031 kB / 400.6 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.07e-05/0.6081, allocations: 0 / 400.6 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.039e-05/0.6081, allocations: 9.953 kB / 400.6 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.6082, allocations: 0 / 400.6 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.599e-05/0.6082, allocations: 113 kB / 400.8 MB, free: 412 kB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6082, allocations: 0 / 400.8 MB, free: 412 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.003861/0.6121, allocations: 0.9302 MB / 401.7 MB, free: 200 kB / 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.005107/0.6172, allocations: 1.24 MB / 402.9 MB, free: 15.55 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002381/0.6175, allocations: 43.97 kB / 403 MB, free: 15.51 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.6175, allocations: 0 / 403 MB, free: 15.51 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.17e-05/0.6176, allocations: 27.92 kB / 403 MB, free: 15.48 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.6179, allocations: 24.42 kB / 403 MB, free: 15.46 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004726/0.6183, allocations: 238 kB / 403.3 MB, free: 15.2 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.6186, allocations: 0.6859 MB / 403.9 MB, free: 14.48 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.851e-05/0.6187, allocations: 27.36 kB / 404 MB, free: 14.46 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.6187, allocations: 0 / 404 MB, free: 14.46 MB / 318.1 MB Notification: Performance of Templates: time 0.03339/0.6521, allocations: 18.21 MB / 422.2 MB, free: 12.21 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TXCalcHelperMain.o OMCppModelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TXCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TXCalcHelperMain.o] Error 1