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.0009269/0.0009271, allocations: 86.89 kB / 17.58 MB, free: 5.746 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.0009501/0.0009501, allocations: 178.7 kB / 18.47 MB, free: 5.199 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.657/1.657, allocations: 205.4 MB / 224.6 MB, free: 13.05 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.0004784/0.0004786, allocations: 16 kB / 281.4 MB, free: 3.719 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.141, allocations: 47.58 MB / 329 MB, free: 4.066 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001802/0.1429, allocations: 1.066 MB / 330 MB, free: 2.988 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.4043/0.5472, allocations: 136.5 MB / 466.6 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.086e-05/0.5473, allocations: 4 kB / 466.6 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.196e-05/0.5474, allocations: 4 kB / 466.6 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009078/0.5483, allocations: 187.6 kB / 466.8 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001507/0.5498, allocations: 475.4 kB / 467.2 MB, free: 68 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.774e-05/0.5499, allocations: 63.64 kB / 467.3 MB, free: 4 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.889e-05/0.5499, allocations: 4 kB / 467.3 MB, free: 0 / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.674e-05/0.55, allocations: 19.98 kB / 467.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.604e-05/0.5501, allocations: 31.84 kB / 467.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.5501, allocations: 0 / 467.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001317/0.5515, allocations: 0.616 MB / 468 MB, free: 15.33 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.037e-05/0.5515, allocations: 11.98 kB / 468 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.845e-05/0.5515, allocations: 33.7 kB / 468 MB, free: 15.28 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006164/0.5522, allocations: 361 kB / 468.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.5522, allocations: 3.938 kB / 468.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5522, allocations: 3.938 kB / 468.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.022e-06/0.5522, allocations: 0 / 468.4 MB, free: 14.92 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.0005997/0.5528, allocations: 439.8 kB / 468.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.5529, allocations: 8.031 kB / 468.8 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009413/0.5538, allocations: 104.3 kB / 468.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003561/0.5542, allocations: 227.3 kB / 469.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.5542, allocations: 0 / 469.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.677e-05/0.5542, allocations: 8 kB / 469.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/0.5544, allocations: 91.33 kB / 469.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.5545, allocations: 0 / 469.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.5545, allocations: 0 / 469.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.5545, allocations: 4 kB / 469.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001467/0.5546, allocations: 47.89 kB / 469.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002727/0.5549, allocations: 210.7 kB / 469.5 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004416/0.5554, allocations: 133 kB / 469.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.5555, allocations: 37.75 kB / 469.7 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000692/0.5562, allocations: 0.9862 MB / 470.6 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.5562, allocations: 34.56 kB / 470.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.5562, allocations: 0 / 470.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004227/0.5567, allocations: 129.4 kB / 470.8 MB, free: 12.08 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/0.5567, allocations: 81.11 kB / 470.9 MB, free: 11.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.5569, allocations: 157.8 kB / 471 MB, free: 11.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.557, allocations: 25.7 kB / 471.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.484e-05/0.557, allocations: 88.14 kB / 471.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.034e-05/0.5571, allocations: 19.66 kB / 471.2 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.895e-06/0.5571, allocations: 4 kB / 471.2 MB, free: 11.67 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.5573, allocations: 318.8 kB / 471.5 MB, free: 11.35 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.791e-05/0.5574, allocations: 31.97 kB / 471.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.72e-05/0.5575, allocations: 51.41 kB / 471.6 MB, free: 11.26 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.5576, allocations: 31.92 kB / 471.6 MB, free: 11.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5576, allocations: 0 / 471.6 MB, free: 11.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002755/0.5579, allocations: 117.6 kB / 471.7 MB, free: 11.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.5579, allocations: 8 kB / 471.7 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.5579, allocations: 0 / 471.7 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.558, allocations: 0 / 471.7 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.5581, allocations: 23.97 kB / 471.7 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.5581, allocations: 8.703 kB / 471.8 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.5582, allocations: 11.91 kB / 471.8 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/0.5583, allocations: 7.984 kB / 471.8 MB, free: 11.05 MB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001054/0.5584, allocations: 121.9 kB / 471.9 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.342e-05/0.5584, allocations: 4 kB / 471.9 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006185/0.5591, allocations: 239.8 kB / 472.1 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.5591, allocations: 3.938 kB / 472.1 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.5591, allocations: 7.984 kB / 472.1 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.5591, allocations: 4.516 kB / 472.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002519/0.5594, allocations: 211.6 kB / 472.4 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.5594, allocations: 0 / 472.4 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001563/0.5595, allocations: 35.53 kB / 472.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.5595, allocations: 0 / 472.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.5596, allocations: 3.984 kB / 472.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.5596, allocations: 7.938 kB / 472.4 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5596, allocations: 0 / 472.4 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000385/0.56, allocations: 181.8 kB / 472.6 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.148e-05/0.5601, allocations: 101 kB / 472.7 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.257e-05/0.5601, allocations: 0 / 472.7 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.5603, allocations: 7.984 kB / 472.7 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.28e-05/0.5603, allocations: 7.984 kB / 472.7 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.5603, allocations: 4 kB / 472.7 MB, free: 10.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001509/0.5605, allocations: 135.8 kB / 472.8 MB, free: 9.898 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5605, allocations: 0 / 472.8 MB, free: 9.898 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005242/0.561, allocations: 163.9 kB / 473 MB, free: 9.738 MB / 366.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.0008988/0.5619, allocations: 370.4 kB / 473.3 MB, free: 9.367 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002484/0.5622, allocations: 79.86 kB / 473.4 MB, free: 9.289 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5622, allocations: 0 / 473.4 MB, free: 9.289 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.5623, allocations: 39.91 kB / 473.5 MB, free: 9.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002322/0.5626, allocations: 11.94 kB / 473.5 MB, free: 9.238 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007265/0.5633, allocations: 394.6 kB / 473.9 MB, free: 8.828 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.5636, allocations: 0.6926 MB / 474.6 MB, free: 8.109 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.5638, allocations: 47.39 kB / 474.6 MB, free: 8.062 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.5638, allocations: 0 / 474.6 MB, free: 8.062 MB / 366.1 MB Notification: Performance of Templates: time 0.007465/0.5713, allocations: 4.673 MB / 479.3 MB, free: 3.383 MB / 366.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++ 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_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