Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.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.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 97.77 kB / 17.96 MB, free: 5.77 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.001409/0.001409, allocations: 176.4 kB / 18.86 MB, free: 4.906 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.053/2.053, allocations: 205.4 MB / 225 MB, free: 12.98 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.0005718/0.0005721, allocations: 12 kB / 282 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1367, allocations: 47.58 MB / 329.6 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002216/0.139, allocations: 1.081 MB / 330.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01696/0.156, allocations: 12.18 MB / 342.9 MB, free: 6.434 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.772e-05/0.1561, allocations: 0 / 342.9 MB, free: 6.434 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.501e-05/0.1562, allocations: 7.922 kB / 342.9 MB, free: 6.426 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004175/0.1604, allocations: 0.852 MB / 343.7 MB, free: 5.57 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002307/0.1627, allocations: 0.5327 MB / 344.3 MB, free: 5.035 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001397/0.1628, allocations: 59.78 kB / 344.3 MB, free: 4.977 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.377e-05/0.1629, allocations: 0 / 344.3 MB, free: 4.977 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.9e-05/0.163, allocations: 35.84 kB / 344.3 MB, free: 4.941 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.1631, allocations: 27.91 kB / 344.4 MB, free: 4.914 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.1631, allocations: 4 kB / 344.4 MB, free: 4.91 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004233/0.1674, allocations: 1.565 MB / 345.9 MB, free: 3.344 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.189e-05/0.1674, allocations: 11.92 kB / 346 MB, free: 3.332 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.073e-05/0.1675, allocations: 53.61 kB / 346 MB, free: 3.273 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002382/0.1699, allocations: 0.7289 MB / 346.7 MB, free: 2.543 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.1699, allocations: 0 / 346.7 MB, free: 2.543 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.579e-06/0.1699, allocations: 0 / 346.7 MB, free: 2.543 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.014e-06/0.17, allocations: 0 / 346.7 MB, free: 2.543 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.00162/0.1716, allocations: 0.5264 MB / 347.3 MB, free: 1.969 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.894e-05/0.1717, allocations: 12.03 kB / 347.3 MB, free: 1.957 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002047/0.1719, allocations: 12.83 kB / 347.3 MB, free: 1.945 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003518/0.1722, allocations: 184.2 kB / 347.5 MB, free: 1.727 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.593e-05/0.1723, allocations: 4.375 kB / 347.5 MB, free: 1.723 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.1723, allocations: 4.375 kB / 347.5 MB, free: 1.719 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003065/0.1726, allocations: 71.45 kB / 347.5 MB, free: 1.637 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.1726, allocations: 0 / 347.5 MB, free: 1.637 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.1727, allocations: 4 kB / 347.5 MB, free: 1.633 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.1727, allocations: 0 / 347.5 MB, free: 1.633 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.1728, allocations: 23.92 kB / 347.6 MB, free: 1.609 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003529/0.1732, allocations: 174.5 kB / 347.7 MB, free: 1.387 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003951/0.1736, allocations: 81.22 kB / 347.8 MB, free: 1.289 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.374e-05/0.1737, allocations: 33.7 kB / 347.9 MB, free: 1.25 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007941/0.1816, allocations: 3.29 MB / 351.1 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.814e-05/0.1817, allocations: 42.48 kB / 351.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.954e-06/0.1817, allocations: 0 / 351.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.000407/0.1821, allocations: 77.61 kB / 351.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.227e-05/0.1822, allocations: 81.11 kB / 351.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.1824, allocations: 113.8 kB / 351.5 MB, free: 13.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.1824, allocations: 25.7 kB / 351.5 MB, free: 13.13 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.765e-05/0.1825, allocations: 88.12 kB / 351.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.321e-05/0.1825, allocations: 19.66 kB / 351.6 MB, free: 13.02 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-05/0.1826, allocations: 17.72 kB / 351.6 MB, free: 13 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.1828, allocations: 318.8 kB / 351.9 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.69e-05/0.1828, allocations: 12 kB / 351.9 MB, free: 12.67 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.436e-05/0.1829, allocations: 25.7 kB / 351.9 MB, free: 12.64 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.183, allocations: 42 kB / 352 MB, free: 12.59 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.183, allocations: 0 / 352 MB, free: 12.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001871/0.1832, allocations: 81.45 kB / 352.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.1833, allocations: 4 kB / 352.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.1833, allocations: 4 kB / 352.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.1833, allocations: 0 / 352.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.845e-05/0.1834, allocations: 16.05 kB / 352.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.1834, allocations: 0 / 352.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.22e-05/0.1835, allocations: 8 kB / 352.1 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.1835, allocations: 0 / 352.1 MB, free: 12.47 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * 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.0001094/0.1836, allocations: 117.8 kB / 352.2 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.231e-05/0.1836, allocations: 7.938 kB / 352.2 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000285/0.1839, allocations: 109.6 kB / 352.3 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.1839, allocations: 4 kB / 352.3 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.1839, allocations: 0 / 352.3 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1839, allocations: 0 / 352.3 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.1841, allocations: 165.7 kB / 352.5 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.1841, allocations: 4 kB / 352.5 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/0.1843, allocations: 19.92 kB / 352.5 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.1843, allocations: 0 / 352.5 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.1843, allocations: 0 / 352.5 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.1844, allocations: 4 kB / 352.5 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1844, allocations: 0 / 352.5 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002017/0.1846, allocations: 101.9 kB / 352.6 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.1847, allocations: 92.94 kB / 352.7 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.1847, allocations: 4 kB / 352.7 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.917e-05/0.1848, allocations: 7.984 kB / 352.7 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.491e-05/0.1849, allocations: 7.984 kB / 352.7 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.1849, allocations: 7.938 kB / 352.7 MB, free: 11.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.191e-05/0.185, allocations: 87.28 kB / 352.8 MB, free: 11.64 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.185, allocations: 0 / 352.8 MB, free: 11.64 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001163/0.1861, allocations: 323.6 kB / 353.1 MB, free: 11.33 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.001844/0.188, allocations: 0.5806 MB / 353.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001891/0.1882, allocations: 35.91 kB / 353.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1882, allocations: 0 / 353.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.632e-05/0.1883, allocations: 16 kB / 353.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.1885, allocations: 23.86 kB / 353.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005793/0.1891, allocations: 205.1 kB / 354 MB, free: 10.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004753/0.1896, allocations: 0.6848 MB / 354.7 MB, free: 9.715 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.947e-05/0.1897, allocations: 27.41 kB / 354.7 MB, free: 9.688 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1897, allocations: 0 / 354.7 MB, free: 9.688 MB / 302.1 MB Notification: Performance of Templates: time 0.01397/0.2037, allocations: 5.937 MB / 360.6 MB, free: 3.746 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.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.ReferenceAir.Inverse_sh_TCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TCalcHelperMain.o] Error 1