Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.365/1.365, allocations: 285.5 MB / 292.8 MB, free: 10.44 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009338/0.0009338, allocations: 185.3 kB / 361.1 MB, free: 7.074 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.134/1.134, allocations: 205.1 MB / 0.6195 GB, free: 10.34 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008282/0.0008282, allocations: 89.75 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1978/0.1986, allocations: 121.5 MB / 0.8512 GB, free: 2.871 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5098/0.7084, allocations: 115.3 MB / 0.9638 GB, free: 78.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1477/0.8562, allocations: 140.5 MB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002024/0.8564, allocations: 87.95 kB / 1.101 GB, free: 15.32 MB / 0.7136 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.01956/0.876, allocations: 8.104 MB / 1.109 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.876, allocations: 9 kB / 1.109 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.739e-05/0.8761, allocations: 15.81 kB / 1.109 GB, free: 7.262 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003528/0.8765, allocations: 255.5 kB / 1.109 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.8765, allocations: 0.75 kB / 1.109 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.8765, allocations: 7.938 kB / 1.109 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002705/0.8768, allocations: 179.7 kB / 1.109 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.877, allocations: 132.6 kB / 1.11 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.877, allocations: 0 / 1.11 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.877, allocations: 0 / 1.11 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.877, allocations: 0 / 1.11 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002713/0.8773, allocations: 230.5 kB / 1.11 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.8775, allocations: 148.7 kB / 1.11 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.848e-05/0.8776, allocations: 61.34 kB / 1.11 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.8776, allocations: 0.6875 kB / 1.11 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001476/0.8778, allocations: 112.2 kB / 1.11 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.8778, allocations: 0.5625 kB / 1.11 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13): time 0.000335/0.8781, allocations: 185.4 kB / 1.11 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.8782, allocations: 77.8 kB / 1.11 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.8784, allocations: 223.1 kB / 1.111 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.8784, allocations: 30.72 kB / 1.111 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.335e-05/0.8785, allocations: 96.12 kB / 1.111 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.629e-05/0.8785, allocations: 40.7 kB / 1.111 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-06/0.8785, allocations: 3.938 kB / 1.111 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.412e-05/0.8786, allocations: 331.5 kB / 1.111 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.967e-05/0.8787, allocations: 51.98 kB / 1.111 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.011e-05/0.8788, allocations: 80.77 kB / 1.111 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.8789, allocations: 75.39 kB / 1.111 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.8789, allocations: 0 / 1.111 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002745/0.8792, allocations: 189.5 kB / 1.111 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.8792, allocations: 8 kB / 1.111 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.8792, allocations: 0 / 1.111 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.8792, allocations: 0 / 1.111 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.8794, allocations: 35.92 kB / 1.111 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.8794, allocations: 2.672 kB / 1.111 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.6e-05/0.8795, allocations: 13.16 kB / 1.112 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.8795, allocations: 7.984 kB / 1.112 GB, free: 4.578 MB / 0.7136 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.381e-05/0.8796, allocations: 111.8 kB / 1.112 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.166e-05/0.8796, allocations: 19.72 kB / 1.112 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004031/0.88, allocations: 257.3 kB / 1.112 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.88, allocations: 4.75 kB / 1.112 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.88, allocations: 0 / 1.112 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.88, allocations: 3.984 kB / 1.112 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002066/0.8803, allocations: 246.1 kB / 1.112 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.8803, allocations: 6.25 kB / 1.112 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.8804, allocations: 35.89 kB / 1.112 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.8804, allocations: 0 / 1.112 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.8804, allocations: 8 kB / 1.112 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.155e-06/0.8804, allocations: 0.75 kB / 1.112 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.8804, allocations: 4 kB / 1.112 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003025/0.8807, allocations: 247.8 kB / 1.112 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004169/0.8812, allocations: 0.6105 MB / 1.113 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.821e-05/0.8812, allocations: 104.9 kB / 1.113 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.147e-05/0.8813, allocations: 0 / 1.113 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.981e-05/0.8814, allocations: 7.984 kB / 1.113 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/0.8814, allocations: 19.89 kB / 1.113 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.8814, allocations: 4.656 kB / 1.113 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001474/0.8816, allocations: 184.2 kB / 1.113 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008063/0.8824, allocations: 55.92 kB / 1.113 GB, free: 2.582 MB / 0.7136 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.000635/0.883, allocations: 359.8 kB / 1.114 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002245/0.8833, allocations: 154.6 kB / 1.114 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.8833, allocations: 4.062 kB / 1.114 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.8834, allocations: 83.92 kB / 1.114 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.8836, allocations: 32.25 kB / 1.114 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004888/0.8841, allocations: 244.7 kB / 1.114 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003573/0.8845, allocations: 0.7675 MB / 1.115 GB, free: 1.039 MB / 0.7136 GB Notification: Performance of SimCode: time 1.273e-06/0.8845, allocations: 4 kB / 1.115 GB, free: 1.035 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)