Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.IdealGases.Air,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",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.001552/0.001552, allocations: 173.8 kB / 8.515 MB, free: 1.828 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.263/1.263, allocations: 221.4 MB / 230.3 MB, free: 7.75 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.0009572/0.0009573, allocations: 91.22 kB / 281.2 MB, free: 5.516 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.1811/0.1811, allocations: 44.14 MB / 376.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1897/0.3708, allocations: 68.05 MB / 444.1 MB, free: 15.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09889/0.4697, allocations: 61.91 MB / 0.4942 GB, free: 1.488 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9182/1.388, allocations: 0.5209 GB / 1.015 GB, free: 85.05 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003192/1.388, allocations: 104.5 kB / 1.015 GB, free: 84.95 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.5715/1.96, allocations: 206 MB / 1.216 GB, free: 79.22 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/1.96, allocations: 9.25 kB / 1.216 GB, free: 79.21 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008993/1.961, allocations: 135 kB / 1.217 GB, free: 79.08 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009796/1.962, allocations: 0.544 MB / 1.217 GB, free: 78.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.682e-05/1.962, allocations: 88.39 kB / 1.217 GB, free: 78.41 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-05/1.962, allocations: 31.91 kB / 1.217 GB, free: 78.38 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007915/1.963, allocations: 0.5411 MB / 1.218 GB, free: 77.84 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000914/1.964, allocations: 0.7507 MB / 1.218 GB, free: 77.01 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/1.964, allocations: 3.984 kB / 1.218 GB, free: 77 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-05/1.964, allocations: 4 kB / 1.218 GB, free: 77 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.975e-05/1.964, allocations: 44.92 kB / 1.219 GB, free: 76.95 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003916/1.968, allocations: 4.086 MB / 1.223 GB, free: 72.65 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002646/1.968, allocations: 202.3 kB / 1.223 GB, free: 72.45 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001783/1.968, allocations: 133.3 kB / 1.223 GB, free: 72.32 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.729e-05/1.968, allocations: 89.25 kB / 1.223 GB, free: 72.21 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/1.968, allocations: 38.8 kB / 1.223 GB, free: 72.16 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 2.024e-06/1.968, allocations: 4 kB / 1.223 GB, free: 72.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.004971/1.973, allocations: 1.382 MB / 1.224 GB, free: 70.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/1.974, allocations: 136.5 kB / 1.224 GB, free: 70.54 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004365/1.974, allocations: 458.1 kB / 1.225 GB, free: 70.08 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.787e-05/1.974, allocations: 29.7 kB / 1.225 GB, free: 70.05 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/1.974, allocations: 342.2 kB / 1.225 GB, free: 69.71 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.975e-05/1.974, allocations: 118.3 kB / 1.225 GB, free: 69.59 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/1.974, allocations: 0 / 1.225 GB, free: 69.59 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.026e-05/1.974, allocations: 366.8 kB / 1.226 GB, free: 69.23 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002538/1.975, allocations: 185.5 kB / 1.226 GB, free: 69.05 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003477/1.975, allocations: 497.1 kB / 1.226 GB, free: 68.41 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005375/1.975, allocations: 311.4 kB / 1.227 GB, free: 68.11 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/1.976, allocations: 4 kB / 1.227 GB, free: 68.11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001268/1.977, allocations: 0.8104 MB / 1.227 GB, free: 67.29 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/1.977, allocations: 8 kB / 1.227 GB, free: 67.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/1.977, allocations: 8 kB / 1.227 GB, free: 67.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001149/1.978, allocations: 279.9 kB / 1.228 GB, free: 67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003814/1.978, allocations: 123.8 kB / 1.228 GB, free: 66.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009459/1.979, allocations: 0.9663 MB / 1.229 GB, free: 65.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005595/1.98, allocations: 31.98 kB / 1.229 GB, free: 65.85 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.13e-05/1.98, allocations: 67.98 kB / 1.229 GB, free: 65.79 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.000132/1.98, allocations: 136.6 kB / 1.229 GB, free: 65.64 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.837e-05/1.98, allocations: 63.34 kB / 1.229 GB, free: 65.58 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00133/1.982, allocations: 0.7283 MB / 1.23 GB, free: 64.84 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/1.982, allocations: 4 kB / 1.23 GB, free: 64.84 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/1.982, allocations: 3.938 kB / 1.23 GB, free: 64.83 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/1.982, allocations: 7.984 kB / 1.23 GB, free: 64.82 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/1.983, allocations: 0.9958 MB / 1.231 GB, free: 63.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/1.983, allocations: 4 kB / 1.231 GB, free: 63.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/1.984, allocations: 195.8 kB / 1.231 GB, free: 63.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.936e-05/1.984, allocations: 20.84 kB / 1.231 GB, free: 63.57 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.72e-05/1.984, allocations: 8 kB / 1.231 GB, free: 63.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001293/1.985, allocations: 2.58 MB / 1.234 GB, free: 60.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/1.985, allocations: 0 / 1.234 GB, free: 60.75 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008018/1.986, allocations: 0.705 MB / 1.234 GB, free: 60.02 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001184/1.987, allocations: 1.307 MB / 1.235 GB, free: 58.68 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002124/1.988, allocations: 172.3 kB / 1.236 GB, free: 58.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/1.988, allocations: 8.125 kB / 1.236 GB, free: 58.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004548/1.988, allocations: 19.97 kB / 1.236 GB, free: 58.46 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.715e-05/1.988, allocations: 23.97 kB / 1.236 GB, free: 58.44 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.858e-05/1.988, allocations: 43.98 kB / 1.236 GB, free: 58.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0003338/1.989, allocations: 342.8 kB / 1.236 GB, free: 58.07 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001733/1.99, allocations: 375.9 kB / 1.236 GB, free: 57.7 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.001575/1.992, allocations: 1.084 MB / 1.237 GB, free: 56.74 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008658/1.993, allocations: 0.4892 MB / 1.238 GB, free: 56.25 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.993, allocations: 0 / 1.238 GB, free: 56.25 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00106/1.994, allocations: 401.6 kB / 1.238 GB, free: 55.85 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/1.995, allocations: 244.4 kB / 1.239 GB, free: 55.62 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/1.997, allocations: 0.8873 MB / 1.239 GB, free: 54.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008978/1.998, allocations: 1.089 MB / 1.241 GB, free: 53.58 MB / 0.5105 GB Notification: Performance of SimCode: time 4.71e-07/1.998, allocations: 0 / 1.241 GB, free: 53.58 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1)