Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.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.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",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.001031/0.001031, allocations: 175 kB / 8.518 MB, free: 1.832 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.207/1.207, allocations: 221.4 MB / 230.3 MB, free: 7.621 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.0008712/0.0008709, allocations: 94.41 kB / 281.2 MB, free: 5.43 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.1638/0.1638, allocations: 44.14 MB / 376.1 MB, free: 3.199 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1833/0.3471, allocations: 68.04 MB / 444.1 MB, free: 15.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09688/0.444, allocations: 61.92 MB / 0.4942 GB, free: 1.488 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5443/0.9884, allocations: 236.4 MB / 0.7251 GB, free: 163.6 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002096/0.9886, allocations: 91.78 kB / 0.7252 GB, free: 163.6 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.7658/1.754, allocations: 348.4 MB / 1.065 GB, free: 6.273 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/1.754, allocations: 9.5 kB / 1.065 GB, free: 6.266 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/1.756, allocations: 155 kB / 1.066 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/1.757, allocations: 0.6067 MB / 1.066 GB, free: 5.469 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.2e-05/1.757, allocations: 88.41 kB / 1.066 GB, free: 5.367 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.654e-05/1.757, allocations: 31.98 kB / 1.066 GB, free: 5.336 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008463/1.758, allocations: 0.5254 MB / 1.067 GB, free: 4.809 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009911/1.759, allocations: 0.7682 MB / 1.068 GB, free: 3.957 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/1.759, allocations: 7.938 kB / 1.068 GB, free: 3.949 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.798e-05/1.759, allocations: 7.906 kB / 1.068 GB, free: 3.941 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.243e-05/1.759, allocations: 36.97 kB / 1.068 GB, free: 3.906 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004227/1.763, allocations: 4.518 MB / 1.072 GB, free: 15.06 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004344/1.764, allocations: 261.3 kB / 1.072 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000203/1.764, allocations: 132.8 kB / 1.072 GB, free: 14.67 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002899/1.764, allocations: 433.9 kB / 1.073 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/1.764, allocations: 42.56 kB / 1.073 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=30): time 3.006e-06/1.764, allocations: 0 / 1.073 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=36): time 0.004425/1.769, allocations: 1.398 MB / 1.074 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.897e-05/1.769, allocations: 132.5 kB / 1.074 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005641/1.77, allocations: 470.1 kB / 1.075 GB, free: 12 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.173e-05/1.77, allocations: 25.7 kB / 1.075 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001887/1.77, allocations: 346.8 kB / 1.075 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/1.77, allocations: 122.2 kB / 1.075 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-05/1.77, allocations: 0 / 1.075 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001389/1.77, allocations: 378.8 kB / 1.076 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003458/1.77, allocations: 189.5 kB / 1.076 GB, free: 10.93 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004901/1.771, allocations: 490.8 kB / 1.076 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/1.772, allocations: 352.4 kB / 1.077 GB, free: 9.969 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/1.772, allocations: 4 kB / 1.077 GB, free: 9.965 MB / 0.5105 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002086/1.774, allocations: 0.8555 MB / 1.077 GB, free: 9.098 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/1.774, allocations: 4 kB / 1.077 GB, free: 9.094 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/1.774, allocations: 12 kB / 1.077 GB, free: 9.082 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008634/1.775, allocations: 240.9 kB / 1.078 GB, free: 8.844 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004436/1.776, allocations: 135.8 kB / 1.078 GB, free: 8.711 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001501/1.777, allocations: 1.444 MB / 1.079 GB, free: 7.215 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005285/1.778, allocations: 20.12 kB / 1.079 GB, free: 7.195 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/1.778, allocations: 76.05 kB / 1.079 GB, free: 7.121 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (70): * Single equations (assignments): 68 * 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 {1 4,1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001973/1.778, allocations: 144.6 kB / 1.079 GB, free: 6.973 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/1.778, allocations: 63.25 kB / 1.08 GB, free: 6.91 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0028/1.781, allocations: 1.13 MB / 1.081 GB, free: 5.762 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-05/1.781, allocations: 8 kB / 1.081 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/1.781, allocations: 0 / 1.081 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/1.781, allocations: 0 / 1.081 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002421/1.783, allocations: 1.311 MB / 1.082 GB, free: 4.387 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/1.783, allocations: 4 kB / 1.082 GB, free: 4.383 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001983/1.784, allocations: 39.92 kB / 1.082 GB, free: 4.344 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005638/1.784, allocations: 173.6 kB / 1.082 GB, free: 4.168 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.208e-05/1.784, allocations: 4 kB / 1.082 GB, free: 4.164 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00124/1.786, allocations: 1.362 MB / 1.083 GB, free: 2.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.786, allocations: 0 / 1.083 GB, free: 2.75 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001684/1.787, allocations: 1.001 MB / 1.084 GB, free: 1.715 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1467/1.934, allocations: 1.701 MB / 1.086 GB, free: 156.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004272/1.934, allocations: 198 kB / 1.086 GB, free: 156.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/1.935, allocations: 3.891 kB / 1.086 GB, free: 156.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005069/1.935, allocations: 19.17 kB / 1.086 GB, free: 156.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.437e-05/1.935, allocations: 22.44 kB / 1.086 GB, free: 156.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.907e-05/1.935, allocations: 28.66 kB / 1.086 GB, free: 156.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.000392/1.936, allocations: 340.5 kB / 1.087 GB, free: 156.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001911/1.937, allocations: 450.2 kB / 1.087 GB, free: 156.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 2 * 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 {1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001061/1.939, allocations: 0.5201 MB / 1.088 GB, free: 156 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008636/1.939, allocations: 0.541 MB / 1.088 GB, free: 156 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.939, allocations: 0 / 1.088 GB, free: 156 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004514/1.94, allocations: 265.7 kB / 1.088 GB, free: 156 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/1.941, allocations: 252.5 kB / 1.089 GB, free: 156 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03151/1.973, allocations: 15.67 MB / 1.104 GB, free: 155.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008671/1.973, allocations: 1.065 MB / 1.105 GB, free: 154.9 MB / 0.5105 GB Notification: Performance of SimCode: time 9.01e-07/1.974, allocations: 0 / 1.105 GB, free: 154.9 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1)