Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001816/0.001816, allocations: 184.7 kB / 7.8 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.538/1.538, allocations: 205.2 MB / 213.4 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009447/0.0009444, allocations: 94.5 kB / 261.4 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2096/0.2096, allocations: 43.48 MB / 352.8 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2712/0.4809, allocations: 64.98 MB / 417.8 MB, free: 40.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4212/0.9021, allocations: 58.84 MB / 476.7 MB, free: 5.191 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.579/2.481, allocations: 0.6182 GB / 1.084 GB, free: 117.9 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003841/2.482, allocations: 86.39 kB / 1.084 GB, free: 117.9 MB / 0.4948 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.8113/3.293, allocations: 228.5 MB / 1.307 GB, free: 93.32 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/3.293, allocations: 8 kB / 1.307 GB, free: 93.32 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001321/3.295, allocations: 135 kB / 1.307 GB, free: 93.18 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001596/3.296, allocations: 0.5391 MB / 1.308 GB, free: 92.62 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/3.296, allocations: 92.3 kB / 1.308 GB, free: 92.51 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001843/3.296, allocations: 32 kB / 1.308 GB, free: 92.48 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001155/3.298, allocations: 0.5333 MB / 1.308 GB, free: 91.95 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/3.299, allocations: 0.7431 MB / 1.309 GB, free: 91.12 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/3.299, allocations: 3.938 kB / 1.309 GB, free: 91.12 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/3.299, allocations: 4 kB / 1.309 GB, free: 91.11 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.647e-05/3.299, allocations: 40.98 kB / 1.309 GB, free: 91.07 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005274/3.304, allocations: 4.053 MB / 1.313 GB, free: 86.83 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003316/3.305, allocations: 206.2 kB / 1.313 GB, free: 86.62 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002064/3.305, allocations: 133.3 kB / 1.313 GB, free: 86.49 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.915e-05/3.305, allocations: 23.45 kB / 1.313 GB, free: 86.47 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/3.305, allocations: 38.8 kB / 1.313 GB, free: 86.42 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=28): time 2.705e-06/3.305, allocations: 0 / 1.313 GB, free: 86.42 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.005843/3.311, allocations: 1.436 MB / 1.315 GB, free: 84.91 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.521e-05/3.311, allocations: 136.5 kB / 1.315 GB, free: 84.75 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006271/3.312, allocations: 462 kB / 1.315 GB, free: 84.29 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.793e-05/3.312, allocations: 25.7 kB / 1.315 GB, free: 84.25 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000175/3.312, allocations: 346.8 kB / 1.316 GB, free: 83.91 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/3.312, allocations: 118.3 kB / 1.316 GB, free: 83.79 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/3.312, allocations: 0 / 1.316 GB, free: 83.79 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001166/3.312, allocations: 362.8 kB / 1.316 GB, free: 83.43 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000289/3.313, allocations: 185.5 kB / 1.316 GB, free: 83.25 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004064/3.313, allocations: 0.4891 MB / 1.317 GB, free: 82.61 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006743/3.314, allocations: 332 kB / 1.317 GB, free: 82.29 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/3.314, allocations: 4 kB / 1.317 GB, free: 82.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001515/3.315, allocations: 0.8296 MB / 1.318 GB, free: 81.45 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/3.315, allocations: 4 kB / 1.318 GB, free: 81.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/3.315, allocations: 15.94 kB / 1.318 GB, free: 81.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001185/3.316, allocations: 283.8 kB / 1.318 GB, free: 81.15 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003991/3.317, allocations: 127.7 kB / 1.318 GB, free: 81.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001034/3.318, allocations: 0.9663 MB / 1.319 GB, free: 80.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006934/3.319, allocations: 28.05 kB / 1.319 GB, free: 80 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.014e-05/3.319, allocations: 71.98 kB / 1.319 GB, free: 79.93 MB / 0.4948 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.0001766/3.319, allocations: 142.2 kB / 1.32 GB, free: 79.79 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/3.319, allocations: 55.34 kB / 1.32 GB, free: 79.73 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001291/3.32, allocations: 0.5622 MB / 1.32 GB, free: 79.16 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/3.32, allocations: 4 kB / 1.32 GB, free: 79.16 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/3.32, allocations: 0 / 1.32 GB, free: 79.16 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/3.32, allocations: 3.984 kB / 1.32 GB, free: 79.15 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001466/3.322, allocations: 0.9955 MB / 1.321 GB, free: 78.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/3.322, allocations: 32 / 1.321 GB, free: 78.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/3.323, allocations: 191.8 kB / 1.321 GB, free: 77.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.595e-05/3.323, allocations: 24.78 kB / 1.321 GB, free: 77.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.036e-05/3.323, allocations: 8 kB / 1.321 GB, free: 77.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001694/3.325, allocations: 2.58 MB / 1.324 GB, free: 75.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/3.325, allocations: 0 / 1.324 GB, free: 75.08 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009379/3.326, allocations: 0.7051 MB / 1.325 GB, free: 74.35 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001446/3.327, allocations: 1.319 MB / 1.326 GB, free: 73 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002907/3.327, allocations: 180.3 kB / 1.326 GB, free: 72.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/3.328, allocations: 0 / 1.326 GB, free: 72.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004634/3.328, allocations: 19.97 kB / 1.326 GB, free: 72.78 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.471e-05/3.328, allocations: 35.94 kB / 1.326 GB, free: 72.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-05/3.328, allocations: 35.98 kB / 1.326 GB, free: 72.71 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0004142/3.329, allocations: 342.9 kB / 1.326 GB, free: 72.38 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002495/3.331, allocations: 446.8 kB / 1.327 GB, free: 71.95 MB / 0.4948 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.00261/3.334, allocations: 1.214 MB / 1.328 GB, free: 70.86 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001062/3.335, allocations: 488.1 kB / 1.328 GB, free: 70.39 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/3.335, allocations: 0 / 1.328 GB, free: 70.39 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001111/3.336, allocations: 402.3 kB / 1.329 GB, free: 69.98 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/3.337, allocations: 227.8 kB / 1.329 GB, free: 69.77 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/3.34, allocations: 0.8912 MB / 1.33 GB, free: 68.85 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00114/3.341, allocations: 1.07 MB / 1.331 GB, free: 67.75 MB / 0.4948 GB Notification: Performance of SimCode: time 8.71e-07/3.341, allocations: 0 / 1.331 GB, free: 67.75 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1)