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.001324/0.001324, 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.001538/0.001538, 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.937/1.937, allocations: 205.1 MB / 224.6 MB, free: 12.46 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.001483/0.001484, allocations: 51.92 kB / 280.6 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1268, allocations: 46.63 MB / 327.2 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.004047/0.131, allocations: 1.42 MB / 328.7 MB, free: 3.461 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01013/0.1411, allocations: 7.293 MB / 336 MB, free: 12.13 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.892e-05/0.1412, allocations: 0 / 336 MB, free: 12.13 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.058e-05/0.1413, allocations: 0 / 336 MB, free: 12.13 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009784/0.1423, allocations: 243.2 kB / 336.2 MB, free: 11.89 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001478/0.1438, allocations: 0.5999 MB / 336.8 MB, free: 11.29 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.586e-05/0.1439, allocations: 47.73 kB / 336.8 MB, free: 11.24 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.347e-05/0.1439, allocations: 4 kB / 336.8 MB, free: 11.24 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.144, allocations: 39.83 kB / 336.9 MB, free: 11.2 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00081/0.1449, allocations: 411.1 kB / 337.3 MB, free: 10.8 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.1449, allocations: 0 / 337.3 MB, free: 10.8 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001155/0.146, allocations: 0.7251 MB / 338 MB, free: 10.07 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.656e-05/0.1461, allocations: 11.92 kB / 338 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.564e-05/0.1461, allocations: 19.94 kB / 338 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006228/0.1467, allocations: 395.5 kB / 338.4 MB, free: 9.652 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1468, allocations: 0 / 338.4 MB, free: 9.652 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1468, allocations: 0 / 338.4 MB, free: 9.652 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1468, allocations: 0 / 338.4 MB, free: 9.652 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.000683/0.1475, allocations: 467.1 kB / 338.9 MB, free: 9.148 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.1475, allocations: 12.03 kB / 338.9 MB, free: 9.137 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.201e-05/0.1476, allocations: 0.9375 kB / 338.9 MB, free: 9.137 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.1478, allocations: 192.2 kB / 339.1 MB, free: 8.91 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.1479, allocations: 8.375 kB / 339.1 MB, free: 8.902 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.1479, allocations: 4.375 kB / 339.1 MB, free: 8.898 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.1481, allocations: 67.45 kB / 339.2 MB, free: 8.82 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.1481, allocations: 0 / 339.2 MB, free: 8.82 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.1481, allocations: 0 / 339.2 MB, free: 8.82 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.1481, allocations: 0 / 339.2 MB, free: 8.82 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.216e-05/0.1482, allocations: 27.95 kB / 339.2 MB, free: 8.793 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002203/0.1485, allocations: 170.6 kB / 339.4 MB, free: 8.574 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003337/0.1488, allocations: 81.12 kB / 339.4 MB, free: 8.477 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.231e-05/0.1489, allocations: 21.77 kB / 339.5 MB, free: 8.449 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001566/0.1505, allocations: 1.54 MB / 341 MB, free: 6.559 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.1505, allocations: 42.44 kB / 341 MB, free: 6.508 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.1505, allocations: 0 / 341 MB, free: 6.508 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003537/0.1509, allocations: 81.56 kB / 341.1 MB, free: 6.422 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.151, allocations: 81.05 kB / 341.2 MB, free: 6.324 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.1512, allocations: 121.8 kB / 341.3 MB, free: 6.195 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.1512, allocations: 25.7 kB / 341.3 MB, free: 6.164 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.205e-05/0.1513, allocations: 92.14 kB / 341.4 MB, free: 6.07 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.508e-05/0.1513, allocations: 19.64 kB / 341.5 MB, free: 6.051 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.823e-05/0.1514, allocations: 25.72 kB / 341.5 MB, free: 6.02 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000214/0.1516, allocations: 314.8 kB / 341.8 MB, free: 5.703 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.322e-05/0.1517, allocations: 12 kB / 341.8 MB, free: 5.691 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.688e-05/0.1518, allocations: 39.42 kB / 341.8 MB, free: 5.641 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.1519, allocations: 67.28 kB / 341.9 MB, free: 5.562 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.152, allocations: 0 / 341.9 MB, free: 5.562 MB / 286.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002123/0.1522, allocations: 85.55 kB / 342 MB, free: 5.473 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.1522, allocations: 4 kB / 342 MB, free: 5.469 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.1522, allocations: 4 kB / 342 MB, free: 5.465 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.1522, allocations: 4.062 kB / 342 MB, free: 5.461 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.786e-05/0.1523, allocations: 19.92 kB / 342 MB, free: 5.441 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.1524, allocations: 0 / 342 MB, free: 5.441 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.452e-05/0.1524, allocations: 8 kB / 342 MB, free: 5.434 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.1524, allocations: 4 kB / 342 MB, free: 5.43 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 9.436e-05/0.1525, allocations: 109.8 kB / 342.1 MB, free: 5.312 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.218e-05/0.1526, allocations: 8.312 kB / 342.1 MB, free: 5.305 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004515/0.153, allocations: 137.4 kB / 342.3 MB, free: 5.168 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.79e-06/0.153, allocations: 0 / 342.3 MB, free: 5.168 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.153, allocations: 0 / 342.3 MB, free: 5.168 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.1531, allocations: 0 / 342.3 MB, free: 5.168 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001854/0.1532, allocations: 181.5 kB / 342.5 MB, free: 4.941 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.1533, allocations: 0 / 342.5 MB, free: 4.941 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.039e-05/0.1533, allocations: 15.94 kB / 342.5 MB, free: 4.926 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.1533, allocations: 3.984 kB / 342.5 MB, free: 4.922 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.1534, allocations: 4 kB / 342.5 MB, free: 4.918 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1534, allocations: 4 kB / 342.5 MB, free: 4.914 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1534, allocations: 0 / 342.5 MB, free: 4.914 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003292/0.1537, allocations: 137.9 kB / 342.6 MB, free: 4.758 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.5e-05/0.1538, allocations: 88.94 kB / 342.7 MB, free: 4.652 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.1538, allocations: 4 kB / 342.7 MB, free: 4.648 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.179e-05/0.1539, allocations: 12.05 kB / 342.7 MB, free: 4.637 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.006e-05/0.1539, allocations: 4 kB / 342.7 MB, free: 4.633 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.1539, allocations: 7.938 kB / 342.7 MB, free: 4.625 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.804e-05/0.154, allocations: 87.27 kB / 342.8 MB, free: 4.539 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.154, allocations: 4 kB / 342.8 MB, free: 4.535 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005674/0.1546, allocations: 167.9 kB / 343 MB, free: 4.371 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.0009562/0.1555, allocations: 368 kB / 343.3 MB, free: 4.008 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002233/0.1558, allocations: 47.89 kB / 343.4 MB, free: 3.961 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1558, allocations: 4 kB / 343.4 MB, free: 3.957 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 9.685e-05/0.1559, allocations: 35.91 kB / 343.4 MB, free: 3.922 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.1561, allocations: 15.94 kB / 343.4 MB, free: 3.906 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006682/0.1568, allocations: 326 kB / 343.8 MB, free: 3.555 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.1572, allocations: 0.6848 MB / 344.4 MB, free: 2.844 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.126e-05/0.1573, allocations: 27.42 kB / 344.5 MB, free: 2.816 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1573, allocations: 0 / 344.5 MB, free: 2.816 MB / 286.1 MB Notification: Performance of Templates: time 0.0066/0.1639, allocations: 3.498 MB / 348 MB, free: 15.31 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