Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.231/1.231, allocations: 249.4 MB / 256.7 MB, free: 6.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001033/0.001033, allocations: 185.2 kB / 316 MB, free: 3.555 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.191/1.191, allocations: 205.2 MB / 0.5667 GB, free: 15.69 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008263/0.0008263, allocations: 87.36 kB / 0.671 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3306/0.3315, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.4926, allocations: 106.3 MB / 0.8847 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4594/0.9521, allocations: 135.3 MB / 1.017 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002017/0.9523, allocations: 91.12 kB / 1.017 GB, free: 3.246 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.01928/0.9716, allocations: 8.11 MB / 1.025 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.9717, allocations: 8 kB / 1.025 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.751e-05/0.9717, allocations: 23.8 kB / 1.025 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003504/0.9721, allocations: 248.3 kB / 1.025 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.9721, allocations: 4 kB / 1.025 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.9721, allocations: 4 kB / 1.025 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002688/0.9724, allocations: 175.3 kB / 1.025 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.9726, allocations: 127.6 kB / 1.025 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.9726, allocations: 0 / 1.025 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.9726, allocations: 0 / 1.025 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.9726, allocations: 8 kB / 1.025 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002313/0.9729, allocations: 230.9 kB / 1.026 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.9731, allocations: 146.7 kB / 1.026 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.753e-05/0.9732, allocations: 58.09 kB / 1.026 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.9732, allocations: 4 kB / 1.026 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001549/0.9733, allocations: 119.9 kB / 1.026 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.9734, allocations: 0 / 1.026 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.0003028/0.9737, allocations: 179.6 kB / 1.026 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.9737, allocations: 77.11 kB / 1.026 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.9739, allocations: 221.7 kB / 1.026 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.9739, allocations: 28.95 kB / 1.026 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 2.964e-05/0.974, allocations: 95.56 kB / 1.026 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.323e-05/0.974, allocations: 41.39 kB / 1.027 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.782e-06/0.974, allocations: 0 / 1.027 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.296e-05/0.9741, allocations: 333.6 kB / 1.027 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.461e-05/0.9742, allocations: 58.53 kB / 1.027 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.463e-05/0.9743, allocations: 76.81 kB / 1.027 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.033e-05/0.9744, allocations: 64.33 kB / 1.027 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.9744, allocations: 0 / 1.027 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002699/0.9747, allocations: 203.8 kB / 1.027 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/0.9747, allocations: 8.062 kB / 1.027 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.9747, allocations: 4 kB / 1.027 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.9747, allocations: 336 / 1.027 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.9749, allocations: 27.55 kB / 1.027 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.9749, allocations: 4 kB / 1.027 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.963e-05/0.975, allocations: 15.78 kB / 1.027 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.975, allocations: 7.984 kB / 1.027 GB, free: 10.45 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.276e-05/0.9751, allocations: 104.9 kB / 1.027 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.088e-05/0.9751, allocations: 15.81 kB / 1.027 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004161/0.9755, allocations: 269.5 kB / 1.028 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.9755, allocations: 0 / 1.028 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.9755, allocations: 3.984 kB / 1.028 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.9755, allocations: 0 / 1.028 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.9757, allocations: 248.7 kB / 1.028 GB, free: 9.848 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.9758, allocations: 0 / 1.028 GB, free: 9.848 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.9759, allocations: 39.23 kB / 1.028 GB, free: 9.812 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.9759, allocations: 0 / 1.028 GB, free: 9.812 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.9759, allocations: 8 kB / 1.028 GB, free: 9.805 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.9759, allocations: 0 / 1.028 GB, free: 9.805 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.9759, allocations: 4 kB / 1.028 GB, free: 9.801 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002873/0.9762, allocations: 242.3 kB / 1.028 GB, free: 9.586 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003768/0.9766, allocations: 0.6171 MB / 1.029 GB, free: 8.996 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.685e-05/0.9767, allocations: 108.4 kB / 1.029 GB, free: 8.875 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.295e-05/0.9767, allocations: 7.688 kB / 1.029 GB, free: 8.871 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.889e-05/0.9768, allocations: 7.984 kB / 1.029 GB, free: 8.863 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.9769, allocations: 7.984 kB / 1.029 GB, free: 8.855 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.9769, allocations: 11.25 kB / 1.029 GB, free: 8.848 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001357/0.977, allocations: 179.4 kB / 1.029 GB, free: 8.703 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007894/0.9778, allocations: 49.98 kB / 1.029 GB, free: 8.664 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006736/0.9785, allocations: 360.3 kB / 1.029 GB, free: 8.391 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002171/0.9787, allocations: 151.8 kB / 1.03 GB, free: 8.285 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.9787, allocations: 0 / 1.03 GB, free: 8.285 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.9789, allocations: 91.05 kB / 1.03 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.9791, allocations: 34.48 kB / 1.03 GB, free: 8.191 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005142/0.9796, allocations: 253.3 kB / 1.03 GB, free: 7.953 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003328/0.98, allocations: 0.7652 MB / 1.031 GB, free: 7.168 MB / 0.6511 GB Notification: Performance of SimCode: time 2.7e-07/0.98, allocations: 0 / 1.031 GB, free: 7.168 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)