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.001088/0.001088, allocations: 96.48 kB / 17.95 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.001349/0.00135, allocations: 173.3 kB / 18.85 MB, free: 4.895 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.052/2.052, 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.0005526/0.0005526, allocations: 8 kB / 282 MB, free: 3.43 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1398, allocations: 47.59 MB / 329.6 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001819/0.1417, allocations: 1.078 MB / 330.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01025/0.1519, allocations: 7.188 MB / 337.9 MB, free: 11.45 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.243e-05/0.152, allocations: 0 / 337.9 MB, free: 11.45 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.275e-05/0.1521, allocations: 3.984 kB / 337.9 MB, free: 11.45 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001064/0.1531, allocations: 239.2 kB / 338.1 MB, free: 11.21 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.1547, allocations: 0.5882 MB / 338.7 MB, free: 10.62 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.1548, allocations: 59.66 kB / 338.8 MB, free: 10.56 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.029e-05/0.1548, allocations: 4 kB / 338.8 MB, free: 10.56 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.155, allocations: 35.91 kB / 338.8 MB, free: 10.52 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007917/0.1558, allocations: 407.1 kB / 339.2 MB, free: 10.12 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.1558, allocations: 4 kB / 339.2 MB, free: 10.12 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001156/0.157, allocations: 0.7251 MB / 339.9 MB, free: 9.395 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.863e-05/0.157, allocations: 11.94 kB / 339.9 MB, free: 9.383 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.062e-05/0.157, allocations: 37.64 kB / 340 MB, free: 9.34 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006168/0.1577, allocations: 399.5 kB / 340.4 MB, free: 8.949 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.1577, allocations: 0 / 340.4 MB, free: 8.949 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1577, allocations: 0 / 340.4 MB, free: 8.949 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.1577, allocations: 0 / 340.4 MB, free: 8.949 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.0006354/0.1583, allocations: 459.2 kB / 340.8 MB, free: 8.453 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.1584, allocations: 8.031 kB / 340.8 MB, free: 8.445 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.744e-05/0.1584, allocations: 8.844 kB / 340.8 MB, free: 8.438 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.1587, allocations: 188.3 kB / 341 MB, free: 8.215 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.1587, allocations: 4.375 kB / 341 MB, free: 8.211 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.1588, allocations: 4.281 kB / 341 MB, free: 8.207 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.1589, allocations: 71.45 kB / 341.1 MB, free: 8.125 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.1589, allocations: 0 / 341.1 MB, free: 8.125 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.159, allocations: 4 kB / 341.1 MB, free: 8.121 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.159, allocations: 0 / 341.1 MB, free: 8.121 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.833e-05/0.1591, allocations: 19.97 kB / 341.1 MB, free: 8.102 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002138/0.1593, allocations: 170.6 kB / 341.3 MB, free: 7.883 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003098/0.1596, allocations: 81.17 kB / 341.4 MB, free: 7.785 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.823e-05/0.1597, allocations: 29.77 kB / 341.4 MB, free: 7.75 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001249/0.1609, allocations: 1.54 MB / 342.9 MB, free: 5.859 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/0.161, allocations: 46.44 kB / 343 MB, free: 5.805 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.161, allocations: 0 / 343 MB, free: 5.805 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.000304/0.1613, allocations: 81.59 kB / 343 MB, free: 5.719 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.136e-05/0.1614, allocations: 81.11 kB / 343.1 MB, free: 5.621 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.1615, allocations: 109.8 kB / 343.2 MB, free: 5.504 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.1615, allocations: 29.64 kB / 343.3 MB, free: 5.469 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.625e-05/0.1616, allocations: 84.14 kB / 343.3 MB, free: 5.383 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.627e-05/0.1617, allocations: 27.64 kB / 343.4 MB, free: 5.355 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.1617, allocations: 9.719 kB / 343.4 MB, free: 5.34 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.1619, allocations: 322.8 kB / 343.7 MB, free: 5.016 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.563e-05/0.1619, allocations: 11.98 kB / 343.7 MB, free: 5.004 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.225e-05/0.162, allocations: 39.72 kB / 343.7 MB, free: 4.953 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.1622, allocations: 59.72 kB / 343.8 MB, free: 4.883 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.1622, allocations: 4 kB / 343.8 MB, free: 4.879 MB / 286.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001925/0.1624, allocations: 93.44 kB / 343.9 MB, free: 4.781 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.1624, allocations: 8 kB / 343.9 MB, free: 4.773 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.1624, allocations: 0 / 343.9 MB, free: 4.773 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.1625, allocations: 0 / 343.9 MB, free: 4.773 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.508e-05/0.1626, allocations: 19.92 kB / 343.9 MB, free: 4.754 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.1626, allocations: 4.156 kB / 343.9 MB, free: 4.75 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.928e-05/0.1626, allocations: 0 / 343.9 MB, free: 4.75 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.1626, allocations: 8.062 kB / 343.9 MB, free: 4.742 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001048/0.1628, allocations: 113.8 kB / 344 MB, free: 4.621 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.76e-05/0.1628, allocations: 11.84 kB / 344.1 MB, free: 4.609 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003866/0.1632, allocations: 113.4 kB / 344.2 MB, free: 4.496 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.1632, allocations: 3.984 kB / 344.2 MB, free: 4.492 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.1632, allocations: 8 kB / 344.2 MB, free: 4.484 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1632, allocations: 0 / 344.2 MB, free: 4.484 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.1634, allocations: 173.6 kB / 344.4 MB, free: 4.266 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.1634, allocations: 0 / 344.4 MB, free: 4.266 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.739e-05/0.1635, allocations: 15.94 kB / 344.4 MB, free: 4.25 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1635, allocations: 0 / 344.4 MB, free: 4.25 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.1635, allocations: 4 kB / 344.4 MB, free: 4.246 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.1635, allocations: 7.969 kB / 344.4 MB, free: 4.238 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1636, allocations: 0 / 344.4 MB, free: 4.238 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000297/0.1639, allocations: 141.8 kB / 344.5 MB, free: 4.078 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.013e-05/0.1639, allocations: 96.97 kB / 344.6 MB, free: 3.965 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.164, allocations: 7.922 kB / 344.6 MB, free: 3.957 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.963e-05/0.164, allocations: 8 kB / 344.6 MB, free: 3.949 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.862e-05/0.1641, allocations: 0 / 344.6 MB, free: 3.949 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.1641, allocations: 7.984 kB / 344.6 MB, free: 3.941 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.306e-05/0.1641, allocations: 91.22 kB / 344.7 MB, free: 3.852 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1641, allocations: 4.062 kB / 344.7 MB, free: 3.848 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005343/0.1647, allocations: 163.9 kB / 344.9 MB, free: 3.688 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 (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.00087/0.1656, allocations: 381.4 kB / 345.3 MB, free: 3.312 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001851/0.1658, allocations: 51.89 kB / 345.3 MB, free: 3.262 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.644e-06/0.1658, allocations: 4.125 kB / 345.3 MB, free: 3.258 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 8.681e-05/0.1659, allocations: 27.92 kB / 345.3 MB, free: 3.23 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.1661, allocations: 15.92 kB / 345.4 MB, free: 3.215 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006416/0.1667, allocations: 369.1 kB / 345.7 MB, free: 2.82 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003765/0.1671, allocations: 0.6887 MB / 346.4 MB, free: 2.105 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.621e-05/0.1672, allocations: 19.42 kB / 346.4 MB, free: 2.086 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1672, allocations: 0 / 346.4 MB, free: 2.086 MB / 286.1 MB Notification: Performance of Templates: time 0.006564/0.1738, allocations: 3.488 MB / 349.9 MB, free: 14.59 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++ -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.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