Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.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 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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009554/0.0009551, allocations: 91.56 kB / 16.95 MB, free: 5.645 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.001235/0.001236, allocations: 182.6 kB / 17.85 MB, free: 5.301 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.722/1.722, allocations: 223.3 MB / 241.9 MB, free: 14.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003663/0.0003665, allocations: 8.5 kB / 301.4 MB, free: 6.234 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1435, allocations: 50.42 MB / 351.9 MB, free: 3.797 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.00169/0.1453, allocations: 1.068 MB / 352.9 MB, free: 2.719 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.4295/0.5748, allocations: 135.4 MB / 488.3 MB, free: 13.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.195e-05/0.575, allocations: 0 / 488.3 MB, free: 13.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.046e-05/0.575, allocations: 4 kB / 488.3 MB, free: 13.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00138/0.5764, allocations: 256.7 kB / 488.6 MB, free: 13.46 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001476/0.5779, allocations: 363.5 kB / 488.9 MB, free: 13.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.5781, allocations: 75.7 kB / 489 MB, free: 13.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.533e-05/0.5781, allocations: 0 / 489 MB, free: 13.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.974e-05/0.5782, allocations: 47.83 kB / 489.1 MB, free: 12.99 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.5784, allocations: 31.86 kB / 489.1 MB, free: 12.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.5784, allocations: 4 kB / 489.1 MB, free: 12.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002352/0.5807, allocations: 0.764 MB / 489.9 MB, free: 12.19 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.688e-05/0.5808, allocations: 19.92 kB / 489.9 MB, free: 12.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.666e-05/0.5809, allocations: 33.7 kB / 489.9 MB, free: 12.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001359/0.5822, allocations: 452.6 kB / 490.4 MB, free: 11.69 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.5823, allocations: 0 / 490.4 MB, free: 11.69 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.5823, allocations: 0 / 490.4 MB, free: 11.69 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.5823, allocations: 0 / 490.4 MB, free: 11.69 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.0009969/0.5833, allocations: 447.5 kB / 490.8 MB, free: 11.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.738e-05/0.5834, allocations: 12.03 kB / 490.8 MB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007071/0.5841, allocations: 59.92 kB / 490.9 MB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003274/0.5844, allocations: 194.9 kB / 491.1 MB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.041e-05/0.5845, allocations: 8 kB / 491.1 MB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.5845, allocations: 6.719 kB / 491.1 MB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002162/0.5847, allocations: 67.39 kB / 491.1 MB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.5848, allocations: 0 / 491.1 MB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.5848, allocations: 3.953 kB / 491.1 MB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.5848, allocations: 0 / 491.1 MB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.5849, allocations: 47.91 kB / 491.2 MB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000312/0.5853, allocations: 194.6 kB / 491.4 MB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003952/0.5857, allocations: 109.1 kB / 491.5 MB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.5858, allocations: 37.77 kB / 491.5 MB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005939/0.5864, allocations: 133 kB / 491.6 MB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.5864, allocations: 34.56 kB / 491.7 MB, free: 10.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.5864, allocations: 0 / 491.7 MB, free: 10.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.000478/0.5869, allocations: 125.8 kB / 491.8 MB, free: 10.04 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.655e-05/0.587, allocations: 81.11 kB / 491.9 MB, free: 9.938 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.5872, allocations: 149.8 kB / 492 MB, free: 9.781 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.5873, allocations: 25.7 kB / 492.1 MB, free: 9.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.417e-05/0.5873, allocations: 88.12 kB / 492.1 MB, free: 9.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.429e-05/0.5874, allocations: 23.66 kB / 492.2 MB, free: 9.637 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-06/0.5874, allocations: 0 / 492.2 MB, free: 9.637 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000216/0.5876, allocations: 322.8 kB / 492.5 MB, free: 9.312 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.677e-05/0.5877, allocations: 19.98 kB / 492.5 MB, free: 9.293 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.5879, allocations: 55.41 kB / 492.6 MB, free: 9.227 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.588, allocations: 31.92 kB / 492.6 MB, free: 9.195 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.588, allocations: 0 / 492.6 MB, free: 9.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003443/0.5884, allocations: 109.5 kB / 492.7 MB, free: 9.082 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.5884, allocations: 4 kB / 492.7 MB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.5884, allocations: 4.062 kB / 492.7 MB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.5884, allocations: 4 kB / 492.7 MB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.842e-05/0.5885, allocations: 15.98 kB / 492.7 MB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/0.5885, allocations: 11.83 kB / 492.7 MB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.571e-05/0.5886, allocations: 7.938 kB / 492.7 MB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.5886, allocations: 4 kB / 492.7 MB, free: 9.031 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 0.0001141/0.5888, allocations: 109.8 kB / 492.8 MB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.725e-05/0.5888, allocations: 7.906 kB / 492.9 MB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005233/0.5894, allocations: 121.8 kB / 493 MB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.5894, allocations: 0 / 493 MB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.5894, allocations: 4 kB / 493 MB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.5894, allocations: 3.953 kB / 493 MB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.5896, allocations: 173.7 kB / 493.2 MB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.5897, allocations: 0 / 493.2 MB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.5898, allocations: 20.48 kB / 493.2 MB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.5898, allocations: 0 / 493.2 MB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.5898, allocations: 0 / 493.2 MB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.5898, allocations: 3.375 kB / 493.2 MB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.5898, allocations: 8 kB / 493.2 MB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005042/0.5903, allocations: 161.7 kB / 493.3 MB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.5905, allocations: 93.02 kB / 493.4 MB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/0.5905, allocations: 7.938 kB / 493.4 MB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.207e-05/0.5906, allocations: 4 kB / 493.4 MB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.689e-05/0.5906, allocations: 12.05 kB / 493.5 MB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.5907, allocations: 0 / 493.5 MB, free: 8.215 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001103/0.5908, allocations: 111.3 kB / 493.6 MB, free: 8.105 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5908, allocations: 0 / 493.6 MB, free: 8.105 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008071/0.5916, allocations: 163.8 kB / 493.7 MB, free: 7.945 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 (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.001358/0.593, allocations: 354.7 kB / 494.1 MB, free: 7.598 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002677/0.5933, allocations: 63.91 kB / 494.1 MB, free: 7.535 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.5933, allocations: 0 / 494.1 MB, free: 7.535 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.5934, allocations: 36.19 kB / 494.2 MB, free: 7.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000406/0.5938, allocations: 27.86 kB / 494.2 MB, free: 7.473 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.5948, allocations: 400.9 kB / 494.6 MB, free: 7.047 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005123/0.5954, allocations: 0.6887 MB / 495.3 MB, free: 6.332 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.41e-05/0.5954, allocations: 23.44 kB / 495.3 MB, free: 6.309 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.5954, allocations: 0 / 495.3 MB, free: 6.309 MB / 398.1 MB Notification: Performance of Templates: time 0.01092/0.6064, allocations: 3.922 MB / 499.2 MB, free: 2.402 MB / 398.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.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/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_TXCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TXCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TXCalcHelperMain.o] Error 1