Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.333/2.333, allocations: 284.8 MB / 292.1 MB, free: 10.75 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.001698/0.001698, allocations: 177.3 kB / 360.3 MB, free: 7.59 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.872/1.872, allocations: 205.1 MB / 0.6187 GB, free: 13.24 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.001307/0.001307, allocations: 95.84 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2934/0.2947, allocations: 121.4 MB / 0.8502 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7015/0.9963, allocations: 115.2 MB / 0.9627 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.415/6.411, allocations: 2.357 GB / 3.32 GB, free: 137.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000322/6.411, allocations: 95.92 kB / 3.32 GB, free: 137.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 4.67/11.08, allocations: 0.9485 GB / 4.269 GB, free: 134.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/11.08, allocations: 7.656 kB / 4.269 GB, free: 134.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005635/11.09, allocations: 0.5883 MB / 4.269 GB, free: 134.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005519/11.09, allocations: 1.409 MB / 4.271 GB, free: 133.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001264/11.09, allocations: 193.6 kB / 4.271 GB, free: 133.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005244/11.09, allocations: 72.56 kB / 4.271 GB, free: 133.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003328/11.1, allocations: 0.9906 MB / 4.272 GB, free: 133.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003065/11.1, allocations: 1.109 MB / 4.273 GB, free: 133.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.964e-05/11.1, allocations: 3.281 kB / 4.273 GB, free: 133.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001757/11.1, allocations: 7.312 kB / 4.273 GB, free: 133.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.709e-05/11.1, allocations: 36.66 kB / 4.273 GB, free: 133.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01557/11.12, allocations: 5.26 MB / 4.278 GB, free: 131.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002445/11.12, allocations: 0.7694 MB / 4.279 GB, free: 131.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00109/11.12, allocations: 411.7 kB / 4.279 GB, free: 131.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001528/11.12, allocations: 0.8461 MB / 4.28 GB, free: 130.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001389/11.12, allocations: 0.4892 MB / 4.281 GB, free: 130.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=82): time 4.709e-06/11.12, allocations: 0 / 4.281 GB, free: 130.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=82): time 0.004362/11.13, allocations: 1.018 MB / 4.282 GB, free: 130.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.586e-05/11.13, allocations: 189.5 kB / 4.282 GB, free: 130.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002079/11.13, allocations: 0.9174 MB / 4.283 GB, free: 130.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003957/11.13, allocations: 29.64 kB / 4.283 GB, free: 130.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004835/11.13, allocations: 452.1 kB / 4.283 GB, free: 130 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003436/11.13, allocations: 276.3 kB / 4.283 GB, free: 129.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/11.13, allocations: 0 / 4.283 GB, free: 129.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.903e-05/11.13, allocations: 347.1 kB / 4.284 GB, free: 129.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001139/11.13, allocations: 403.7 kB / 4.284 GB, free: 129.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00145/11.13, allocations: 0.7258 MB / 4.285 GB, free: 129.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002069/11.14, allocations: 0.5298 MB / 4.285 GB, free: 129.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.849e-06/11.14, allocations: 7.406 kB / 4.285 GB, free: 129.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.004336/11.14, allocations: 1.26 MB / 4.286 GB, free: 129 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004495/11.14, allocations: 2.036 MB / 4.288 GB, free: 126.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.695e-05/11.14, allocations: 10.16 kB / 4.288 GB, free: 126.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.252e-05/11.14, allocations: 10.44 kB / 4.289 GB, free: 126.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00387/11.15, allocations: 359.8 kB / 4.289 GB, free: 126.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009305/11.15, allocations: 1.215 MB / 4.29 GB, free: 125.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003388/11.15, allocations: 210.7 kB / 4.29 GB, free: 125.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003845/11.15, allocations: 59.64 kB / 4.29 GB, free: 125.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/11.15, allocations: 4.844 kB / 4.29 GB, free: 125.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00388/11.15, allocations: 1.077 MB / 4.291 GB, free: 125.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.223e-05/11.15, allocations: 10.56 kB / 4.291 GB, free: 125.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/11.15, allocations: 7.938 kB / 4.291 GB, free: 125.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003062/11.16, allocations: 337.8 kB / 4.292 GB, free: 125.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.078e-05/11.16, allocations: 14.34 kB / 4.292 GB, free: 125.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00315/11.16, allocations: 190.7 kB / 4.292 GB, free: 125.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003077/11.16, allocations: 58.02 kB / 4.292 GB, free: 125.6 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.0004572/11.16, allocations: 141.5 kB / 4.292 GB, free: 125.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005259/11.16, allocations: 140 kB / 4.292 GB, free: 125.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004273/11.17, allocations: 1.149 MB / 4.293 GB, free: 125.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.91e-05/11.17, allocations: 6.906 kB / 4.293 GB, free: 125.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.607e-06/11.17, allocations: 0 / 4.293 GB, free: 125.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.618e-05/11.17, allocations: 6.234 kB / 4.293 GB, free: 125.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007661/11.17, allocations: 2.566 MB / 4.296 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/11.17, allocations: 3.906 kB / 4.296 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002526/11.18, allocations: 268.5 kB / 4.296 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-05/11.18, allocations: 7.75 kB / 4.296 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001653/11.18, allocations: 19.44 kB / 4.296 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006033/11.18, allocations: 1.2 MB / 4.297 GB, free: 123.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.416e-06/11.18, allocations: 7.719 kB / 4.297 GB, free: 123.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005106/11.18, allocations: 1.993 MB / 4.299 GB, free: 123.1 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006921/11.19, allocations: 3.068 MB / 4.302 GB, free: 122 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001384/11.19, allocations: 358.8 kB / 4.303 GB, free: 121.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004616/11.19, allocations: 7.031 kB / 4.303 GB, free: 121.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00272/11.19, allocations: 141.4 kB / 4.303 GB, free: 121.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002543/11.19, allocations: 69.42 kB / 4.303 GB, free: 121.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001575/11.19, allocations: 38.14 kB / 4.303 GB, free: 121.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001451/11.2, allocations: 0.6754 MB / 4.304 GB, free: 121.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.008538/11.2, allocations: 1.551 MB / 4.305 GB, free: 121.6 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.004876/11.21, allocations: 2.355 MB / 4.307 GB, free: 120.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005754/11.22, allocations: 1.771 MB / 4.309 GB, free: 120.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.127e-05/11.22, allocations: 0 / 4.309 GB, free: 120.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001758/11.22, allocations: 0.5246 MB / 4.31 GB, free: 120.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005374/11.22, allocations: 0.5044 MB / 4.31 GB, free: 120.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008168/11.23, allocations: 2.112 MB / 4.312 GB, free: 120.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001977/11.23, allocations: 1.418 MB / 4.313 GB, free: 119.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.543e-06/11.23, allocations: 0 / 4.313 GB, free: 119.4 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)