Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.conf.json 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) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) 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) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 186.3 kB / 8.524 MB, free: 1.809 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.25/1.25, allocations: 221.4 MB / 230.3 MB, free: 7.734 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009851/0.0009851, allocations: 86.12 kB / 281.2 MB, free: 5.484 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1681/0.1681, allocations: 44.15 MB / 376.1 MB, free: 3.266 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1817/0.3498, allocations: 68.04 MB / 444.1 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.4517, allocations: 61.9 MB / 0.4942 GB, free: 1.547 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.922/1.374, allocations: 0.521 GB / 1.015 GB, free: 85.15 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/1.374, allocations: 99.77 kB / 1.015 GB, free: 85.05 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.5994/1.973, allocations: 206 MB / 1.216 GB, free: 79.35 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/1.973, allocations: 9.25 kB / 1.216 GB, free: 79.34 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/1.975, allocations: 135 kB / 1.217 GB, free: 79.21 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/1.976, allocations: 0.5539 MB / 1.217 GB, free: 78.62 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.62e-05/1.976, allocations: 88.39 kB / 1.217 GB, free: 78.53 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/1.976, allocations: 31.91 kB / 1.217 GB, free: 78.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008942/1.977, allocations: 0.5372 MB / 1.218 GB, free: 77.96 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009749/1.978, allocations: 0.7468 MB / 1.218 GB, free: 77.14 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/1.978, allocations: 0 / 1.218 GB, free: 77.14 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.633e-05/1.978, allocations: 4 kB / 1.218 GB, free: 77.13 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.889e-05/1.978, allocations: 40.97 kB / 1.219 GB, free: 77.09 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00415/1.982, allocations: 4.095 MB / 1.223 GB, free: 72.78 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002671/1.983, allocations: 202.3 kB / 1.223 GB, free: 72.58 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001776/1.983, allocations: 133.3 kB / 1.223 GB, free: 72.45 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.605e-05/1.983, allocations: 96.3 kB / 1.223 GB, free: 72.34 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/1.983, allocations: 50.73 kB / 1.223 GB, free: 72.28 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 2.014e-06/1.983, allocations: 0 / 1.223 GB, free: 72.28 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.005458/1.988, allocations: 1.378 MB / 1.224 GB, free: 70.82 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/1.988, allocations: 136.5 kB / 1.224 GB, free: 70.66 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005701/1.989, allocations: 462.1 kB / 1.225 GB, free: 70.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.196e-05/1.989, allocations: 25.7 kB / 1.225 GB, free: 70.17 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/1.989, allocations: 334.8 kB / 1.225 GB, free: 69.84 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.724e-05/1.989, allocations: 122.3 kB / 1.225 GB, free: 69.71 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.578e-05/1.989, allocations: 0 / 1.225 GB, free: 69.71 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.504e-05/1.989, allocations: 366.8 kB / 1.226 GB, free: 69.35 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002765/1.99, allocations: 189.5 kB / 1.226 GB, free: 69.16 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003765/1.99, allocations: 493.1 kB / 1.226 GB, free: 68.54 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005811/1.991, allocations: 311.5 kB / 1.227 GB, free: 68.23 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/1.991, allocations: 0 / 1.227 GB, free: 68.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001338/1.992, allocations: 0.8101 MB / 1.227 GB, free: 67.41 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/1.992, allocations: 4 kB / 1.227 GB, free: 67.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/1.992, allocations: 12 kB / 1.227 GB, free: 67.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001187/1.993, allocations: 280.3 kB / 1.228 GB, free: 67.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003954/1.994, allocations: 123.8 kB / 1.228 GB, free: 67 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009448/1.995, allocations: 0.9663 MB / 1.229 GB, free: 66.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006506/1.995, allocations: 31.98 kB / 1.229 GB, free: 65.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/1.995, allocations: 71.98 kB / 1.229 GB, free: 65.91 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0001685/1.996, allocations: 132.7 kB / 1.229 GB, free: 65.77 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/1.996, allocations: 59.34 kB / 1.229 GB, free: 65.71 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001426/1.997, allocations: 0.74 MB / 1.23 GB, free: 64.96 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/1.997, allocations: 11.94 kB / 1.23 GB, free: 64.95 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/1.997, allocations: 0 / 1.23 GB, free: 64.95 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/1.997, allocations: 0 / 1.23 GB, free: 64.95 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001447/1.999, allocations: 0.9984 MB / 1.231 GB, free: 63.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/1.999, allocations: 0 / 1.231 GB, free: 63.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/2, allocations: 191.8 kB / 1.231 GB, free: 63.72 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.639e-05/2, allocations: 24.84 kB / 1.231 GB, free: 63.69 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.28e-05/2, allocations: 8 kB / 1.231 GB, free: 63.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001471/2.001, allocations: 2.584 MB / 1.234 GB, free: 60.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/2.001, allocations: 0 / 1.234 GB, free: 60.87 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009545/2.002, allocations: 0.7013 MB / 1.234 GB, free: 60.14 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001291/2.004, allocations: 1.307 MB / 1.235 GB, free: 58.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002966/2.004, allocations: 176.3 kB / 1.236 GB, free: 58.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001474/2.004, allocations: 4 kB / 1.236 GB, free: 58.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005092/2.005, allocations: 15.98 kB / 1.236 GB, free: 58.59 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.113e-05/2.005, allocations: 27.95 kB / 1.236 GB, free: 58.56 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.341e-05/2.005, allocations: 40.05 kB / 1.236 GB, free: 58.52 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0004113/2.005, allocations: 350.8 kB / 1.236 GB, free: 58.18 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001934/2.007, allocations: 370.7 kB / 1.236 GB, free: 57.82 MB / 0.5105 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 32 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002058/2.009, allocations: 1.087 MB / 1.237 GB, free: 56.86 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009631/2.01, allocations: 491.9 kB / 1.238 GB, free: 56.38 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/2.01, allocations: 5.125 kB / 1.238 GB, free: 56.38 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001092/2.011, allocations: 405.5 kB / 1.238 GB, free: 55.97 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/2.013, allocations: 234 kB / 1.239 GB, free: 55.75 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/2.014, allocations: 0.8943 MB / 1.239 GB, free: 54.82 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008685/2.015, allocations: 1.085 MB / 1.241 GB, free: 53.7 MB / 0.5105 GB Notification: Performance of SimCode: time 7.41e-07/2.015, allocations: 0 / 1.241 GB, free: 53.7 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1)