Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008806/0.0008806, allocations: 88.42 kB / 17.58 MB, free: 5.805 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.0009419/0.000942, 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.688/1.688, allocations: 205.4 MB / 224.6 MB, free: 13.15 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.0004873/0.0004873, allocations: 11.94 kB / 281.4 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1186, allocations: 47.58 MB / 329 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.0582/0.1768, allocations: 46.85 MB / 375.8 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007059/0.184, allocations: 4.837 MB / 380.7 MB, free: 264 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005147/0.1845, allocations: 4 kB / 380.7 MB, free: 260 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008277/0.1854, allocations: 167 kB / 380.8 MB, free: 92 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2547/0.4401, allocations: 337.9 kB / 381.2 MB, free: 11.27 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01917/0.4594, allocations: 4.967 MB / 386.1 MB, free: 11.21 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002467/0.4618, allocations: 1.33 MB / 387.5 MB, free: 11.21 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002626/0.4621, allocations: 102.8 kB / 387.6 MB, free: 11.19 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01108/0.4732, allocations: 6.12 MB / 393.7 MB, free: 10.86 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006341/0.4739, allocations: 394.7 kB / 394.1 MB, free: 10.86 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.538e-05/0.474, allocations: 29.62 kB / 394.1 MB, free: 10.86 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02072/0.4947, allocations: 8.375 MB / 402.5 MB, free: 10.07 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004675/0.4952, allocations: 194 kB / 402.7 MB, free: 10 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004612/0.4957, allocations: 131.1 kB / 402.8 MB, free: 9.969 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01068/0.5064, allocations: 3.537 MB / 406.3 MB, free: 8.449 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.787e-06/0.5064, allocations: 0 / 406.3 MB, free: 8.449 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.5064, allocations: 0 / 406.3 MB, free: 8.449 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.406e-05/0.5065, allocations: 0 / 406.3 MB, free: 8.449 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003984/0.5105, allocations: 1.245 MB / 407.6 MB, free: 7.586 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.5105, allocations: 10.83 kB / 407.6 MB, free: 7.586 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004435/0.511, allocations: 61.92 kB / 407.6 MB, free: 7.559 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000563/0.5115, allocations: 357.6 kB / 408 MB, free: 7.293 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.834e-05/0.5116, allocations: 36.89 kB / 408 MB, free: 7.289 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.111e-05/0.5117, allocations: 41.16 kB / 408.1 MB, free: 7.289 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001377/0.5131, allocations: 0.5835 MB / 408.7 MB, free: 6.984 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/0.5131, allocations: 3.125 kB / 408.7 MB, free: 6.984 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.714e-05/0.5132, allocations: 15.38 kB / 408.7 MB, free: 6.98 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.5132, allocations: 15.95 kB / 408.7 MB, free: 6.965 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/0.5145, allocations: 0.7417 MB / 409.4 MB, free: 6.441 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01443/0.5289, allocations: 12.01 MB / 421.4 MB, free: 8.957 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/0.5302, allocations: 0.5321 MB / 422 MB, free: 8.578 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004012/0.5306, allocations: 253 kB / 422.2 MB, free: 8.418 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01479/0.5454, allocations: 11.96 MB / 434.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.861e-05/0.5456, allocations: 41.38 kB / 434.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 3.467e-06/0.5456, allocations: 4 kB / 434.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.00641/0.552, allocations: 2.131 MB / 436.3 MB, free: 8.562 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.552, allocations: 59.92 kB / 436.4 MB, free: 8.492 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004351/0.5525, allocations: 320.5 kB / 436.7 MB, free: 8.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.273e-05/0.5526, allocations: 37.52 kB / 436.8 MB, free: 8.195 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.5528, allocations: 205.5 kB / 437 MB, free: 8.031 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001719/0.5529, allocations: 184.8 kB / 437.1 MB, free: 7.875 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.421e-05/0.553, allocations: 14.5 kB / 437.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.5531, allocations: 346 kB / 437.5 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004142/0.5536, allocations: 239.3 kB / 437.7 MB, free: 7.383 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000637/0.5542, allocations: 341.8 kB / 438.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006376/0.5549, allocations: 280.6 kB / 438.3 MB, free: 6.953 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.5549, allocations: 0 / 438.3 MB, free: 6.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001818/0.5567, allocations: 0.7528 MB / 439.1 MB, free: 6.422 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.5567, allocations: 8 kB / 439.1 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.5568, allocations: 0 / 439.1 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004782/0.5572, allocations: 111.6 kB / 439.2 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004874/0.5577, allocations: 124.6 kB / 439.3 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002963/0.5607, allocations: 3.272 MB / 442.6 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004638/0.5612, allocations: 44.23 kB / 442.6 MB, free: 2.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.294e-05/0.5613, allocations: 34.23 kB / 442.7 MB, free: 2.75 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003416/0.5616, allocations: 190.2 kB / 442.9 MB, free: 2.598 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003081/0.5619, allocations: 39.62 kB / 442.9 MB, free: 2.559 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001572/0.5635, allocations: 0.8274 MB / 443.7 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.5635, allocations: 4 kB / 443.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.5636, allocations: 0 / 443.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001125/0.5647, allocations: 0.7664 MB / 444.5 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002202/0.5669, allocations: 1.3 MB / 445.8 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.5669, allocations: 4 kB / 445.8 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004176/0.5673, allocations: 101.2 kB / 445.9 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008655/0.5682, allocations: 143.9 kB / 446 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.469e-05/0.5683, allocations: 23.23 kB / 446.1 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004518/0.5688, allocations: 0.6408 MB / 446.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-06/0.5688, allocations: 11.03 kB / 446.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001631/0.5704, allocations: 0.8999 MB / 447.6 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001922/0.5706, allocations: 119.2 kB / 447.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.447e-05/0.5707, allocations: 23.06 kB / 447.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000431/0.5711, allocations: 37.89 kB / 447.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.732e-05/0.5712, allocations: 35.02 kB / 447.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.341e-05/0.5713, allocations: 31.91 kB / 447.9 MB, free: 14.51 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003102/0.5716, allocations: 251.2 kB / 448.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.874e-06/0.5716, allocations: 0 / 448.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.005108/0.5767, allocations: 1.303 MB / 449.4 MB, free: 13.1 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00809/0.5848, allocations: 1.564 MB / 451 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001804/0.5867, allocations: 0.7956 MB / 451.8 MB, free: 11.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/0.5867, allocations: 4.062 kB / 451.8 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005913/0.5873, allocations: 282.8 kB / 452 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001697/0.589, allocations: 271.2 kB / 452.3 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002468/0.5915, allocations: 1.341 MB / 453.6 MB, free: 9.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005233/0.592, allocations: 0.8374 MB / 454.5 MB, free: 8.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002251/0.5923, allocations: 66.67 kB / 454.5 MB, free: 8.512 MB / 366.1 MB Notification: Performance of SimCode: time 7.92e-07/0.5923, allocations: 1.422 kB / 454.5 MB, free: 8.512 MB / 366.1 MB Notification: Performance of Templates: time 0.0585/0.6508, allocations: 34.86 MB / 489.4 MB, free: 5.742 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.MoistAir1CalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1CalcHelperMain.o] Error 1