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.00081/0.0008101, allocations: 95.95 kB / 17.59 MB, free: 6.168 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.0008067/0.0008067, allocations: 183.5 kB / 18.47 MB, free: 5.336 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.656/1.656, allocations: 205.4 MB / 224.6 MB, free: 13.06 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.0004674/0.0004675, allocations: 12 kB / 281.4 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1172, allocations: 47.59 MB / 329 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001669/0.1189, allocations: 1.058 MB / 330 MB, free: 3 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01299/0.1319, allocations: 11.12 MB / 341.2 MB, free: 7.836 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.195e-05/0.132, allocations: 0 / 341.2 MB, free: 7.836 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.487e-05/0.132, allocations: 3.984 kB / 341.2 MB, free: 7.832 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002973/0.135, allocations: 0.801 MB / 342 MB, free: 7.027 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001497/0.1365, allocations: 481.7 kB / 342.4 MB, free: 6.555 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.747e-05/0.1366, allocations: 51.72 kB / 342.5 MB, free: 6.504 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.865e-05/0.1367, allocations: 4 kB / 342.5 MB, free: 6.5 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.721e-05/0.1367, allocations: 27.91 kB / 342.5 MB, free: 6.473 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.757e-05/0.1368, allocations: 31.91 kB / 342.6 MB, free: 6.441 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.1369, allocations: 0 / 342.6 MB, free: 6.441 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00254/0.1394, allocations: 1.378 MB / 343.9 MB, free: 5.062 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.202e-05/0.1394, allocations: 19.91 kB / 343.9 MB, free: 5.043 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.062e-05/0.1395, allocations: 29.7 kB / 344 MB, free: 5.008 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008931/0.1404, allocations: 0.6746 MB / 344.7 MB, free: 4.332 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.1404, allocations: 4 kB / 344.7 MB, free: 4.328 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1404, allocations: 0 / 344.7 MB, free: 4.328 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.1404, allocations: 0 / 344.7 MB, free: 4.328 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.00072/0.1411, allocations: 0.53 MB / 345.2 MB, free: 3.75 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.1412, allocations: 8.031 kB / 345.2 MB, free: 3.742 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/0.1413, allocations: 11.91 kB / 345.2 MB, free: 3.73 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.1415, allocations: 175 kB / 345.4 MB, free: 3.52 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.1416, allocations: 4 kB / 345.4 MB, free: 3.516 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.1416, allocations: 7.922 kB / 345.4 MB, free: 3.508 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.1417, allocations: 63.39 kB / 345.4 MB, free: 3.434 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.1418, allocations: 7.938 kB / 345.5 MB, free: 3.426 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.1418, allocations: 4 kB / 345.5 MB, free: 3.422 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.1418, allocations: 0 / 345.5 MB, free: 3.422 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.806e-05/0.1419, allocations: 23.97 kB / 345.5 MB, free: 3.398 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002203/0.1421, allocations: 194.3 kB / 345.7 MB, free: 3.156 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000296/0.1424, allocations: 77.19 kB / 345.7 MB, free: 3.062 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.833e-05/0.1425, allocations: 21.78 kB / 345.8 MB, free: 3.035 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006035/0.1486, allocations: 3.293 MB / 349.1 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.1486, allocations: 38.5 kB / 349.1 MB, free: 15.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 2.184e-06/0.1486, allocations: 0 / 349.1 MB, free: 15.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003286/0.149, allocations: 81.59 kB / 349.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.015e-05/0.149, allocations: 77.11 kB / 349.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.1491, allocations: 113.8 kB / 349.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.1492, allocations: 33.64 kB / 349.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.68e-05/0.1492, allocations: 88.14 kB / 349.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.393e-05/0.1493, allocations: 19.72 kB / 349.5 MB, free: 14.8 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.1493, allocations: 0 / 349.5 MB, free: 14.8 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.1494, allocations: 318.8 kB / 349.8 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.637e-05/0.1495, allocations: 8 kB / 349.8 MB, free: 14.47 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.266e-05/0.1495, allocations: 25.7 kB / 349.9 MB, free: 14.44 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.31e-05/0.1496, allocations: 15.98 kB / 349.9 MB, free: 14.43 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.1496, allocations: 3.953 kB / 349.9 MB, free: 14.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001577/0.1498, allocations: 73.61 kB / 349.9 MB, free: 14.34 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.1498, allocations: 4 kB / 349.9 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1498, allocations: 480 / 349.9 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.1498, allocations: 4 kB / 349.9 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.841e-05/0.1499, allocations: 8 kB / 350 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1499, allocations: 0 / 350 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.387e-05/0.15, allocations: 11.83 kB / 350 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.15, allocations: 4 kB / 350 MB, free: 14.31 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.691e-05/0.1501, allocations: 121.8 kB / 350.1 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.568e-05/0.1501, allocations: 7.953 kB / 350.1 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002595/0.1504, allocations: 105.8 kB / 350.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1504, allocations: 0 / 350.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.1504, allocations: 4 kB / 350.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1504, allocations: 0 / 350.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.1506, allocations: 173.5 kB / 350.4 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1506, allocations: 0 / 350.4 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.726e-05/0.1507, allocations: 15.94 kB / 350.4 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1507, allocations: 4 kB / 350.4 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.1507, allocations: 0 / 350.4 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.1507, allocations: 3.938 kB / 350.4 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1507, allocations: 3.938 kB / 350.4 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.1509, allocations: 102 kB / 350.5 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.218e-05/0.151, allocations: 93 kB / 350.6 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.151, allocations: 3.953 kB / 350.6 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.333e-05/0.1511, allocations: 8.172 kB / 350.6 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.42e-05/0.1511, allocations: 4 kB / 350.6 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.1511, allocations: 8 kB / 350.6 MB, free: 13.57 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.427e-05/0.1512, allocations: 95.2 kB / 350.7 MB, free: 13.47 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1512, allocations: 0 / 350.7 MB, free: 13.47 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008954/0.1521, allocations: 323.6 kB / 351 MB, free: 13.16 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 (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.001114/0.1532, allocations: 0.5646 MB / 351.6 MB, free: 12.58 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001708/0.1534, allocations: 35.97 kB / 351.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1534, allocations: 0 / 351.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.994e-05/0.1535, allocations: 23.94 kB / 351.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.1537, allocations: 11.98 kB / 351.7 MB, free: 12.51 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004459/0.1542, allocations: 207.1 kB / 351.9 MB, free: 12.28 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.1545, allocations: 0.6887 MB / 352.6 MB, free: 11.56 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.965e-05/0.1546, allocations: 27.42 kB / 352.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of SimCode: time 2.023e-06/0.1546, allocations: 0 / 352.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of Templates: time 0.00988/0.1645, allocations: 5.934 MB / 358.5 MB, free: 5.594 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++ 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.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