Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.389/2.389, allocations: 284.8 MB / 292.1 MB, free: 9.891 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.001623/0.001623, allocations: 175.8 kB / 360.3 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.86/1.86, allocations: 205.1 MB / 0.6187 GB, free: 3.258 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001262/0.001262, allocations: 96.55 kB / 0.7317 GB, free: 1.742 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.5678/0.5691, allocations: 121.4 MB / 0.8502 GB, free: 149.9 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.7834, allocations: 115.2 MB / 0.9628 GB, free: 56.99 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7486/1.532, allocations: 140.4 MB / 1.1 GB, free: 32.84 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003961/1.532, allocations: 90.67 kB / 1.1 GB, free: 32.84 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.03063/1.563, allocations: 8.096 MB / 1.108 GB, free: 32.02 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/1.563, allocations: 8.25 kB / 1.108 GB, free: 32.02 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/1.563, allocations: 15.53 kB / 1.108 GB, free: 32.01 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004745/1.564, allocations: 255.1 kB / 1.108 GB, free: 31.79 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/1.564, allocations: 7.75 kB / 1.108 GB, free: 31.79 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/1.564, allocations: 3.719 kB / 1.108 GB, free: 31.79 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004382/1.564, allocations: 178.5 kB / 1.108 GB, free: 31.79 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000253/1.565, allocations: 120.3 kB / 1.108 GB, free: 31.73 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/1.565, allocations: 6.984 kB / 1.108 GB, free: 31.73 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/1.565, allocations: 0 / 1.108 GB, free: 31.73 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/1.565, allocations: 0 / 1.108 GB, free: 31.73 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003378/1.565, allocations: 238.9 kB / 1.109 GB, free: 31.57 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003164/1.565, allocations: 142.8 kB / 1.109 GB, free: 31.54 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/1.566, allocations: 62.02 kB / 1.109 GB, free: 31.54 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/1.566, allocations: 3.672 kB / 1.109 GB, free: 31.54 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002141/1.566, allocations: 115.2 kB / 1.109 GB, free: 31.48 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=13): time 1.794e-06/1.566, allocations: 4 kB / 1.109 GB, free: 31.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13): time 0.000525/1.566, allocations: 185.3 kB / 1.109 GB, free: 31.43 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/1.566, allocations: 77.11 kB / 1.109 GB, free: 31.34 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000318/1.567, allocations: 224.7 kB / 1.109 GB, free: 31.24 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/1.567, allocations: 25.7 kB / 1.109 GB, free: 31.21 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.127e-05/1.567, allocations: 98.56 kB / 1.11 GB, free: 31.12 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.94e-05/1.567, allocations: 42.3 kB / 1.11 GB, free: 31.1 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.166e-05/1.567, allocations: 0 / 1.11 GB, free: 31.1 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.363e-05/1.567, allocations: 333.2 kB / 1.11 GB, free: 30.78 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/1.567, allocations: 63.44 kB / 1.11 GB, free: 30.78 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/1.567, allocations: 74.2 kB / 1.11 GB, free: 30.75 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/1.567, allocations: 65.81 kB / 1.11 GB, free: 30.75 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.567, allocations: 0 / 1.11 GB, free: 30.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004601/1.568, allocations: 194.4 kB / 1.11 GB, free: 30.71 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/1.568, allocations: 3.312 kB / 1.11 GB, free: 30.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/1.568, allocations: 7.406 kB / 1.11 GB, free: 30.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/1.568, allocations: 0 / 1.11 GB, free: 30.71 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002295/1.568, allocations: 26.72 kB / 1.11 GB, free: 30.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/1.568, allocations: 3.312 kB / 1.11 GB, free: 30.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/1.568, allocations: 14.09 kB / 1.11 GB, free: 30.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/1.568, allocations: 3.281 kB / 1.11 GB, free: 30.7 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 9.21e-05/1.569, allocations: 112.3 kB / 1.11 GB, free: 30.59 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.949e-05/1.569, allocations: 21.69 kB / 1.11 GB, free: 30.57 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006774/1.569, allocations: 261.7 kB / 1.111 GB, free: 30.52 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/1.569, allocations: 3.219 kB / 1.111 GB, free: 30.52 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/1.569, allocations: 0 / 1.111 GB, free: 30.52 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/1.569, allocations: 3.984 kB / 1.111 GB, free: 30.52 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002892/1.57, allocations: 245.2 kB / 1.111 GB, free: 30.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/1.57, allocations: 0 / 1.111 GB, free: 30.36 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002238/1.57, allocations: 38.98 kB / 1.111 GB, free: 30.35 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/1.57, allocations: 0 / 1.111 GB, free: 30.35 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/1.57, allocations: 7.656 kB / 1.111 GB, free: 30.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.716e-06/1.57, allocations: 4 kB / 1.111 GB, free: 30.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/1.57, allocations: 3.688 kB / 1.111 GB, free: 30.34 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004944/1.57, allocations: 244.1 kB / 1.111 GB, free: 30.26 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005679/1.571, allocations: 0.6169 MB / 1.112 GB, free: 29.81 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.533e-05/1.571, allocations: 97.78 kB / 1.112 GB, free: 29.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.857e-05/1.571, allocations: 11.03 kB / 1.112 GB, free: 29.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/1.571, allocations: 3.188 kB / 1.112 GB, free: 29.7 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.945e-05/1.572, allocations: 11.75 kB / 1.112 GB, free: 29.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.734e-05/1.572, allocations: 12.44 kB / 1.112 GB, free: 29.7 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0002299/1.572, allocations: 176.8 kB / 1.112 GB, free: 29.62 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001216/1.573, allocations: 60.69 kB / 1.112 GB, free: 29.61 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.001009/1.574, allocations: 360.1 kB / 1.113 GB, free: 29.43 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004135/1.574, allocations: 148.9 kB / 1.113 GB, free: 29.42 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.574, allocations: 0 / 1.113 GB, free: 29.42 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001891/1.575, allocations: 87.27 kB / 1.113 GB, free: 29.42 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/1.575, allocations: 28.05 kB / 1.113 GB, free: 29.41 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007917/1.576, allocations: 249.8 kB / 1.113 GB, free: 29.32 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000404/1.576, allocations: 0.7691 MB / 1.114 GB, free: 44.61 MB / 0.7292 GB Notification: Performance of SimCode: time 1.162e-06/1.576, allocations: 0 / 1.114 GB, free: 44.61 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)