Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Examples_WaterCooler_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Examples_WaterCooler_T",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/BuildSysPro 3.5.0/package.mo): time 0.724/0.724, allocations: 127.4 MB / 134.6 MB, free: 4.129 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001323/0.001323, allocations: 181.3 kB / 164.4 MB, free: 6.953 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.048/2.048, allocations: 205.1 MB / 399.1 MB, free: 6.109 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001136/0.001136, allocations: 95.17 kB / 476.3 MB, free: 8.859 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3943/0.3955, allocations: 82.87 MB / 0.546 GB, free: 42.7 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.5923, allocations: 76.76 MB / 0.621 GB, free: 13.86 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.39/1.982, allocations: 416 MB / 1.027 GB, free: 65.11 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/1.983, allocations: 91.08 kB / 1.027 GB, free: 65.07 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 4.992/6.974, allocations: 1.126 GB / 2.153 GB, free: 70.24 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 7.113e-05/6.974, allocations: 10.88 kB / 2.153 GB, free: 70.24 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003756/6.978, allocations: 491.3 kB / 2.154 GB, free: 70.12 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009785/6.988, allocations: 2.417 MB / 2.156 GB, free: 69.75 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001917/6.988, allocations: 39.09 kB / 2.156 GB, free: 69.75 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008045/6.989, allocations: 75.91 kB / 2.156 GB, free: 69.75 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002845/6.992, allocations: 0.798 MB / 2.157 GB, free: 69.75 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003284/6.995, allocations: 1.133 MB / 2.158 GB, free: 69.43 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.272e-05/6.995, allocations: 9.062 kB / 2.158 GB, free: 69.43 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002383/6.996, allocations: 3.312 kB / 2.158 GB, free: 69.43 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.535e-05/6.996, allocations: 34.94 kB / 2.158 GB, free: 69.43 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01282/7.009, allocations: 7.284 MB / 2.165 GB, free: 64.93 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/7.01, allocations: 0.6027 MB / 2.166 GB, free: 64.9 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004998/7.01, allocations: 305.9 kB / 2.166 GB, free: 64.89 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005379/7.016, allocations: 2.625 MB / 2.169 GB, free: 63.25 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006449/7.016, allocations: 363.1 kB / 2.169 GB, free: 63.18 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=61): time 5.24e-06/7.016, allocations: 3 kB / 2.169 GB, free: 63.18 MB / 0.6667 GB Notification: Performance of matching and sorting (n=61): time 0.003487/7.02, allocations: 0.9295 MB / 2.17 GB, free: 62.95 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/7.02, allocations: 194.9 kB / 2.17 GB, free: 62.73 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004127/7.024, allocations: 1.267 MB / 2.171 GB, free: 62.55 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001879/7.024, allocations: 32.69 kB / 2.171 GB, free: 62.52 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.00124/7.026, allocations: 0.6133 MB / 2.172 GB, free: 62.18 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004139/7.026, allocations: 211.2 kB / 2.172 GB, free: 62.05 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.278e-05/7.026, allocations: 0 / 2.172 GB, free: 62.05 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002328/7.026, allocations: 345.1 kB / 2.173 GB, free: 61.74 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006926/7.027, allocations: 279.9 kB / 2.173 GB, free: 61.74 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/7.028, allocations: 0.7375 MB / 2.174 GB, free: 61.17 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002238/7.03, allocations: 0.5555 MB / 2.174 GB, free: 61.16 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-05/7.031, allocations: 3.906 kB / 2.174 GB, free: 61.16 MB / 0.6667 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00383/7.034, allocations: 1.212 MB / 2.175 GB, free: 61.02 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.001781/7.036, allocations: 4.963 MB / 2.18 GB, free: 55.82 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.098e-05/7.036, allocations: 19.39 kB / 2.18 GB, free: 55.82 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.373e-05/7.036, allocations: 19.31 kB / 2.18 GB, free: 55.82 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/7.038, allocations: 262.1 kB / 2.18 GB, free: 55.82 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-05/7.038, allocations: 37.19 kB / 2.18 GB, free: 55.82 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002503/7.04, allocations: 169 kB / 2.181 GB, free: 55.76 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002419/7.04, allocations: 61.52 kB / 2.181 GB, free: 55.76 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/7.04, allocations: 3.781 kB / 2.181 GB, free: 55.76 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003428/7.044, allocations: 0.9758 MB / 2.182 GB, free: 55.74 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.158e-05/7.044, allocations: 16.66 kB / 2.182 GB, free: 55.74 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.608e-05/7.044, allocations: 18.59 kB / 2.182 GB, free: 55.74 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/7.045, allocations: 257.6 kB / 2.182 GB, free: 55.74 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.644e-05/7.045, allocations: 27.83 kB / 2.182 GB, free: 55.74 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002222/7.047, allocations: 134.1 kB / 2.182 GB, free: 55.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001814/7.048, allocations: 53.23 kB / 2.182 GB, free: 55.7 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 125 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005209/7.048, allocations: 142.2 kB / 2.182 GB, free: 55.59 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000627/7.049, allocations: 170 kB / 2.182 GB, free: 55.5 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003482/7.052, allocations: 1.173 MB / 2.184 GB, free: 55.33 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.86e-05/7.052, allocations: 7.781 kB / 2.184 GB, free: 55.33 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/7.052, allocations: 0 / 2.184 GB, free: 55.33 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001869/7.054, allocations: 0.9708 MB / 2.185 GB, free: 54.95 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003264/7.057, allocations: 1.052 MB / 2.186 GB, free: 54.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/7.058, allocations: 3.75 kB / 2.186 GB, free: 54.77 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008571/7.058, allocations: 138.6 kB / 2.186 GB, free: 54.77 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002007/7.059, allocations: 24.19 kB / 2.186 GB, free: 54.76 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-05/7.059, allocations: 14.77 kB / 2.186 GB, free: 54.76 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001217/7.06, allocations: 1.247 MB / 2.187 GB, free: 53.57 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/7.06, allocations: 0 / 2.187 GB, free: 53.57 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003442/7.063, allocations: 1.362 MB / 2.188 GB, free: 53.29 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004164/7.068, allocations: 2.173 MB / 2.19 GB, free: 52.63 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001205/7.069, allocations: 341.6 kB / 2.191 GB, free: 52.44 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006161/7.069, allocations: 2.219 kB / 2.191 GB, free: 52.44 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001428/7.071, allocations: 83.66 kB / 2.191 GB, free: 52.44 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/7.071, allocations: 47.22 kB / 2.191 GB, free: 52.44 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.211e-05/7.071, allocations: 26.61 kB / 2.191 GB, free: 52.44 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.002275/7.073, allocations: 0.9444 MB / 2.192 GB, free: 52.33 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00864/7.082, allocations: 1.286 MB / 2.193 GB, free: 52.15 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (vol.dynBal.U,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,coo.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004511/7.087, allocations: 1.22 MB / 2.194 GB, free: 51.87 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003429/7.09, allocations: 1.368 MB / 2.196 GB, free: 51.72 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/7.09, allocations: 2.5 kB / 2.196 GB, free: 51.72 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0009282/7.091, allocations: 434.6 kB / 2.196 GB, free: 51.62 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004242/7.095, allocations: 0.6077 MB / 2.197 GB, free: 51.62 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/7.106, allocations: 2.362 MB / 2.199 GB, free: 51.01 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002639/7.109, allocations: 1.576 MB / 2.2 GB, free: 50.29 MB / 0.6667 GB Notification: Performance of SimCode: time 2.505e-06/7.109, allocations: 0 / 2.2 GB, free: 50.29 MB / 0.6667 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Examples_WaterCooler_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Examples_WaterCooler_T.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)