Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) 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) 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) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness",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 10.0.0-master/package.mo): time 2.283/2.283, allocations: 390.4 MB / 397.7 MB, free: 11.26 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 185.2 kB / 490.8 MB, free: 1.965 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.657/1.657, allocations: 221.4 MB / 0.7863 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 101.6 kB / 0.9264 GB, free: 14.28 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.8013/0.8025, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/1.146, allocations: 143 MB / 1.212 GB, free: 40.05 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.544/6.69, allocations: 2.166 GB / 3.377 GB, free: 139.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002785/6.69, allocations: 87.95 kB / 3.377 GB, free: 139.4 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 2.952/9.643, allocations: 0.7967 GB / 4.174 GB, free: 213.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/9.643, allocations: 8 kB / 4.174 GB, free: 213.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002839/9.645, allocations: 482.1 kB / 4.175 GB, free: 212.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003522/9.649, allocations: 1.046 MB / 4.176 GB, free: 211.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006359/9.65, allocations: 173.9 kB / 4.176 GB, free: 211.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002885/9.65, allocations: 51.94 kB / 4.176 GB, free: 211.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001705/9.652, allocations: 0.7381 MB / 4.177 GB, free: 210.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001712/9.653, allocations: 0.8388 MB / 4.177 GB, free: 209.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/9.653, allocations: 3.938 kB / 4.177 GB, free: 209.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/9.654, allocations: 4 kB / 4.177 GB, free: 209.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.993e-05/9.654, allocations: 29.98 kB / 4.177 GB, free: 209.7 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007712/9.661, allocations: 4.123 MB / 4.181 GB, free: 205.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008081/9.662, allocations: 0.5233 MB / 4.182 GB, free: 204.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004852/9.663, allocations: 330.3 kB / 4.182 GB, free: 204.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000791/9.664, allocations: 0.6531 MB / 4.183 GB, free: 203.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006328/9.664, allocations: 435.8 kB / 4.183 GB, free: 203.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=57): time 3.737e-06/9.664, allocations: 0 / 4.183 GB, free: 203.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=57): time 0.001965/9.666, allocations: 0.7414 MB / 4.184 GB, free: 202.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/9.666, allocations: 85.61 kB / 4.184 GB, free: 202.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009215/9.667, allocations: 0.5668 MB / 4.185 GB, free: 201.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001171/9.667, allocations: 29.7 kB / 4.185 GB, free: 201.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002531/9.668, allocations: 312 kB / 4.185 GB, free: 201.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/9.668, allocations: 181.2 kB / 4.185 GB, free: 201.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.492e-05/9.668, allocations: 3.938 kB / 4.185 GB, free: 201.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.138e-05/9.668, allocations: 333.9 kB / 4.186 GB, free: 201 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004046/9.668, allocations: 273.2 kB / 4.186 GB, free: 200.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004895/9.669, allocations: 414 kB / 4.186 GB, free: 200.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007587/9.67, allocations: 329.3 kB / 4.187 GB, free: 200 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/9.67, allocations: 4 kB / 4.187 GB, free: 200 MB / 1.151 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001591/9.671, allocations: 0.7726 MB / 4.187 GB, free: 199.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002306/9.671, allocations: 0.883 MB / 4.188 GB, free: 198.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/9.671, allocations: 3.938 kB / 4.188 GB, free: 198.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.564e-05/9.671, allocations: 4 kB / 4.188 GB, free: 198.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001535/9.673, allocations: 264.8 kB / 4.188 GB, free: 198 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006261/9.674, allocations: 1.207 MB / 4.19 GB, free: 196.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/9.675, allocations: 175.6 kB / 4.19 GB, free: 196.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/9.675, allocations: 39.97 kB / 4.19 GB, free: 196.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/9.675, allocations: 4 kB / 4.19 GB, free: 196.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001321/9.677, allocations: 0.6547 MB / 4.19 GB, free: 195.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/9.677, allocations: 4 kB / 4.19 GB, free: 195.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.968e-06/9.677, allocations: 4 kB / 4.19 GB, free: 195.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/9.678, allocations: 243.9 kB / 4.191 GB, free: 195.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/9.678, allocations: 7.984 kB / 4.191 GB, free: 195.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/9.679, allocations: 171.5 kB / 4.191 GB, free: 195.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/9.679, allocations: 35.97 kB / 4.191 GB, free: 195.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002494/9.679, allocations: 128.8 kB / 4.191 GB, free: 195.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000223/9.68, allocations: 90.88 kB / 4.191 GB, free: 195.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001917/9.682, allocations: 0.8675 MB / 4.192 GB, free: 194.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/9.682, allocations: 8 kB / 4.192 GB, free: 194.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/9.682, allocations: 3.906 kB / 4.192 GB, free: 194.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/9.682, allocations: 3.984 kB / 4.192 GB, free: 194.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00357/9.685, allocations: 1.931 MB / 4.194 GB, free: 192.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/9.685, allocations: 4 kB / 4.194 GB, free: 192.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001201/9.686, allocations: 243.9 kB / 4.194 GB, free: 192 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.41e-05/9.686, allocations: 8 kB / 4.194 GB, free: 192 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.978e-05/9.687, allocations: 15.98 kB / 4.194 GB, free: 192 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004318/9.687, allocations: 1.195 MB / 4.195 GB, free: 190.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/9.687, allocations: 4 kB / 4.195 GB, free: 190.8 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001548/9.689, allocations: 1.069 MB / 4.196 GB, free: 189.6 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001861/9.69, allocations: 1.548 MB / 4.198 GB, free: 187.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000543/9.691, allocations: 279.8 kB / 4.198 GB, free: 187.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002162/9.691, allocations: 7.984 kB / 4.198 GB, free: 187.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001342/9.693, allocations: 175.7 kB / 4.198 GB, free: 187.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/9.693, allocations: 52.27 kB / 4.198 GB, free: 187.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.573e-05/9.693, allocations: 31.97 kB / 4.198 GB, free: 187.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.000588/9.693, allocations: 443.1 kB / 4.199 GB, free: 186.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004389/9.698, allocations: 1.022 MB / 4.2 GB, free: 185.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003023/9.701, allocations: 1.88 MB / 4.202 GB, free: 184 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00246/9.703, allocations: 1.139 MB / 4.203 GB, free: 182.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/9.703, allocations: 0 / 4.203 GB, free: 182.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008324/9.704, allocations: 418.7 kB / 4.203 GB, free: 182.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001972/9.706, allocations: 331.9 kB / 4.203 GB, free: 182.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003708/9.71, allocations: 1.377 MB / 4.205 GB, free: 180.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001218/9.711, allocations: 1.168 MB / 4.206 GB, free: 179.5 MB / 1.151 GB Notification: Performance of SimCode: time 7.32e-07/9.711, allocations: 0 / 4.206 GB, free: 179.5 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)