Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_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.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009095/0.0009098, allocations: 88.89 kB / 17.58 MB, free: 5.805 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.001015/0.001015, allocations: 180.7 kB / 18.48 MB, free: 5.254 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.689/1.689, allocations: 205.4 MB / 224.6 MB, free: 13.02 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.0004498/0.0004498, allocations: 12 kB / 281.4 MB, free: 3.703 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1072, allocations: 47.58 MB / 329 MB, free: 4.055 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.00127/0.1085, allocations: 1.066 MB / 330 MB, free: 2.977 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007872/0.1164, allocations: 6.628 MB / 336.7 MB, free: 12.32 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.866e-05/0.1165, allocations: 0 / 336.7 MB, free: 12.32 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.204e-05/0.1165, allocations: 7.938 kB / 336.7 MB, free: 12.31 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009543/0.1175, allocations: 231.2 kB / 336.9 MB, free: 12.08 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.1189, allocations: 0.5374 MB / 337.4 MB, free: 11.54 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.736e-05/0.119, allocations: 47.73 kB / 337.5 MB, free: 11.5 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.985e-05/0.119, allocations: 4 kB / 337.5 MB, free: 11.49 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.1192, allocations: 35.84 kB / 337.5 MB, free: 11.46 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000777/0.1199, allocations: 387.5 kB / 337.9 MB, free: 11.08 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.12, allocations: 0 / 337.9 MB, free: 11.08 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009341/0.1209, allocations: 0.5536 MB / 338.5 MB, free: 10.52 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.471e-05/0.1209, allocations: 15.98 kB / 338.5 MB, free: 10.51 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.696e-05/0.121, allocations: 33.64 kB / 338.5 MB, free: 10.47 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005132/0.1215, allocations: 339.6 kB / 338.8 MB, free: 10.14 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1215, allocations: 0 / 338.8 MB, free: 10.14 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1215, allocations: 0 / 338.8 MB, free: 10.14 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.363e-06/0.1215, allocations: 0 / 338.8 MB, free: 10.14 MB / 286.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.0005047/0.122, allocations: 459 kB / 339.3 MB, free: 9.641 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.1221, allocations: 8.031 kB / 339.3 MB, free: 9.633 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.454e-05/0.1221, allocations: 3.906 kB / 339.3 MB, free: 9.629 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.1223, allocations: 190.9 kB / 339.5 MB, free: 9.402 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.1223, allocations: 4 kB / 339.5 MB, free: 9.398 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.1224, allocations: 4 kB / 339.5 MB, free: 9.395 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.1225, allocations: 63.39 kB / 339.6 MB, free: 9.32 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-06/0.1225, allocations: 0 / 339.6 MB, free: 9.32 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.412e-06/0.1225, allocations: 7.922 kB / 339.6 MB, free: 9.312 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.415e-06/0.1225, allocations: 0 / 339.6 MB, free: 9.312 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.122e-05/0.1226, allocations: 19.98 kB / 339.6 MB, free: 9.293 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001716/0.1228, allocations: 182.5 kB / 339.8 MB, free: 9.062 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002949/0.1231, allocations: 81.12 kB / 339.8 MB, free: 8.965 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.468e-05/0.1231, allocations: 21.77 kB / 339.9 MB, free: 8.938 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001215/0.1244, allocations: 1.544 MB / 341.4 MB, free: 7.043 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.1244, allocations: 30.56 kB / 341.4 MB, free: 7.004 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.1244, allocations: 0 / 341.4 MB, free: 7.004 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002667/0.1247, allocations: 85.5 kB / 341.5 MB, free: 6.914 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.203e-05/0.1248, allocations: 77.11 kB / 341.6 MB, free: 6.82 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.681e-05/0.1249, allocations: 113.8 kB / 341.7 MB, free: 6.699 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.1249, allocations: 29.7 kB / 341.7 MB, free: 6.664 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.262e-05/0.1249, allocations: 88.12 kB / 341.8 MB, free: 6.574 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.305e-05/0.125, allocations: 19.66 kB / 341.8 MB, free: 6.555 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.555e-06/0.125, allocations: 4 kB / 341.8 MB, free: 6.551 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1251, allocations: 326.7 kB / 342.2 MB, free: 6.223 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.188e-05/0.1252, allocations: 15.94 kB / 342.2 MB, free: 6.207 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.83e-05/0.1253, allocations: 35.73 kB / 342.2 MB, free: 6.16 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.121e-05/0.1253, allocations: 23.98 kB / 342.2 MB, free: 6.137 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1253, allocations: 0 / 342.2 MB, free: 6.137 MB / 286.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001741/0.1255, allocations: 77.52 kB / 342.3 MB, free: 6.055 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.1256, allocations: 8 kB / 342.3 MB, free: 6.047 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.1256, allocations: 0 / 342.3 MB, free: 6.047 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.1256, allocations: 7.984 kB / 342.3 MB, free: 6.039 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.497e-05/0.1257, allocations: 20 kB / 342.4 MB, free: 6.02 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.1257, allocations: 160 / 342.4 MB, free: 6.02 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.947e-05/0.1257, allocations: 4 kB / 342.4 MB, free: 6.016 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.1257, allocations: 7.984 kB / 342.4 MB, free: 6.008 MB / 286.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.0001053/0.1258, allocations: 113.8 kB / 342.5 MB, free: 5.887 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.186e-05/0.1259, allocations: 4 kB / 342.5 MB, free: 5.883 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003115/0.1262, allocations: 129.8 kB / 342.6 MB, free: 5.754 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.1262, allocations: 4.078 kB / 342.6 MB, free: 5.75 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.1262, allocations: 4 kB / 342.6 MB, free: 5.746 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1262, allocations: 0 / 342.6 MB, free: 5.746 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.1264, allocations: 181.5 kB / 342.8 MB, free: 5.52 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.1264, allocations: 0 / 342.8 MB, free: 5.52 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.975e-05/0.1265, allocations: 11.98 kB / 342.8 MB, free: 5.508 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.1265, allocations: 4 kB / 342.8 MB, free: 5.504 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.1265, allocations: 0 / 342.8 MB, free: 5.504 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.1265, allocations: 7.984 kB / 342.8 MB, free: 5.496 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1265, allocations: 0 / 342.8 MB, free: 5.496 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.1268, allocations: 141.8 kB / 343 MB, free: 5.336 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.883e-05/0.1269, allocations: 97.08 kB / 343 MB, free: 5.223 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.1269, allocations: 4 kB / 343.1 MB, free: 5.219 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.455e-05/0.1269, allocations: 3.938 kB / 343.1 MB, free: 5.215 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.127, allocations: 12.05 kB / 343.1 MB, free: 5.203 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.834e-06/0.127, allocations: 4 kB / 343.1 MB, free: 5.199 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.919e-05/0.127, allocations: 91.27 kB / 343.2 MB, free: 5.109 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.127, allocations: 0 / 343.2 MB, free: 5.109 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004602/0.1275, allocations: 167.9 kB / 343.3 MB, free: 4.945 MB / 286.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 (7): * Single equations (assignments): 6 * 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.0007114/0.1282, allocations: 356.1 kB / 343.7 MB, free: 4.594 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001839/0.1284, allocations: 47.91 kB / 343.7 MB, free: 4.547 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1284, allocations: 0 / 343.7 MB, free: 4.547 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.496e-05/0.1285, allocations: 27.92 kB / 343.7 MB, free: 4.52 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/0.1287, allocations: 8 kB / 343.8 MB, free: 4.512 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005429/0.1293, allocations: 387.4 kB / 344.1 MB, free: 4.098 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.1296, allocations: 0.6887 MB / 344.8 MB, free: 3.383 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.374e-05/0.1297, allocations: 27.42 kB / 344.8 MB, free: 3.355 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1297, allocations: 0 / 344.8 MB, free: 3.355 MB / 286.1 MB Notification: Performance of Templates: time 0.005662/0.1354, allocations: 3.482 MB / 348.3 MB, free: 15.87 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_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.InverseIncompressible_sh_TCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_TCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_TCalcHelperMain.o] Error 1