Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 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.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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.001468/0.001469, allocations: 95.94 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.001364/0.001364, allocations: 178.8 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 2.11/2.11, allocations: 205.4 MB / 225 MB, free: 13.07 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.0007221/0.000722, allocations: 16 kB / 282 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1534, allocations: 47.58 MB / 329.6 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001727/0.1552, allocations: 1.078 MB / 330.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.5158/0.671, allocations: 146.5 MB / 477.2 MB, free: 6.227 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.01e-05/0.6712, allocations: 4 kB / 477.2 MB, free: 6.223 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.677e-05/0.6712, allocations: 3.984 kB / 477.2 MB, free: 6.219 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001373/0.6726, allocations: 205.1 kB / 477.4 MB, free: 6.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002246/0.6749, allocations: 0.5301 MB / 477.9 MB, free: 5.492 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001305/0.675, allocations: 59.66 kB / 478 MB, free: 5.434 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.901e-05/0.6751, allocations: 4 kB / 478 MB, free: 5.43 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.309e-05/0.6752, allocations: 19.92 kB / 478 MB, free: 5.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.6753, allocations: 27.91 kB / 478 MB, free: 5.383 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.6753, allocations: 5.125 kB / 478.1 MB, free: 5.379 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00161/0.6769, allocations: 0.7952 MB / 478.8 MB, free: 4.582 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.57e-05/0.677, allocations: 3.984 kB / 478.9 MB, free: 4.578 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.919e-05/0.677, allocations: 53.58 kB / 478.9 MB, free: 4.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006537/0.6777, allocations: 419.2 kB / 479.3 MB, free: 4.109 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.6777, allocations: 0 / 479.3 MB, free: 4.109 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.45e-06/0.6777, allocations: 0 / 479.3 MB, free: 4.109 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.6777, allocations: 3.938 kB / 479.3 MB, free: 4.105 MB / 366.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.0006949/0.6784, allocations: 439.9 kB / 479.7 MB, free: 3.629 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.6785, allocations: 8.031 kB / 479.8 MB, free: 3.621 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/0.6796, allocations: 100.7 kB / 479.9 MB, free: 3.523 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003113/0.6799, allocations: 212.5 kB / 480.1 MB, free: 3.277 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.6799, allocations: 9.25 kB / 480.1 MB, free: 3.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.049e-05/0.68, allocations: 4 kB / 480.1 MB, free: 3.266 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002603/0.6802, allocations: 91.33 kB / 480.2 MB, free: 3.164 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.6803, allocations: 7.922 kB / 480.2 MB, free: 3.156 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.6803, allocations: 4 kB / 480.2 MB, free: 3.152 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.6803, allocations: 0.875 kB / 480.2 MB, free: 3.152 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000169/0.6805, allocations: 47.94 kB / 480.2 MB, free: 3.105 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002969/0.6808, allocations: 218.6 kB / 480.4 MB, free: 2.836 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004971/0.6813, allocations: 125 kB / 480.6 MB, free: 2.695 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.6814, allocations: 41.75 kB / 480.6 MB, free: 2.648 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008078/0.6822, allocations: 0.9901 MB / 481.6 MB, free: 1.438 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.6823, allocations: 30.56 kB / 481.6 MB, free: 1.398 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.6823, allocations: 0 / 481.6 MB, free: 1.398 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004928/0.6828, allocations: 133.5 kB / 481.7 MB, free: 1.262 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.456e-05/0.6829, allocations: 85.05 kB / 481.8 MB, free: 1.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002268/0.6831, allocations: 150.5 kB / 482 MB, free: 1.004 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.6831, allocations: 25.7 kB / 482 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.428e-05/0.6832, allocations: 84.14 kB / 482.1 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.022e-05/0.6832, allocations: 31.58 kB / 482.1 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.347e-05/0.6833, allocations: 9.719 kB / 482.1 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.6834, allocations: 326.8 kB / 482.4 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.439e-05/0.6835, allocations: 19.98 kB / 482.5 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.6837, allocations: 51.41 kB / 482.5 MB, free: 440 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002543/0.6839, allocations: 91.33 kB / 482.6 MB, free: 336 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.6839, allocations: 3.938 kB / 482.6 MB, free: 332 kB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000313/0.6843, allocations: 117.9 kB / 482.7 MB, free: 208 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.6843, allocations: 8 kB / 482.7 MB, free: 200 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.6843, allocations: 0 / 482.7 MB, free: 200 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.6843, allocations: 0 / 482.7 MB, free: 200 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.6845, allocations: 29.33 kB / 482.8 MB, free: 172 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.6845, allocations: 8.406 kB / 482.8 MB, free: 164 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00017/0.6847, allocations: 12.06 kB / 482.8 MB, free: 152 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.886e-05/0.6847, allocations: 7.984 kB / 482.8 MB, free: 144 kB / 366.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001051/0.6848, allocations: 113.8 kB / 482.9 MB, free: 20 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.044e-05/0.6848, allocations: 7.906 kB / 482.9 MB, free: 12 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000621/0.6855, allocations: 237.2 kB / 483.1 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.6855, allocations: 7.984 kB / 483.1 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.6855, allocations: 4 kB / 483.1 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.6855, allocations: 0 / 483.1 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002361/0.6858, allocations: 212.3 kB / 483.4 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.6858, allocations: 4 kB / 483.4 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001696/0.6859, allocations: 27.91 kB / 483.4 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.686, allocations: 3.984 kB / 483.4 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.686, allocations: 0 / 483.4 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.686, allocations: 12.06 kB / 483.4 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.686, allocations: 0 / 483.4 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004259/0.6864, allocations: 185.6 kB / 483.6 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.656e-05/0.6865, allocations: 97.03 kB / 483.7 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.542e-05/0.6866, allocations: 0 / 483.7 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.6867, allocations: 12.05 kB / 483.7 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.383e-05/0.6868, allocations: 7.984 kB / 483.7 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.6868, allocations: 7.938 kB / 483.7 MB, free: 15.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001763/0.687, allocations: 131.2 kB / 483.8 MB, free: 14.99 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.687, allocations: 0 / 483.8 MB, free: 14.99 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000641/0.6877, allocations: 167.9 kB / 484 MB, free: 14.83 MB / 382.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 (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.0008992/0.6886, allocations: 377.7 kB / 484.4 MB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002722/0.6888, allocations: 75.88 kB / 484.4 MB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.6889, allocations: 0 / 484.4 MB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.689, allocations: 43.91 kB / 484.5 MB, free: 14.33 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.6892, allocations: 20.06 kB / 484.5 MB, free: 14.31 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006805/0.6899, allocations: 385.8 kB / 484.9 MB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.6903, allocations: 0.6887 MB / 485.6 MB, free: 13.19 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.6904, allocations: 43.39 kB / 485.6 MB, free: 13.15 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.6904, allocations: 0 / 485.6 MB, free: 13.15 MB / 382.1 MB Notification: Performance of Templates: time 0.008072/0.6985, allocations: 4.684 MB / 490.3 MB, free: 8.453 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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.SolveOneNonlinearEquation.Inverse_sh_TCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TCalcHelperMain.o] Error 1