Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.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.HeatExchangers.Validation.HeaterCooler_u,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u",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.467/2.467, allocations: 284.8 MB / 292.1 MB, free: 10.74 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.001593/0.001593, allocations: 175.5 kB / 360.3 MB, free: 7.559 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.888/1.888, allocations: 205.1 MB / 0.6187 GB, free: 13.21 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.001469/0.001468, allocations: 88.25 kB / 0.7317 GB, free: 45.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2995/0.3011, allocations: 121.4 MB / 0.8502 GB, free: 3.949 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6325/0.9336, allocations: 115.2 MB / 0.9627 GB, free: 78.64 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.99/5.924, allocations: 2.085 GB / 3.048 GB, free: 269.6 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002917/5.924, allocations: 85.5 kB / 3.048 GB, free: 269.6 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 5.246/11.17, allocations: 1.039 GB / 4.087 GB, free: 223.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/11.17, allocations: 11.34 kB / 4.087 GB, free: 223.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006967/11.18, allocations: 0.6576 MB / 4.088 GB, free: 223.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005692/11.18, allocations: 1.478 MB / 4.089 GB, free: 223.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006822/11.18, allocations: 117.2 kB / 4.089 GB, free: 223.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003835/11.18, allocations: 81.7 kB / 4.089 GB, free: 223.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003314/11.19, allocations: 1.026 MB / 4.09 GB, free: 223.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003334/11.19, allocations: 1.217 MB / 4.091 GB, free: 223.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.242e-05/11.19, allocations: 3.562 kB / 4.091 GB, free: 223.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001804/11.19, allocations: 3.594 kB / 4.091 GB, free: 223.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.742e-05/11.19, allocations: 47.47 kB / 4.092 GB, free: 223.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01521/11.21, allocations: 5.946 MB / 4.097 GB, free: 220.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001794/11.21, allocations: 0.6114 MB / 4.098 GB, free: 220.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001218/11.21, allocations: 484.5 kB / 4.098 GB, free: 220.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009715/11.21, allocations: 487.9 kB / 4.099 GB, free: 220.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001359/11.21, allocations: 0.5349 MB / 4.099 GB, free: 220.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=87): time 4.628e-06/11.21, allocations: 0 / 4.099 GB, free: 220.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.01693/11.23, allocations: 3.164 MB / 4.102 GB, free: 219.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.805e-05/11.23, allocations: 192.4 kB / 4.103 GB, free: 219.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002231/11.23, allocations: 0.9218 MB / 4.104 GB, free: 219.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003581/11.23, allocations: 29.52 kB / 4.104 GB, free: 219.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005236/11.23, allocations: 485.1 kB / 4.104 GB, free: 219 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005401/11.23, allocations: 318.7 kB / 4.104 GB, free: 218.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.549e-05/11.23, allocations: 0 / 4.104 GB, free: 218.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.659e-05/11.23, allocations: 340.2 kB / 4.105 GB, free: 218.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001028/11.23, allocations: 384.1 kB / 4.105 GB, free: 218.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001258/11.24, allocations: 0.6052 MB / 4.106 GB, free: 218.3 MB / 0.948 GB Notification: The following equation is consistent and got removed from the initialization problem: $DER.heaDyn.vol.dynBal.medium.p = 0.0 Notification: Performance of analyzeInitialSystem (initialization): time 0.00805/11.24, allocations: 1.427 MB / 4.107 GB, free: 218.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/11.24, allocations: 3.625 kB / 4.107 GB, free: 218.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007473/11.25, allocations: 1.613 MB / 4.109 GB, free: 218 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002978/11.25, allocations: 1.251 MB / 4.11 GB, free: 216.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/11.25, allocations: 3.719 kB / 4.11 GB, free: 216.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001849/11.25, allocations: 410.2 kB / 4.11 GB, free: 216.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001635/11.25, allocations: 177.4 kB / 4.11 GB, free: 216.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01066/11.27, allocations: 6.35 MB / 4.117 GB, free: 212.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002937/11.27, allocations: 132.3 kB / 4.117 GB, free: 212.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002644/11.27, allocations: 39.09 kB / 4.117 GB, free: 212.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/11.27, allocations: 3.875 kB / 4.117 GB, free: 212.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006794/11.28, allocations: 1.419 MB / 4.118 GB, free: 212.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/11.28, allocations: 3.281 kB / 4.118 GB, free: 212.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001791/11.28, allocations: 412.7 kB / 4.119 GB, free: 212.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001606/11.28, allocations: 172.1 kB / 4.119 GB, free: 212.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01169/11.29, allocations: 7.205 MB / 4.126 GB, free: 207.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003055/11.29, allocations: 132 kB / 4.126 GB, free: 207.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000364/11.29, allocations: 34.16 kB / 4.126 GB, free: 207.4 MB / 0.948 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: $DER.heaDyn.vol.dynBal.medium.p = 0.0 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaSte.vol.heatPort.Q_flow:VARIABLE(flow=true unit = "W" final = true ) "Heat flow rate (positive if flowing from outside into the component)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 10,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005325/11.29, allocations: 159.9 kB / 4.126 GB, free: 207.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005862/11.3, allocations: 156.9 kB / 4.126 GB, free: 207.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006435/11.3, allocations: 1.417 MB / 4.128 GB, free: 207.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.282e-05/11.3, allocations: 6.562 kB / 4.128 GB, free: 207.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/11.3, allocations: 11.34 kB / 4.128 GB, free: 207.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005604/11.31, allocations: 1.295 MB / 4.129 GB, free: 206.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01143/11.32, allocations: 3.117 MB / 4.132 GB, free: 206.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-05/11.32, allocations: 3.844 kB / 4.132 GB, free: 206.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00202/11.32, allocations: 203.3 kB / 4.132 GB, free: 206.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007671/11.32, allocations: 184.5 kB / 4.132 GB, free: 206.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002125/11.32, allocations: 19.77 kB / 4.132 GB, free: 206.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004351/11.33, allocations: 2.411 MB / 4.135 GB, free: 204.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.025e-05/11.33, allocations: 11.59 kB / 4.135 GB, free: 204.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01327/11.34, allocations: 2.371 MB / 4.137 GB, free: 204 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0106/11.35, allocations: 3.504 MB / 4.14 GB, free: 202.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001516/11.35, allocations: 356.3 kB / 4.141 GB, free: 202.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005506/11.35, allocations: 14.05 kB / 4.141 GB, free: 202.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002872/11.36, allocations: 133.1 kB / 4.141 GB, free: 202.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002604/11.36, allocations: 63.05 kB / 4.141 GB, free: 202.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001568/11.36, allocations: 45.02 kB / 4.141 GB, free: 202.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001627/11.36, allocations: 0.6974 MB / 4.142 GB, free: 202.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01063/11.37, allocations: 1.554 MB / 4.143 GB, free: 202.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.X[2],heaDyn.vol.dynBal.medium.dT,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 1 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.005126/11.37, allocations: 2.629 MB / 4.146 GB, free: 201.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0062/11.38, allocations: 2.399 MB / 4.148 GB, free: 201.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.42e-05/11.38, allocations: 5.406 kB / 4.148 GB, free: 201.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001779/11.38, allocations: 0.6601 MB / 4.149 GB, free: 201 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007383/11.39, allocations: 0.6942 MB / 4.149 GB, free: 200.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/11.4, allocations: 2.635 MB / 4.152 GB, free: 200.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002055/11.4, allocations: 1.502 MB / 4.153 GB, free: 199.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.443e-06/11.4, allocations: 3.172 kB / 4.153 GB, free: 199.5 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)