Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0009334/0.0009331, allocations: 92.55 kB / 16.96 MB, free: 6.453 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.001032/0.001033, allocations: 183.3 kB / 17.85 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.564/1.564, allocations: 223.3 MB / 241.9 MB, free: 296 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002767/0.0002767, allocations: 4 kB / 301.5 MB, free: 6.426 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.133, allocations: 50.41 MB / 351.9 MB, free: 3.996 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001881/0.1349, allocations: 1.064 MB / 352.9 MB, free: 2.922 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005822/0.1408, allocations: 3.713 MB / 356.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.894e-05/0.1409, allocations: 0 / 356.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.979e-05/0.1409, allocations: 3.938 kB / 356.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001189/0.1421, allocations: 235.2 kB / 356.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001317/0.1435, allocations: 378 kB / 357.2 MB, free: 14.58 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.1436, allocations: 55.7 kB / 357.3 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.202e-05/0.1437, allocations: 0 / 357.3 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/0.1438, allocations: 35.84 kB / 357.3 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008801/0.1447, allocations: 391.5 kB / 357.7 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.1447, allocations: 0 / 357.7 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.1458, allocations: 407.3 kB / 358.1 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.127e-05/0.1458, allocations: 11.92 kB / 358.1 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.032e-05/0.1459, allocations: 37.64 kB / 358.2 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006902/0.1466, allocations: 255.8 kB / 358.4 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.1466, allocations: 0 / 358.4 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1466, allocations: 8 kB / 358.4 MB, free: 13.4 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.1466, allocations: 0 / 358.4 MB, free: 13.4 MB / 302.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.0006674/0.1473, allocations: 435 kB / 358.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.1474, allocations: 8.031 kB / 358.9 MB, free: 12.92 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.935e-05/0.1474, allocations: 7.906 kB / 358.9 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003088/0.1477, allocations: 186.9 kB / 359 MB, free: 12.69 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.1477, allocations: 0 / 359 MB, free: 12.69 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.1478, allocations: 8 kB / 359 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.1479, allocations: 59.39 kB / 359.1 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.148, allocations: 3.984 kB / 359.1 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.148, allocations: 4 kB / 359.1 MB, free: 12.6 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.148, allocations: 3.953 kB / 359.1 MB, free: 12.6 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.046e-05/0.1481, allocations: 19.92 kB / 359.1 MB, free: 12.58 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002342/0.1483, allocations: 186.5 kB / 359.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002832/0.1486, allocations: 77.19 kB / 359.4 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.768e-05/0.1487, allocations: 25.7 kB / 359.4 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00122/0.1499, allocations: 1.536 MB / 361 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.15, allocations: 38.55 kB / 361 MB, free: 10.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.15, allocations: 4 kB / 361 MB, free: 10.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002964/0.1503, allocations: 77.59 kB / 361.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.879e-05/0.1504, allocations: 85.06 kB / 361.2 MB, free: 10.1 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.1505, allocations: 109.8 kB / 361.3 MB, free: 9.98 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.1505, allocations: 25.7 kB / 361.3 MB, free: 9.949 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.209e-05/0.1505, allocations: 84.14 kB / 361.4 MB, free: 9.863 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.708e-05/0.1506, allocations: 19.66 kB / 361.4 MB, free: 9.844 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.063e-05/0.1506, allocations: 12 kB / 361.4 MB, free: 9.832 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.1507, allocations: 318.8 kB / 361.7 MB, free: 9.512 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.319e-05/0.1508, allocations: 15.98 kB / 361.7 MB, free: 9.496 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.456e-05/0.1509, allocations: 35.42 kB / 361.8 MB, free: 9.449 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.783e-05/0.1509, allocations: 19.94 kB / 361.8 MB, free: 9.43 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.151, allocations: 4 kB / 361.8 MB, free: 9.426 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000169/0.1511, allocations: 85.5 kB / 361.9 MB, free: 9.336 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.1512, allocations: 4 kB / 361.9 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1512, allocations: 0 / 361.9 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.1512, allocations: 4 kB / 361.9 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.373e-05/0.1513, allocations: 15.98 kB / 361.9 MB, free: 9.312 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.1513, allocations: 3.938 kB / 361.9 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.128e-05/0.1513, allocations: 11.89 kB / 361.9 MB, free: 9.297 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.1513, allocations: 8.062 kB / 361.9 MB, free: 9.289 MB / 302.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 9.249e-05/0.1514, allocations: 109.8 kB / 362 MB, free: 9.172 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.674e-05/0.1515, allocations: 8.375 kB / 362 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003489/0.1518, allocations: 120.8 kB / 362.2 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.1518, allocations: 7.984 kB / 362.2 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1519, allocations: 4 kB / 362.2 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.1519, allocations: 0 / 362.2 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.152, allocations: 181.5 kB / 362.3 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.152, allocations: 0 / 362.3 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.405e-05/0.1521, allocations: 15.94 kB / 362.4 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1521, allocations: 0 / 362.4 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/0.1521, allocations: 0 / 362.4 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.1522, allocations: 3.984 kB / 362.4 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1522, allocations: 4 kB / 362.4 MB, free: 8.781 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002745/0.1524, allocations: 137.8 kB / 362.5 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.326e-05/0.1525, allocations: 93.03 kB / 362.6 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.1525, allocations: 3.984 kB / 362.6 MB, free: 8.512 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.805e-05/0.1526, allocations: 8 kB / 362.6 MB, free: 8.504 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.163e-05/0.1526, allocations: 4 kB / 362.6 MB, free: 8.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.1527, allocations: 3.984 kB / 362.6 MB, free: 8.496 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.521e-05/0.1527, allocations: 99.81 kB / 362.7 MB, free: 8.398 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1527, allocations: 0 / 362.7 MB, free: 8.398 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004615/0.1532, allocations: 131.8 kB / 362.8 MB, free: 8.27 MB / 302.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.0007212/0.1539, allocations: 292.7 kB / 363.1 MB, free: 7.984 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001998/0.1541, allocations: 47.91 kB / 363.2 MB, free: 7.938 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1541, allocations: 0 / 363.2 MB, free: 7.938 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.383e-05/0.1542, allocations: 28.11 kB / 363.2 MB, free: 7.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.1545, allocations: 23.27 kB / 363.2 MB, free: 7.891 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006213/0.1551, allocations: 379.5 kB / 363.6 MB, free: 7.48 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.1555, allocations: 0.6848 MB / 364.3 MB, free: 6.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.758e-05/0.1555, allocations: 23.36 kB / 364.3 MB, free: 6.746 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1555, allocations: 0 / 364.3 MB, free: 6.746 MB / 302.1 MB Notification: Performance of Templates: time 0.005837/0.1614, allocations: 2.862 MB / 367.2 MB, free: 3.902 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile make -j1 -f Modelica_4.0.0_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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_TCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_TCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_TCalcHelperMain.o] Error 1