Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.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.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 91.72 kB / 16.95 MB, free: 5.605 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.001169/0.001169, allocations: 184.6 kB / 17.85 MB, free: 5.277 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.591/1.591, allocations: 223.2 MB / 241.9 MB, free: 336 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002821/0.0002822, allocations: 8 kB / 301.4 MB, free: 6.457 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1354, allocations: 50.41 MB / 351.9 MB, free: 4.027 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.00165/0.1371, allocations: 1.064 MB / 352.9 MB, free: 2.953 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.437/0.5741, allocations: 135.1 MB / 488 MB, free: 13.99 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.889e-05/0.5742, allocations: 0 / 488 MB, free: 13.99 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.68e-05/0.5743, allocations: 11.86 kB / 488 MB, free: 13.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008699/0.5751, allocations: 186.6 kB / 488.2 MB, free: 13.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008852/0.576, allocations: 282.4 kB / 488.5 MB, free: 13.53 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 8.785e-05/0.5761, allocations: 55.7 kB / 488.5 MB, free: 13.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.323e-05/0.5762, allocations: 0 / 488.5 MB, free: 13.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.703e-05/0.5762, allocations: 19.94 kB / 488.5 MB, free: 13.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.129e-05/0.5763, allocations: 31.89 kB / 488.6 MB, free: 13.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.5763, allocations: 4 kB / 488.6 MB, free: 13.42 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009369/0.5773, allocations: 479.1 kB / 489.1 MB, free: 12.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.05e-05/0.5773, allocations: 4 kB / 489.1 MB, free: 12.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.556e-05/0.5774, allocations: 41.69 kB / 489.1 MB, free: 12.9 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004435/0.5778, allocations: 288.9 kB / 489.4 MB, free: 12.62 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.176e-06/0.5778, allocations: 0 / 489.4 MB, free: 12.62 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5778, allocations: 0 / 489.4 MB, free: 12.62 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.5778, allocations: 0 / 489.4 MB, free: 12.62 MB / 398.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.0005518/0.5784, allocations: 415.7 kB / 489.8 MB, free: 12.17 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.5784, allocations: 8.031 kB / 489.8 MB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000933/0.5794, allocations: 100.3 kB / 489.9 MB, free: 12.06 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.5797, allocations: 222.9 kB / 490.1 MB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.5797, allocations: 0 / 490.1 MB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.5798, allocations: 4 kB / 490.1 MB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/0.58, allocations: 91.27 kB / 490.2 MB, free: 11.7 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.58, allocations: 4 kB / 490.2 MB, free: 11.7 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.58, allocations: 3.953 kB / 490.2 MB, free: 11.69 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.5801, allocations: 4 kB / 490.2 MB, free: 11.69 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001642/0.5802, allocations: 47.89 kB / 490.3 MB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002759/0.5805, allocations: 203 kB / 490.5 MB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004497/0.581, allocations: 121.1 kB / 490.6 MB, free: 11.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.5811, allocations: 45.67 kB / 490.6 MB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007367/0.5818, allocations: 0.9862 MB / 491.6 MB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.5819, allocations: 30.56 kB / 491.6 MB, free: 9.953 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.5819, allocations: 0 / 491.6 MB, free: 9.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004429/0.5823, allocations: 145.4 kB / 491.8 MB, free: 9.805 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.5824, allocations: 81.05 kB / 491.9 MB, free: 9.707 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/0.5826, allocations: 153.8 kB / 492 MB, free: 9.547 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.5826, allocations: 29.7 kB / 492 MB, free: 9.512 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.884e-05/0.5827, allocations: 80.14 kB / 492.1 MB, free: 9.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.946e-05/0.5827, allocations: 23.66 kB / 492.1 MB, free: 9.406 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.046e-06/0.5827, allocations: 0 / 492.1 MB, free: 9.406 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.5829, allocations: 326.8 kB / 492.5 MB, free: 9.078 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.92e-05/0.583, allocations: 27.95 kB / 492.5 MB, free: 9.051 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.5831, allocations: 51.41 kB / 492.5 MB, free: 8.988 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.851e-05/0.5832, allocations: 31.92 kB / 492.6 MB, free: 8.957 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.5832, allocations: 0 / 492.6 MB, free: 8.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003077/0.5835, allocations: 121.5 kB / 492.7 MB, free: 8.832 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.5835, allocations: 6.5 kB / 492.7 MB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.5836, allocations: 4 kB / 492.7 MB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.5836, allocations: 3.953 kB / 492.7 MB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.5837, allocations: 27.97 kB / 492.7 MB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.5837, allocations: 7.922 kB / 492.7 MB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.5839, allocations: 4 kB / 492.7 MB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.39e-05/0.5839, allocations: 11.98 kB / 492.7 MB, free: 8.77 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 8 * 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 9.332e-05/0.584, allocations: 113.9 kB / 492.9 MB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/0.5841, allocations: 7.906 kB / 492.9 MB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005593/0.5846, allocations: 235.2 kB / 493.1 MB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.397e-06/0.5846, allocations: 7.953 kB / 493.1 MB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.5846, allocations: 7.484 kB / 493.1 MB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.5847, allocations: 0 / 493.1 MB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/0.5849, allocations: 207.1 kB / 493.3 MB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.5849, allocations: 0 / 493.3 MB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/0.585, allocations: 23.91 kB / 493.3 MB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.199e-06/0.5851, allocations: 4.516 kB / 493.3 MB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.5851, allocations: 3.984 kB / 493.3 MB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.5851, allocations: 3.938 kB / 493.3 MB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5851, allocations: 3.953 kB / 493.4 MB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003909/0.5855, allocations: 181.8 kB / 493.5 MB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.235e-05/0.5856, allocations: 93.03 kB / 493.6 MB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.825e-05/0.5856, allocations: 11.92 kB / 493.6 MB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.5858, allocations: 7.984 kB / 493.6 MB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.228e-05/0.5858, allocations: 16 kB / 493.7 MB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.5859, allocations: 4 kB / 493.7 MB, free: 7.762 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000145/0.586, allocations: 127.2 kB / 493.8 MB, free: 7.637 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.586, allocations: 0 / 493.8 MB, free: 7.637 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004912/0.5865, allocations: 127.9 kB / 493.9 MB, free: 7.512 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0006769/0.5872, allocations: 303 kB / 494.2 MB, free: 7.215 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002526/0.5875, allocations: 71.88 kB / 494.3 MB, free: 7.145 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.5875, allocations: 4 kB / 494.3 MB, free: 7.141 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.5876, allocations: 39.91 kB / 494.3 MB, free: 7.102 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.5878, allocations: 8.781 kB / 494.3 MB, free: 7.094 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006091/0.5884, allocations: 402.5 kB / 494.7 MB, free: 6.668 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005102/0.5889, allocations: 0.6887 MB / 495.4 MB, free: 5.953 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/0.5891, allocations: 43.39 kB / 495.5 MB, free: 5.91 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.5891, allocations: 0 / 495.5 MB, free: 5.91 MB / 398.1 MB Notification: Performance of Templates: time 0.007062/0.5962, allocations: 4.113 MB / 499.6 MB, free: 1.801 MB / 398.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TCalcHelperMain.o] Error 1