Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.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.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.401/1.401, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.001154/0.001154, allocations: 181.3 kB / 361.1 MB, free: 7.102 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.165/1.165, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0009966/0.0009965, allocations: 93 kB / 0.7326 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2034/0.2044, allocations: 121.4 MB / 0.8511 GB, free: 2.914 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4859/0.6904, allocations: 115.3 MB / 0.9638 GB, free: 78.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.569/4.26, allocations: 2.357 GB / 3.321 GB, free: 160.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002231/4.26, allocations: 87.95 kB / 3.321 GB, free: 160.8 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 2.835/7.095, allocations: 0.9488 GB / 4.27 GB, free: 132.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/7.095, allocations: 7.875 kB / 4.27 GB, free: 132.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003316/7.098, allocations: 0.5945 MB / 4.271 GB, free: 132.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003709/7.102, allocations: 1.407 MB / 4.272 GB, free: 132 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006062/7.102, allocations: 192 kB / 4.272 GB, free: 132 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003491/7.103, allocations: 72 kB / 4.272 GB, free: 132 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002188/7.105, allocations: 0.9979 MB / 4.273 GB, free: 132 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001987/7.107, allocations: 1.098 MB / 4.274 GB, free: 131.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/7.107, allocations: 3.938 kB / 4.274 GB, free: 131.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/7.107, allocations: 0 / 4.274 GB, free: 131.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.932e-05/7.107, allocations: 47.8 kB / 4.274 GB, free: 131.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00752/7.115, allocations: 5.255 MB / 4.279 GB, free: 129.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/7.116, allocations: 0.7748 MB / 4.28 GB, free: 129.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004814/7.116, allocations: 415 kB / 4.281 GB, free: 129.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008503/7.117, allocations: 0.8416 MB / 4.281 GB, free: 129 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006243/7.118, allocations: 0.4937 MB / 4.282 GB, free: 128.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=82): time 2.845e-06/7.118, allocations: 0 / 4.282 GB, free: 128.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=82): time 0.002164/7.12, allocations: 1.013 MB / 4.283 GB, free: 128.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/7.12, allocations: 192.3 kB / 4.283 GB, free: 128.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009579/7.121, allocations: 0.9078 MB / 4.284 GB, free: 128.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001007/7.121, allocations: 35.59 kB / 4.284 GB, free: 128.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002631/7.121, allocations: 456.3 kB / 4.284 GB, free: 128.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001893/7.122, allocations: 274.9 kB / 4.285 GB, free: 128.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.298e-05/7.122, allocations: 0 / 4.285 GB, free: 128.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.421e-05/7.122, allocations: 349.4 kB / 4.285 GB, free: 127.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005585/7.122, allocations: 401.4 kB / 4.285 GB, free: 127.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007467/7.123, allocations: 0.7178 MB / 4.286 GB, free: 127.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/7.124, allocations: 0.538 MB / 4.287 GB, free: 127.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/7.124, allocations: 0 / 4.287 GB, free: 127.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002153/7.126, allocations: 1.253 MB / 4.288 GB, free: 127.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003092/7.127, allocations: 2.038 MB / 4.29 GB, free: 125.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/7.127, allocations: 6.094 kB / 4.29 GB, free: 125.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/7.127, allocations: 10.66 kB / 4.29 GB, free: 125.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001749/7.128, allocations: 355.1 kB / 4.29 GB, free: 125.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005066/7.129, allocations: 1.218 MB / 4.291 GB, free: 124 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/7.13, allocations: 210.4 kB / 4.292 GB, free: 124 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/7.131, allocations: 63.47 kB / 4.292 GB, free: 124 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.061e-06/7.131, allocations: 3.375 kB / 4.292 GB, free: 124 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001925/7.133, allocations: 1.075 MB / 4.293 GB, free: 124 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/7.133, allocations: 14.92 kB / 4.293 GB, free: 124 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/7.133, allocations: 7.625 kB / 4.293 GB, free: 124 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/7.134, allocations: 337.6 kB / 4.293 GB, free: 124 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/7.134, allocations: 17.23 kB / 4.293 GB, free: 124 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/7.135, allocations: 189.9 kB / 4.293 GB, free: 123.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/7.136, allocations: 60.95 kB / 4.293 GB, free: 123.9 MB / 0.948 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.0002476/7.136, allocations: 139.3 kB / 4.293 GB, free: 123.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002149/7.136, allocations: 140.4 kB / 4.294 GB, free: 123.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002204/7.138, allocations: 1.151 MB / 4.295 GB, free: 123.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/7.138, allocations: 9.594 kB / 4.295 GB, free: 123.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/7.138, allocations: 0 / 4.295 GB, free: 123.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/7.138, allocations: 9.125 kB / 4.295 GB, free: 123.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003808/7.142, allocations: 2.572 MB / 4.297 GB, free: 123.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/7.142, allocations: 2.781 kB / 4.297 GB, free: 123.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001212/7.143, allocations: 258.9 kB / 4.298 GB, free: 123.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.217e-06/7.143, allocations: 7.125 kB / 4.298 GB, free: 123.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.403e-05/7.143, allocations: 22.55 kB / 4.298 GB, free: 123.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003998/7.144, allocations: 1.202 MB / 4.299 GB, free: 122.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/7.144, allocations: 4.969 kB / 4.299 GB, free: 122.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002471/7.146, allocations: 1.989 MB / 4.301 GB, free: 121.4 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003545/7.15, allocations: 3.074 MB / 4.304 GB, free: 120.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005678/7.15, allocations: 351.8 kB / 4.304 GB, free: 120.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002144/7.151, allocations: 9.578 kB / 4.304 GB, free: 120.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/7.152, allocations: 149 kB / 4.304 GB, free: 120.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/7.152, allocations: 67.66 kB / 4.304 GB, free: 120.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.597e-05/7.152, allocations: 42.61 kB / 4.304 GB, free: 120.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0008265/7.153, allocations: 0.6778 MB / 4.305 GB, free: 120 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004624/7.158, allocations: 1.543 MB / 4.306 GB, free: 119.9 MB / 0.948 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.002718/7.16, allocations: 2.354 MB / 4.309 GB, free: 119.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002902/7.163, allocations: 1.782 MB / 4.31 GB, free: 119.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/7.163, allocations: 0 / 4.31 GB, free: 119.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008042/7.164, allocations: 0.5232 MB / 4.311 GB, free: 119.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002358/7.166, allocations: 0.4984 MB / 4.311 GB, free: 119.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00414/7.171, allocations: 2.092 MB / 4.314 GB, free: 118.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001118/7.172, allocations: 1.422 MB / 4.315 GB, free: 117.8 MB / 0.948 GB Notification: Performance of SimCode: time 5.71e-07/7.172, allocations: 0 / 4.315 GB, free: 117.8 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)