Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.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.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.403/1.403, allocations: 285.5 MB / 292.8 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.0009509/0.0009509, allocations: 181.2 kB / 361.1 MB, free: 336 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.186/1.186, allocations: 205.1 MB / 0.6195 GB, free: 2.887 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.000838/0.0008379, allocations: 86.19 kB / 0.7326 GB, free: 1.055 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4225/0.4233, allocations: 121.4 MB / 0.8511 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1928/0.6161, allocations: 115.3 MB / 0.9638 GB, free: 56.25 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.642/4.258, allocations: 2.324 GB / 3.288 GB, free: 41.91 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002086/4.259, allocations: 79.95 kB / 3.288 GB, free: 41.83 MB / 0.948 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.574/6.833, allocations: 0.7885 GB / 4.076 GB, free: 167 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/6.833, allocations: 8.344 kB / 4.076 GB, free: 167 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002441/6.835, allocations: 486.9 kB / 4.077 GB, free: 167 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002295/6.837, allocations: 1.027 MB / 4.078 GB, free: 166.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005958/6.838, allocations: 178.5 kB / 4.078 GB, free: 166.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001842/6.838, allocations: 41.72 kB / 4.078 GB, free: 166.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001287/6.839, allocations: 0.7684 MB / 4.079 GB, free: 166.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/6.841, allocations: 0.8219 MB / 4.079 GB, free: 166.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/6.841, allocations: 0 / 4.079 GB, free: 166.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.823e-05/6.841, allocations: 6.766 kB / 4.079 GB, free: 166.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.36e-05/6.841, allocations: 39.53 kB / 4.079 GB, free: 166.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005913/6.847, allocations: 4.104 MB / 4.083 GB, free: 164.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006917/6.847, allocations: 0.5316 MB / 4.084 GB, free: 164.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004007/6.848, allocations: 346.8 kB / 4.084 GB, free: 164.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006409/6.849, allocations: 0.6426 MB / 4.085 GB, free: 164.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005469/6.849, allocations: 438.8 kB / 4.085 GB, free: 164.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=57): time 2.475e-06/6.849, allocations: 0 / 4.085 GB, free: 164.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=57): time 0.001588/6.851, allocations: 0.737 MB / 4.086 GB, free: 164 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/6.851, allocations: 89.77 kB / 4.086 GB, free: 163.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006057/6.851, allocations: 0.5641 MB / 4.087 GB, free: 163.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.829e-05/6.851, allocations: 28.86 kB / 4.087 GB, free: 163.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/6.852, allocations: 321.5 kB / 4.087 GB, free: 163.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/6.852, allocations: 182.2 kB / 4.087 GB, free: 163.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.443e-05/6.852, allocations: 0 / 4.087 GB, free: 163.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.773e-05/6.852, allocations: 337 kB / 4.087 GB, free: 163.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000349/6.852, allocations: 266.1 kB / 4.088 GB, free: 163.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004248/6.853, allocations: 424 kB / 4.088 GB, free: 163.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000644/6.853, allocations: 339 kB / 4.088 GB, free: 163.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/6.853, allocations: 0 / 4.088 GB, free: 163.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00133/6.855, allocations: 0.7706 MB / 4.089 GB, free: 163 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001492/6.855, allocations: 0.8747 MB / 4.09 GB, free: 162.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/6.855, allocations: 3.844 kB / 4.09 GB, free: 162.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/6.855, allocations: 3.844 kB / 4.09 GB, free: 162.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/6.856, allocations: 268 kB / 4.09 GB, free: 162.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005139/6.857, allocations: 1.206 MB / 4.092 GB, free: 160.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/6.858, allocations: 182.5 kB / 4.092 GB, free: 160.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.467e-05/6.858, allocations: 32.69 kB / 4.092 GB, free: 160.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.793e-06/6.858, allocations: 7.188 kB / 4.092 GB, free: 160.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001171/6.859, allocations: 0.6621 MB / 4.092 GB, free: 160.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/6.859, allocations: 0 / 4.092 GB, free: 160.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.334e-06/6.859, allocations: 6.969 kB / 4.092 GB, free: 160.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/6.86, allocations: 243.4 kB / 4.093 GB, free: 160.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/6.86, allocations: 7.094 kB / 4.093 GB, free: 160.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/6.861, allocations: 174.1 kB / 4.093 GB, free: 160.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.037e-05/6.862, allocations: 40.34 kB / 4.093 GB, free: 160.9 MB / 0.948 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.0001754/6.862, allocations: 117 kB / 4.093 GB, free: 160.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/6.862, allocations: 88.75 kB / 4.093 GB, free: 160.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001575/6.863, allocations: 0.8613 MB / 4.094 GB, free: 160.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.417e-06/6.863, allocations: 6.938 kB / 4.094 GB, free: 160.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/6.863, allocations: 3.906 kB / 4.094 GB, free: 160.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/6.864, allocations: 7.406 kB / 4.094 GB, free: 160.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002819/6.866, allocations: 1.937 MB / 4.096 GB, free: 160.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.76e-06/6.866, allocations: 6.297 kB / 4.096 GB, free: 160.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001072/6.867, allocations: 233.9 kB / 4.096 GB, free: 160.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/6.867, allocations: 6.719 kB / 4.096 GB, free: 160.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.549e-05/6.868, allocations: 17.84 kB / 4.096 GB, free: 160.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003449/6.868, allocations: 1.198 MB / 4.097 GB, free: 159.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/6.868, allocations: 3.844 kB / 4.097 GB, free: 159.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001316/6.869, allocations: 1.065 MB / 4.098 GB, free: 158.6 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001574/6.871, allocations: 1.555 MB / 4.1 GB, free: 157.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000384/6.871, allocations: 281.9 kB / 4.1 GB, free: 157.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001431/6.871, allocations: 7.781 kB / 4.1 GB, free: 157.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001169/6.873, allocations: 167.7 kB / 4.1 GB, free: 157.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/6.873, allocations: 54.02 kB / 4.1 GB, free: 157.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.25e-05/6.873, allocations: 37.94 kB / 4.1 GB, free: 157.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0004437/6.873, allocations: 441.7 kB / 4.101 GB, free: 157.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003432/6.877, allocations: 1.021 MB / 4.102 GB, free: 157.5 MB / 0.948 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.002548/6.879, allocations: 1.874 MB / 4.104 GB, free: 157.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002369/6.882, allocations: 1.141 MB / 4.105 GB, free: 157 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/6.882, allocations: 0 / 4.105 GB, free: 157 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007317/6.882, allocations: 418.5 kB / 4.105 GB, free: 157 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001705/6.884, allocations: 337.5 kB / 4.105 GB, free: 157 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00304/6.887, allocations: 1.363 MB / 4.107 GB, free: 156.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008544/6.888, allocations: 1.171 MB / 4.108 GB, free: 155.9 MB / 0.948 GB Notification: Performance of SimCode: time 3.8e-07/6.888, allocations: 6.609 kB / 4.108 GB, free: 155.9 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)