Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.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.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",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.4/1.4, allocations: 285.5 MB / 292.8 MB, free: 10.54 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.001123/0.001123, allocations: 181.3 kB / 361.1 MB, free: 7.129 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.148/1.148, allocations: 205.1 MB / 0.6195 GB, free: 10.34 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.0009324/0.0009324, allocations: 89.16 kB / 0.7325 GB, free: 44.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2231/0.2241, allocations: 121.5 MB / 0.8511 GB, free: 2.922 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5171/0.7412, allocations: 115.3 MB / 0.9638 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.847/4.588, allocations: 2.353 GB / 3.317 GB, free: 168.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001799/4.588, allocations: 91.02 kB / 3.317 GB, free: 168 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 2.98/7.568, allocations: 0.9162 GB / 4.233 GB, free: 138.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/7.568, allocations: 11.59 kB / 4.233 GB, free: 138.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003459/7.572, allocations: 0.5646 MB / 4.234 GB, free: 138.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003465/7.575, allocations: 1.221 MB / 4.235 GB, free: 138.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006189/7.576, allocations: 183.5 kB / 4.235 GB, free: 138.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002881/7.576, allocations: 70.22 kB / 4.235 GB, free: 138.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001743/7.578, allocations: 0.962 MB / 4.236 GB, free: 138.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001636/7.58, allocations: 1.03 MB / 4.237 GB, free: 138 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/7.58, allocations: 3.812 kB / 4.237 GB, free: 138 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/7.58, allocations: 0 / 4.237 GB, free: 138 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-05/7.58, allocations: 38.97 kB / 4.237 GB, free: 138 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008335/7.588, allocations: 4.928 MB / 4.242 GB, free: 136.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/7.589, allocations: 0.8183 MB / 4.243 GB, free: 136 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005966/7.59, allocations: 460.3 kB / 4.243 GB, free: 136 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001022/7.591, allocations: 0.8481 MB / 4.244 GB, free: 135.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007478/7.592, allocations: 0.6167 MB / 4.245 GB, free: 135 MB / 0.948 GB Notification: Performance of pre-optimization done (n=85): time 2.846e-06/7.592, allocations: 0 / 4.245 GB, free: 135 MB / 0.948 GB Notification: Performance of matching and sorting (n=85): time 0.002798/7.595, allocations: 1.097 MB / 4.246 GB, free: 134.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/7.595, allocations: 140.7 kB / 4.246 GB, free: 134.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/7.596, allocations: 0.7427 MB / 4.247 GB, free: 134.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001248/7.596, allocations: 32.14 kB / 4.247 GB, free: 134.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003273/7.596, allocations: 384.3 kB / 4.247 GB, free: 134.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002155/7.596, allocations: 260.1 kB / 4.247 GB, free: 134.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.577e-05/7.596, allocations: 0 / 4.247 GB, free: 134.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.971e-05/7.596, allocations: 345.3 kB / 4.248 GB, free: 134 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005286/7.597, allocations: 388 kB / 4.248 GB, free: 134 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006785/7.598, allocations: 0.6075 MB / 4.249 GB, free: 133.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/7.599, allocations: 0.5716 MB / 4.249 GB, free: 133.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/7.599, allocations: 3.594 kB / 4.249 GB, free: 133.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002519/7.602, allocations: 1.24 MB / 4.25 GB, free: 133.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002219/7.602, allocations: 1.138 MB / 4.252 GB, free: 132.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/7.602, allocations: 3.844 kB / 4.252 GB, free: 132.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/7.602, allocations: 12.41 kB / 4.252 GB, free: 132.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/7.603, allocations: 282.8 kB / 4.252 GB, free: 132.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.724e-05/7.603, allocations: 7.469 kB / 4.252 GB, free: 132.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001671/7.605, allocations: 190.5 kB / 4.252 GB, free: 132.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001438/7.605, allocations: 51.72 kB / 4.252 GB, free: 132.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.807e-06/7.605, allocations: 3.781 kB / 4.252 GB, free: 132.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002238/7.607, allocations: 1.096 MB / 4.253 GB, free: 132.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/7.607, allocations: 3.312 kB / 4.253 GB, free: 132.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/7.607, allocations: 11.17 kB / 4.253 GB, free: 132.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/7.609, allocations: 272.3 kB / 4.253 GB, free: 132.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/7.609, allocations: 9.484 kB / 4.253 GB, free: 132.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001442/7.61, allocations: 173.5 kB / 4.254 GB, free: 132.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/7.61, allocations: 56.44 kB / 4.254 GB, free: 132.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime,hex.flowRegime_nominal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * 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.0002706/7.611, allocations: 196.4 kB / 4.254 GB, free: 132.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000248/7.611, allocations: 120.9 kB / 4.254 GB, free: 132.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002572/7.613, allocations: 1.272 MB / 4.255 GB, free: 132.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/7.613, allocations: 7.438 kB / 4.255 GB, free: 132.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/7.614, allocations: 0 / 4.255 GB, free: 132.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.258e-06/7.614, allocations: 3.844 kB / 4.255 GB, free: 132.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004382/7.618, allocations: 2.682 MB / 4.258 GB, free: 131.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/7.618, allocations: 3.938 kB / 4.258 GB, free: 131.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/7.619, allocations: 216.4 kB / 4.258 GB, free: 131.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.137e-05/7.619, allocations: 7.219 kB / 4.258 GB, free: 131.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.856e-05/7.619, allocations: 26.28 kB / 4.258 GB, free: 131.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-06/7.619, allocations: 9.531 kB / 4.258 GB, free: 131.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/7.619, allocations: 5.281 kB / 4.258 GB, free: 131.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002976/7.622, allocations: 2.1 MB / 4.26 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004045/7.626, allocations: 3.204 MB / 4.263 GB, free: 130.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000672/7.627, allocations: 360.7 kB / 4.264 GB, free: 130 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002751/7.627, allocations: 10.81 kB / 4.264 GB, free: 130 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/7.628, allocations: 136.6 kB / 4.264 GB, free: 130 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/7.629, allocations: 52.94 kB / 4.264 GB, free: 130 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/7.629, allocations: 49.64 kB / 4.264 GB, free: 130 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0007013/7.629, allocations: 0.5553 MB / 4.264 GB, free: 129.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004973/7.634, allocations: 1.516 MB / 4.266 GB, free: 129.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 (senRelHum.phi) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * 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 Backend phase and start with SimCode phase: time 0.003507/7.638, allocations: 2.45 MB / 4.268 GB, free: 129.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002261/7.64, allocations: 1.677 MB / 4.27 GB, free: 129 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/7.64, allocations: 3.172 kB / 4.27 GB, free: 129 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006856/7.641, allocations: 0.6041 MB / 4.271 GB, free: 129 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002102/7.643, allocations: 409.4 kB / 4.271 GB, free: 129 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004162/7.647, allocations: 1.827 MB / 4.273 GB, free: 128.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001159/7.648, allocations: 1.313 MB / 4.274 GB, free: 127.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.092e-06/7.648, allocations: 0 / 4.274 GB, free: 127.7 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)