Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.578/1.578, allocations: 289.8 MB / 297.1 MB, free: 6.691 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.00116/0.001161, allocations: 173.3 kB / 366.3 MB, free: 2.012 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.602/1.602, allocations: 205.1 MB / 0.6256 GB, free: 5.848 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.001049/0.001049, allocations: 88.03 kB / 0.7395 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3089/0.31, allocations: 122.4 MB / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7268/1.037, allocations: 116.3 MB / 0.9726 GB, free: 68.11 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.063/6.1, allocations: 2.358 GB / 3.331 GB, free: 74.79 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003598/6.1, allocations: 92.62 kB / 3.331 GB, free: 74.7 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 3.512/9.613, allocations: 0.9488 GB / 4.28 GB, free: 153.6 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/9.613, allocations: 10.12 kB / 4.28 GB, free: 153.6 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004101/9.617, allocations: 0.5814 MB / 4.28 GB, free: 153.5 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005139/9.622, allocations: 1.413 MB / 4.282 GB, free: 153.1 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007345/9.623, allocations: 196.7 kB / 4.282 GB, free: 153.1 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005981/9.623, allocations: 73.22 kB / 4.282 GB, free: 153.1 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002668/9.626, allocations: 0.9908 MB / 4.283 GB, free: 153.1 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002613/9.629, allocations: 1.109 MB / 4.284 GB, free: 152.9 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.261e-05/9.629, allocations: 0 / 4.284 GB, free: 152.9 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001653/9.629, allocations: 7.875 kB / 4.284 GB, free: 152.9 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.252e-05/9.629, allocations: 40.72 kB / 4.284 GB, free: 152.9 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01146/9.64, allocations: 5.254 MB / 4.289 GB, free: 150.9 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001459/9.642, allocations: 0.7722 MB / 4.29 GB, free: 150.8 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006127/9.643, allocations: 418.5 kB / 4.29 GB, free: 150.8 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001035/9.644, allocations: 0.8426 MB / 4.291 GB, free: 150 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007833/9.644, allocations: 0.4946 MB / 4.292 GB, free: 149.9 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=82): time 3.276e-06/9.645, allocations: 0 / 4.292 GB, free: 149.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=82): time 0.002747/9.647, allocations: 1.011 MB / 4.293 GB, free: 149.8 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.922e-05/9.647, allocations: 198.1 kB / 4.293 GB, free: 149.6 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00201/9.649, allocations: 0.9099 MB / 4.294 GB, free: 149.4 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001908/9.65, allocations: 28.33 kB / 4.294 GB, free: 149.4 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004993/9.65, allocations: 462.2 kB / 4.294 GB, free: 149.1 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002508/9.65, allocations: 270.3 kB / 4.295 GB, free: 149 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.597e-05/9.65, allocations: 0 / 4.295 GB, free: 149 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.189e-05/9.651, allocations: 356.2 kB / 4.295 GB, free: 148.6 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006286/9.651, allocations: 397.4 kB / 4.295 GB, free: 148.6 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008409/9.652, allocations: 0.7167 MB / 4.296 GB, free: 148.3 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/9.653, allocations: 0.5385 MB / 4.297 GB, free: 148.3 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/9.653, allocations: 0 / 4.297 GB, free: 148.3 MB / 0.9636 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002782/9.656, allocations: 1.256 MB / 4.298 GB, free: 148.1 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004708/9.657, allocations: 2.035 MB / 4.3 GB, free: 146 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.817e-05/9.657, allocations: 6.656 kB / 4.3 GB, free: 146 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.068e-05/9.657, allocations: 11.09 kB / 4.3 GB, free: 146 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002165/9.659, allocations: 356.2 kB / 4.3 GB, free: 146 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006442/9.659, allocations: 1.216 MB / 4.301 GB, free: 144.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002223/9.662, allocations: 211.8 kB / 4.301 GB, free: 144.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001871/9.662, allocations: 66.36 kB / 4.302 GB, free: 144.8 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/9.662, allocations: 3.594 kB / 4.302 GB, free: 144.8 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002301/9.664, allocations: 1.071 MB / 4.303 GB, free: 144.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.427e-05/9.664, allocations: 10.75 kB / 4.303 GB, free: 144.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/9.664, allocations: 10.94 kB / 4.303 GB, free: 144.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001517/9.666, allocations: 337 kB / 4.303 GB, free: 144.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.889e-05/9.666, allocations: 11.62 kB / 4.303 GB, free: 144.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001929/9.668, allocations: 194.8 kB / 4.303 GB, free: 144.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001901/9.668, allocations: 61.52 kB / 4.303 GB, free: 144.7 MB / 0.9636 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.0004336/9.668, allocations: 131.9 kB / 4.303 GB, free: 144.6 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005274/9.669, allocations: 140.2 kB / 4.303 GB, free: 144.5 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002961/9.672, allocations: 1.153 MB / 4.305 GB, free: 144.4 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.584e-05/9.672, allocations: 15.06 kB / 4.305 GB, free: 144.4 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/9.672, allocations: 2.719 kB / 4.305 GB, free: 144.4 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/9.672, allocations: 6.25 kB / 4.305 GB, free: 144.4 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005611/9.678, allocations: 2.571 MB / 4.307 GB, free: 143.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/9.678, allocations: 4.719 kB / 4.307 GB, free: 143.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001341/9.679, allocations: 256 kB / 4.307 GB, free: 143.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.07e-05/9.679, allocations: 11.52 kB / 4.307 GB, free: 143.9 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.204e-05/9.679, allocations: 25.86 kB / 4.307 GB, free: 143.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004698/9.68, allocations: 1.197 MB / 4.309 GB, free: 142.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.345e-06/9.68, allocations: 5.562 kB / 4.309 GB, free: 142.7 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00299/9.683, allocations: 1.993 MB / 4.311 GB, free: 142 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00411/9.687, allocations: 3.07 MB / 4.314 GB, free: 141 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008844/9.688, allocations: 360.4 kB / 4.314 GB, free: 140.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004111/9.688, allocations: 18.05 kB / 4.314 GB, free: 140.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001639/9.69, allocations: 136.8 kB / 4.314 GB, free: 140.8 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/9.69, allocations: 65.25 kB / 4.314 GB, free: 140.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/9.69, allocations: 38.92 kB / 4.314 GB, free: 140.8 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.001212/9.691, allocations: 0.68 MB / 4.315 GB, free: 140.7 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.006443/9.698, allocations: 1.545 MB / 4.316 GB, free: 140.5 MB / 0.9636 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.004802/9.702, allocations: 2.343 MB / 4.319 GB, free: 139.9 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00413/9.707, allocations: 1.77 MB / 4.32 GB, free: 139.7 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 9.377e-06/9.707, allocations: 0 / 4.32 GB, free: 139.7 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001083/9.708, allocations: 0.5282 MB / 4.321 GB, free: 139.7 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003445/9.711, allocations: 0.5066 MB / 4.321 GB, free: 139.6 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006536/9.718, allocations: 2.104 MB / 4.323 GB, free: 139 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001813/9.72, allocations: 1.43 MB / 4.325 GB, free: 138.3 MB / 0.9636 GB Notification: Performance of SimCode: time 6.62e-07/9.72, allocations: 3.281 kB / 4.325 GB, free: 138.3 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)