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.001398/0.001398, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.001422/0.001422, allocations: 194 kB / 18.72 MB, free: 4.762 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.925/1.925, allocations: 205.1 MB / 224.6 MB, free: 12.4 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.001325/0.001325, allocations: 47.92 kB / 280.6 MB, free: 3.602 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1383, allocations: 46.64 MB / 327.2 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.003432/0.1418, allocations: 1.416 MB / 328.7 MB, free: 3.473 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.4902/0.632, allocations: 148.1 MB / 476.8 MB, free: 2.02 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.895e-05/0.6322, allocations: 0 / 476.8 MB, free: 2.02 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.856e-05/0.6323, allocations: 3.938 kB / 476.8 MB, free: 2.016 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000996/0.6333, allocations: 207.1 kB / 477 MB, free: 1.812 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00159/0.6349, allocations: 0.5204 MB / 477.5 MB, free: 1.293 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 8.735e-05/0.635, allocations: 59.67 kB / 477.6 MB, free: 1.234 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.407e-05/0.635, allocations: 0 / 477.6 MB, free: 1.234 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.358e-05/0.6351, allocations: 31.91 kB / 477.6 MB, free: 1.203 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.088e-05/0.6352, allocations: 23.92 kB / 477.6 MB, free: 1.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.6352, allocations: 4 kB / 477.6 MB, free: 1.176 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001541/0.6367, allocations: 0.7875 MB / 478.4 MB, free: 396 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.009e-05/0.6368, allocations: 15.92 kB / 478.4 MB, free: 380 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.206e-05/0.6368, allocations: 15.92 kB / 478.4 MB, free: 364 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006351/0.6375, allocations: 423.2 kB / 478.8 MB, free: 15.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.6375, allocations: 0 / 478.8 MB, free: 15.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.6375, allocations: 4 kB / 478.9 MB, free: 15.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.6375, allocations: 0 / 478.9 MB, free: 15.94 MB / 382.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.0006754/0.6382, allocations: 451.9 kB / 479.3 MB, free: 15.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.6382, allocations: 8.031 kB / 479.3 MB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/0.6394, allocations: 96.7 kB / 479.4 MB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003328/0.6397, allocations: 232.2 kB / 479.6 MB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.6398, allocations: 3.938 kB / 479.6 MB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.118e-05/0.6398, allocations: 8 kB / 479.6 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002457/0.64, allocations: 87.33 kB / 479.7 MB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.6401, allocations: 0 / 479.7 MB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.6401, allocations: 4 kB / 479.7 MB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.6401, allocations: 0 / 479.7 MB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001841/0.6403, allocations: 52.62 kB / 479.8 MB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003106/0.6406, allocations: 214.7 kB / 480 MB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005244/0.6411, allocations: 121.1 kB / 480.1 MB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.6413, allocations: 49.62 kB / 480.2 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008111/0.6421, allocations: 0.9862 MB / 481.1 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.6421, allocations: 34.56 kB / 481.2 MB, free: 13.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.6421, allocations: 0 / 481.2 MB, free: 13.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.000694/0.6428, allocations: 125.5 kB / 481.3 MB, free: 13.08 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.604e-05/0.6429, allocations: 81.11 kB / 481.4 MB, free: 12.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002849/0.6432, allocations: 157.7 kB / 481.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.6433, allocations: 29.7 kB / 481.6 MB, free: 12.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.561e-05/0.6433, allocations: 84.14 kB / 481.6 MB, free: 12.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.159e-05/0.6434, allocations: 23.73 kB / 481.7 MB, free: 12.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-05/0.6434, allocations: 33.59 kB / 481.7 MB, free: 12.64 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.6436, allocations: 318.8 kB / 482 MB, free: 12.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.6437, allocations: 23.97 kB / 482 MB, free: 12.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.6438, allocations: 59.41 kB / 482.1 MB, free: 12.22 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002411/0.6441, allocations: 85.89 kB / 482.2 MB, free: 12.13 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.6441, allocations: 3.938 kB / 482.2 MB, free: 12.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000358/0.6445, allocations: 125.9 kB / 482.3 MB, free: 12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.6445, allocations: 4 kB / 482.3 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.6445, allocations: 0 / 482.3 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.6445, allocations: 4 kB / 482.3 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.6447, allocations: 23.97 kB / 482.3 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.6447, allocations: 4 kB / 482.3 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.6449, allocations: 7.984 kB / 482.3 MB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.43e-05/0.6449, allocations: 8 kB / 482.3 MB, free: 11.95 MB / 382.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.0001029/0.645, allocations: 121.8 kB / 482.5 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.016e-05/0.6451, allocations: 11.84 kB / 482.5 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006602/0.6458, allocations: 231.9 kB / 482.7 MB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.6458, allocations: 8 kB / 482.7 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.6458, allocations: 0 / 482.7 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.6458, allocations: 0 / 482.7 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002405/0.646, allocations: 227.4 kB / 482.9 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.6461, allocations: 0 / 482.9 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001834/0.6462, allocations: 19.97 kB / 483 MB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.6463, allocations: 0 / 483 MB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.6463, allocations: 9.062 kB / 483 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.6463, allocations: 0 / 483 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.6463, allocations: 3.984 kB / 483 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004488/0.6467, allocations: 181.8 kB / 483.1 MB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.991e-05/0.6468, allocations: 93.02 kB / 483.2 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.001e-05/0.6469, allocations: 0 / 483.2 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.6471, allocations: 11.94 kB / 483.2 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.661e-05/0.6471, allocations: 7.984 kB / 483.3 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.6472, allocations: 4.062 kB / 483.3 MB, free: 10.94 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001841/0.6473, allocations: 139.2 kB / 483.4 MB, free: 10.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6474, allocations: 0 / 483.4 MB, free: 10.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006262/0.648, allocations: 167.9 kB / 483.6 MB, free: 10.64 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.0009655/0.649, allocations: 395.8 kB / 483.9 MB, free: 10.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000309/0.6493, allocations: 75.88 kB / 484 MB, free: 10.17 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6493, allocations: 0 / 484 MB, free: 10.17 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.6494, allocations: 39.91 kB / 484.1 MB, free: 10.13 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.6497, allocations: 16.8 kB / 484.1 MB, free: 10.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006437/0.6503, allocations: 336.3 kB / 484.4 MB, free: 9.758 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.6506, allocations: 0.6926 MB / 485.1 MB, free: 9.039 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.6508, allocations: 43.39 kB / 485.1 MB, free: 8.996 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.6508, allocations: 0 / 485.1 MB, free: 8.996 MB / 382.1 MB Notification: Performance of Templates: time 0.007849/0.6587, allocations: 4.684 MB / 489.8 MB, free: 4.305 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