Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.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.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008767/0.0008765, allocations: 96.34 kB / 17.58 MB, free: 5.797 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.0008465/0.0008465, allocations: 181.6 kB / 18.48 MB, free: 5.254 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.677/1.677, allocations: 205.4 MB / 224.6 MB, free: 13.14 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.0004851/0.0004851, allocations: 8 kB / 281.4 MB, free: 3.734 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1203, allocations: 47.58 MB / 329 MB, free: 4.074 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02687/0.1472, allocations: 24.92 MB / 353.9 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005086/0.1524, allocations: 3.889 MB / 357.8 MB, free: 7.168 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004095/0.1528, allocations: 4 kB / 357.8 MB, free: 7.164 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006924/0.1535, allocations: 163.1 kB / 358 MB, free: 7.004 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006934/0.1542, allocations: 318.3 kB / 358.3 MB, free: 6.691 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004108/0.1584, allocations: 1.144 MB / 359.4 MB, free: 5.543 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001318/0.1597, allocations: 1.109 MB / 360.5 MB, free: 4.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001888/0.1599, allocations: 80.67 kB / 360.6 MB, free: 4.352 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0109/0.1708, allocations: 7.479 MB / 368.1 MB, free: 12.87 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004621/0.1713, allocations: 274.9 kB / 368.3 MB, free: 12.6 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.62e-05/0.1713, allocations: 16 kB / 368.4 MB, free: 12.58 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001756/0.1731, allocations: 0.6712 MB / 369 MB, free: 11.91 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.1732, allocations: 75.7 kB / 369.1 MB, free: 11.84 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001434/0.1734, allocations: 97.58 kB / 369.2 MB, free: 11.73 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008114/0.1742, allocations: 0.604 MB / 369.8 MB, free: 11.13 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.277e-06/0.1742, allocations: 4 kB / 369.8 MB, free: 11.12 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1742, allocations: 0 / 369.8 MB, free: 11.12 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.543e-06/0.1742, allocations: 0 / 369.8 MB, free: 11.12 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0009381/0.1752, allocations: 0.5846 MB / 370.4 MB, free: 10.49 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.1752, allocations: 8.031 kB / 370.4 MB, free: 10.48 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004389/0.1757, allocations: 67.53 kB / 370.5 MB, free: 10.42 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.1761, allocations: 266.6 kB / 370.7 MB, free: 10.12 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.1761, allocations: 16.56 kB / 370.7 MB, free: 10.1 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.705e-05/0.1762, allocations: 32 kB / 370.8 MB, free: 10.07 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005141/0.1767, allocations: 330.5 kB / 371.1 MB, free: 9.707 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.1767, allocations: 7.891 kB / 371.1 MB, free: 9.699 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.413e-05/0.1768, allocations: 12 kB / 371.1 MB, free: 9.688 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.1768, allocations: 8 kB / 371.1 MB, free: 9.68 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003299/0.1771, allocations: 210 kB / 371.3 MB, free: 9.477 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01166/0.1888, allocations: 5.912 MB / 377.2 MB, free: 3.062 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003283/0.1891, allocations: 179.2 kB / 377.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.1893, allocations: 93.2 kB / 377.5 MB, free: 2.785 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2346/0.4239, allocations: 3.865 MB / 381.4 MB, free: 56.88 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.056e-05/0.424, allocations: 39.98 kB / 381.4 MB, free: 56.84 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.953e-06/0.424, allocations: 0 / 381.4 MB, free: 56.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.006304/0.4303, allocations: 1.418 MB / 382.8 MB, free: 56.45 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.4304, allocations: 56.84 kB / 382.9 MB, free: 56.38 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002971/0.4307, allocations: 257.7 kB / 383.1 MB, free: 56.28 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.4307, allocations: 33.48 kB / 383.2 MB, free: 56.25 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.4309, allocations: 192.8 kB / 383.4 MB, free: 56.12 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.153e-05/0.4309, allocations: 93.95 kB / 383.5 MB, free: 56.06 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.38e-05/0.431, allocations: 4.312 kB / 383.5 MB, free: 56.06 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.909e-05/0.4311, allocations: 341.3 kB / 383.8 MB, free: 55.75 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.4312, allocations: 89.53 kB / 383.9 MB, free: 55.75 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002502/0.4315, allocations: 184.8 kB / 384.1 MB, free: 55.64 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002423/0.4317, allocations: 121.8 kB / 384.2 MB, free: 55.64 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4318, allocations: 1.344 kB / 384.2 MB, free: 55.64 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007711/0.4325, allocations: 396.8 kB / 384.6 MB, free: 55.55 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.4326, allocations: 7.078 kB / 384.6 MB, free: 55.55 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.4326, allocations: 2.656 kB / 384.6 MB, free: 55.55 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002922/0.4355, allocations: 402.3 kB / 385 MB, free: 55.54 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002719/0.4358, allocations: 66.86 kB / 385 MB, free: 55.54 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001192/0.437, allocations: 1.891 MB / 386.9 MB, free: 53.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002323/0.4372, allocations: 16.66 kB / 386.9 MB, free: 53.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.685e-05/0.4373, allocations: 17.3 kB / 387 MB, free: 53.75 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001654/0.4375, allocations: 159.4 kB / 387.1 MB, free: 53.62 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.047e-05/0.4375, allocations: 29.42 kB / 387.1 MB, free: 53.61 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007697/0.4383, allocations: 494.4 kB / 387.6 MB, free: 53.39 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.4383, allocations: 4.859 kB / 387.6 MB, free: 53.39 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.4383, allocations: 4 kB / 387.6 MB, free: 53.38 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007154/0.439, allocations: 0.7163 MB / 388.3 MB, free: 52.79 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001433/0.4405, allocations: 0.9465 MB / 389.3 MB, free: 52.19 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.4405, allocations: 1.453 kB / 389.3 MB, free: 52.19 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001788/0.4407, allocations: 43.81 kB / 389.3 MB, free: 52.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00161/0.4423, allocations: 332.1 kB / 389.7 MB, free: 52.12 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.63e-05/0.4423, allocations: 9 kB / 389.7 MB, free: 52.11 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004088/0.4428, allocations: 0.6437 MB / 390.3 MB, free: 51.54 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.4428, allocations: 1.5 kB / 390.3 MB, free: 51.54 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009348/0.4437, allocations: 0.7191 MB / 391 MB, free: 51.12 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.104e-05/0.4438, allocations: 107.9 kB / 391.1 MB, free: 51.01 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.097e-05/0.4438, allocations: 6.734 kB / 391.1 MB, free: 51 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/0.444, allocations: 24.97 kB / 391.2 MB, free: 50.99 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.764e-05/0.4441, allocations: 18.3 kB / 391.2 MB, free: 50.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.828e-05/0.4441, allocations: 13.19 kB / 391.2 MB, free: 50.98 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001975/0.4443, allocations: 181.1 kB / 391.4 MB, free: 50.87 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4443, allocations: 0 / 391.4 MB, free: 50.87 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007913/0.4451, allocations: 188 kB / 391.6 MB, free: 50.85 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (25): * Single equations (assignments): 23 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.000605/0.4457, allocations: 269.1 kB / 391.8 MB, free: 50.74 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007827/0.4465, allocations: 453.6 kB / 392.3 MB, free: 50.5 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.982e-06/0.4466, allocations: 0.75 kB / 392.3 MB, free: 50.5 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004856/0.4471, allocations: 235.8 kB / 392.5 MB, free: 50.41 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009276/0.448, allocations: 168.3 kB / 392.7 MB, free: 50.37 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.4493, allocations: 0.9754 MB / 393.6 MB, free: 49.76 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.4497, allocations: 0.7763 MB / 394.4 MB, free: 49.05 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.682e-05/0.4497, allocations: 30.84 kB / 394.4 MB, free: 49.05 MB / 318.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4497, allocations: 0 / 394.4 MB, free: 49.05 MB / 318.1 MB Notification: Performance of Templates: time 0.0103/0.46, allocations: 8.347 MB / 402.8 MB, free: 44.07 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.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.DryAir1CalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1CalcHelperMain.o] Error 1