Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") [: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 1.6.0+build.1/package.mo): time 0.5734/0.5734, allocations: 94.75 MB / 102 MB, free: 10.36 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002399/0.002399, allocations: 177.1 kB / 125.3 MB, free: 12 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.691/1.691, allocations: 170.5 MB / 319 MB, free: 9.344 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002221/0.00222, allocations: 104.5 kB / 381 MB, free: 18.16 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.696e-06/8.716e-06, allocations: 224 / 448.6 MB, free: 2.102 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1736, allocations: 61.53 MB / 0.4981 GB, free: 4.477 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4927/0.6665, allocations: 99.17 MB / 0.595 GB, free: 3.152 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003182/0.6669, allocations: 83.94 kB / 0.5951 GB, free: 3.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.05228/0.7192, allocations: 17.4 MB / 0.6121 GB, free: 1.812 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001107/0.7194, allocations: 19.92 kB / 0.6121 GB, free: 1.793 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.002997/0.7224, allocations: 1.055 MB / 0.6131 GB, free: 0.6836 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/0.7224, allocations: 12.97 kB / 0.6131 GB, free: 0.6719 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005236/0.723, allocations: 90.97 kB / 0.6132 GB, free: 0.582 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001769/0.7248, allocations: 0.6167 MB / 0.6138 GB, free: 15.92 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.807e-05/0.7248, allocations: 16 kB / 0.6138 GB, free: 15.9 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/0.725, allocations: 32 kB / 0.6139 GB, free: 15.87 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009951/0.726, allocations: 373.9 kB / 0.6142 GB, free: 15.5 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.7271, allocations: 496.4 kB / 0.6147 GB, free: 14.99 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.7271, allocations: 0 / 0.6147 GB, free: 14.99 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.478e-05/0.7272, allocations: 0 / 0.6147 GB, free: 14.99 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/0.7273, allocations: 12 kB / 0.6147 GB, free: 14.98 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003486/0.7307, allocations: 1.556 MB / 0.6162 GB, free: 13.39 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/0.7319, allocations: 490.3 kB / 0.6167 GB, free: 12.9 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000345/0.7323, allocations: 176.9 kB / 0.6168 GB, free: 12.73 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001809/0.7341, allocations: 2 MB / 0.6188 GB, free: 10.27 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004303/0.7345, allocations: 233.2 kB / 0.619 GB, free: 10.03 MB / 442.7 MB Notification: Performance of pre-optimization done (n=44): time 4.398e-06/0.7346, allocations: 0 / 0.619 GB, free: 10.03 MB / 442.7 MB Notification: Performance of matching and sorting (n=44): time 0.001243/0.7358, allocations: 444.6 kB / 0.6194 GB, free: 9.586 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/0.7359, allocations: 221.6 kB / 0.6197 GB, free: 9.32 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006129/0.7366, allocations: 410.4 kB / 0.6201 GB, free: 8.914 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.669e-05/0.7366, allocations: 29.7 kB / 0.6201 GB, free: 8.879 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001926/0.7368, allocations: 224.9 kB / 0.6203 GB, free: 8.652 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/0.737, allocations: 134 kB / 0.6204 GB, free: 8.52 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.569e-05/0.7371, allocations: 0 / 0.6204 GB, free: 8.52 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001952/0.7373, allocations: 378.7 kB / 0.6208 GB, free: 8.141 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002853/0.7376, allocations: 144.9 kB / 0.6209 GB, free: 8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003937/0.738, allocations: 225.9 kB / 0.6211 GB, free: 7.758 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005857/0.7386, allocations: 196.7 kB / 0.6213 GB, free: 7.566 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.7386, allocations: 3.938 kB / 0.6213 GB, free: 7.562 MB / 442.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00107/0.7396, allocations: 470.5 kB / 0.6218 GB, free: 7.098 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.7397, allocations: 4 kB / 0.6218 GB, free: 7.094 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/0.7397, allocations: 0 / 0.6218 GB, free: 7.094 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.957e-05/0.7397, allocations: 7.984 kB / 0.6218 GB, free: 7.086 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006181/0.7404, allocations: 127.9 kB / 0.6219 GB, free: 6.961 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.7404, allocations: 3.938 kB / 0.6219 GB, free: 6.957 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006404/0.741, allocations: 111.6 kB / 0.622 GB, free: 6.848 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.022e-05/0.7411, allocations: 15.98 kB / 0.622 GB, free: 6.832 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.TRoo.T_start,TRoo.T_start,$PRE.TRoo.count,TRoo.count,$PRE.m_flow.T_start,m_flow.T_start,$PRE.m_flow.count,m_flow.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 47 * 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.0001677/0.7413, allocations: 112.9 kB / 0.6221 GB, free: 6.715 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.7414, allocations: 63.16 kB / 0.6222 GB, free: 6.652 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001142/0.7426, allocations: 469.4 kB / 0.6227 GB, free: 6.191 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.7426, allocations: 4 kB / 0.6227 GB, free: 6.188 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.7426, allocations: 0 / 0.6227 GB, free: 6.188 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.7426, allocations: 0 / 0.6227 GB, free: 6.188 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008948/0.7435, allocations: 0.5912 MB / 0.6232 GB, free: 5.559 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.7435, allocations: 0 / 0.6232 GB, free: 5.559 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006481/0.7442, allocations: 132.4 kB / 0.6234 GB, free: 5.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/0.7442, allocations: 4 kB / 0.6234 GB, free: 5.426 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.894e-05/0.7443, allocations: 7.984 kB / 0.6234 GB, free: 5.418 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.7443, allocations: 9.031 kB / 0.6234 GB, free: 5.41 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.7443, allocations: 2.5 kB / 0.6234 GB, free: 5.41 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001452/0.7458, allocations: 0.707 MB / 0.6241 GB, free: 4.688 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003438/0.7461, allocations: 200.2 kB / 0.6243 GB, free: 4.473 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/0.7462, allocations: 0 / 0.6243 GB, free: 4.473 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005717/0.7468, allocations: 91.92 kB / 0.6243 GB, free: 4.383 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/0.747, allocations: 43.92 kB / 0.6244 GB, free: 4.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-05/0.747, allocations: 12 kB / 0.6244 GB, free: 4.328 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0004581/0.7475, allocations: 330.9 kB / 0.6247 GB, free: 4.008 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005838/0.7481, allocations: 135.5 kB / 0.6248 GB, free: 3.875 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (conMix.conHea.I.y,conMix.conCoo.I.y,conMix.conFloRat.I.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,TRoo.T_start,TRoo.count,m_flow.T_start,m_flow.count) * Number of discrete states: 2 (TRoo.count,m_flow.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003234/0.7484, allocations: 142.9 kB / 0.625 GB, free: 3.723 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007824/0.7492, allocations: 430.3 kB / 0.6254 GB, free: 3.285 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.7492, allocations: 0 / 0.6254 GB, free: 3.285 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003705/0.7496, allocations: 195.9 kB / 0.6256 GB, free: 3.094 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008115/0.7504, allocations: 132.8 kB / 0.6257 GB, free: 2.977 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002147/0.7526, allocations: 0.7577 MB / 0.6264 GB, free: 2.188 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009156/0.7535, allocations: 0.9479 MB / 0.6274 GB, free: 1.215 MB / 442.7 MB Notification: Performance of SimCode: time 7.41e-07/0.7535, allocations: 4 kB / 0.6274 GB, free: 1.211 MB / 442.7 MB Notification: Performance of Templates: time 0.01873/0.7723, allocations: 7.724 MB / 0.6349 GB, free: 9.664 MB / 458.7 MB make -j1 -f Buildings_1.6_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile (rm -f Buildings_1.6_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_1.6_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_1.6_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & ./Buildings_1.6_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1)