Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",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 7.0.3-maint.7.0.x/package.mo): time 1.22/1.22, allocations: 249.4 MB / 256.7 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000982/0.000982, allocations: 177.3 kB / 316 MB, free: 3.555 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.111/1.111, allocations: 205.1 MB / 0.5667 GB, free: 15.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008017/0.0008017, allocations: 85.59 kB / 0.671 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3445/0.3454, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.5101, allocations: 106.3 MB / 0.8846 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.304/4.814, allocations: 2.475 GB / 3.36 GB, free: 275.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001955/4.814, allocations: 94.27 kB / 3.36 GB, free: 275.7 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 2.376/7.191, allocations: 0.9215 GB / 4.281 GB, free: 4.609 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/7.191, allocations: 8 kB / 4.282 GB, free: 4.602 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003195/7.194, allocations: 0.5831 MB / 4.282 GB, free: 4.016 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003413/7.198, allocations: 1.426 MB / 4.283 GB, free: 2.539 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006383/7.198, allocations: 185.9 kB / 4.284 GB, free: 2.359 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002703/7.199, allocations: 71.94 kB / 4.284 GB, free: 2.289 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001938/7.201, allocations: 0.9919 MB / 4.285 GB, free: 1.297 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001792/7.202, allocations: 1.105 MB / 4.286 GB, free: 140 kB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/7.202, allocations: 0 / 4.286 GB, free: 140 kB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/7.203, allocations: 7.938 kB / 4.286 GB, free: 132 kB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.622e-05/7.203, allocations: 41.98 kB / 4.286 GB, free: 88 kB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3755/7.578, allocations: 5.242 MB / 4.291 GB, free: 203.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/7.579, allocations: 0.775 MB / 4.292 GB, free: 203.1 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000505/7.58, allocations: 415.1 kB / 4.292 GB, free: 203.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009134/7.581, allocations: 0.84 MB / 4.293 GB, free: 202.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006612/7.581, allocations: 0.4924 MB / 4.293 GB, free: 202.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=82): time 3.556e-06/7.581, allocations: 6.203 kB / 4.293 GB, free: 202.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=82): time 0.002283/7.584, allocations: 1.012 MB / 4.294 GB, free: 202 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.585e-05/7.584, allocations: 191.3 kB / 4.295 GB, free: 201.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/7.585, allocations: 0.9129 MB / 4.295 GB, free: 201.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001093/7.585, allocations: 33.33 kB / 4.295 GB, free: 201.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002952/7.585, allocations: 456.8 kB / 4.296 GB, free: 201.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001902/7.585, allocations: 271.9 kB / 4.296 GB, free: 201.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.184e-05/7.585, allocations: 0 / 4.296 GB, free: 201.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.729e-05/7.586, allocations: 352.2 kB / 4.297 GB, free: 201 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000566/7.586, allocations: 401 kB / 4.297 GB, free: 201 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007309/7.587, allocations: 0.7072 MB / 4.298 GB, free: 200.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/7.588, allocations: 0.5352 MB / 4.298 GB, free: 200.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/7.588, allocations: 0 / 4.298 GB, free: 200.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002229/7.59, allocations: 1.262 MB / 4.299 GB, free: 200.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003643/7.591, allocations: 2.026 MB / 4.301 GB, free: 198.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/7.591, allocations: 10.55 kB / 4.301 GB, free: 198.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.482e-05/7.591, allocations: 11.22 kB / 4.301 GB, free: 198.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001788/7.592, allocations: 360.7 kB / 4.302 GB, free: 198.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005813/7.593, allocations: 1.222 MB / 4.303 GB, free: 197.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/7.595, allocations: 205.9 kB / 4.303 GB, free: 197.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001396/7.595, allocations: 60.48 kB / 4.303 GB, free: 197.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/7.595, allocations: 8.969 kB / 4.303 GB, free: 197.2 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002017/7.597, allocations: 1.075 MB / 4.304 GB, free: 197.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/7.597, allocations: 7.5 kB / 4.304 GB, free: 197.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/7.597, allocations: 11.62 kB / 4.304 GB, free: 197.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001427/7.598, allocations: 335 kB / 4.305 GB, free: 197.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/7.598, allocations: 19.92 kB / 4.305 GB, free: 197.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001637/7.6, allocations: 185.8 kB / 4.305 GB, free: 197.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/7.6, allocations: 60.28 kB / 4.305 GB, free: 197.2 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 129 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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.0003283/7.601, allocations: 130.9 kB / 4.305 GB, free: 197.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002395/7.601, allocations: 141.5 kB / 4.305 GB, free: 197 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002447/7.603, allocations: 1.157 MB / 4.306 GB, free: 196.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/7.603, allocations: 9.656 kB / 4.306 GB, free: 196.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/7.603, allocations: 2.531 kB / 4.306 GB, free: 196.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/7.603, allocations: 7.516 kB / 4.306 GB, free: 196.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00439/7.608, allocations: 2.564 MB / 4.309 GB, free: 196.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/7.608, allocations: 3.938 kB / 4.309 GB, free: 196.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001256/7.609, allocations: 267.1 kB / 4.309 GB, free: 196.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.23e-05/7.609, allocations: 3.906 kB / 4.309 GB, free: 196.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.978e-05/7.609, allocations: 25 kB / 4.309 GB, free: 196.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004576/7.61, allocations: 1.195 MB / 4.31 GB, free: 195.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/7.61, allocations: 9.828 kB / 4.31 GB, free: 195.3 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002855/7.612, allocations: 1.993 MB / 4.312 GB, free: 194.7 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003642/7.616, allocations: 3.06 MB / 4.315 GB, free: 193.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006881/7.617, allocations: 357.7 kB / 4.315 GB, free: 193.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002156/7.617, allocations: 6 kB / 4.315 GB, free: 193.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/7.618, allocations: 143 kB / 4.316 GB, free: 193.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/7.618, allocations: 75.83 kB / 4.316 GB, free: 193.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.785e-05/7.619, allocations: 40.7 kB / 4.316 GB, free: 193.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0008782/7.619, allocations: 0.6795 MB / 4.316 GB, free: 193.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004831/7.624, allocations: 1.545 MB / 4.318 GB, free: 193.3 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (temSen.T,val.filter.x[1],val.filter.x[2],P.I.y) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * 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.003094/7.627, allocations: 2.34 MB / 4.32 GB, free: 192.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003077/7.63, allocations: 1.77 MB / 4.322 GB, free: 192.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/7.63, allocations: 0 / 4.322 GB, free: 192.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00083/7.631, allocations: 0.5277 MB / 4.322 GB, free: 192.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002554/7.634, allocations: 0.5056 MB / 4.323 GB, free: 192.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004237/7.638, allocations: 2.081 MB / 4.325 GB, free: 192 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001076/7.639, allocations: 1.423 MB / 4.326 GB, free: 191.3 MB / 0.8855 GB Notification: Performance of SimCode: time 5.71e-07/7.639, allocations: 0 / 4.326 GB, free: 191.3 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)