Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.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.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower") [: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.5029/0.5029, allocations: 94.74 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.001142/0.001142, allocations: 181.7 kB / 125.3 MB, free: 11.99 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.296/1.296, allocations: 170.5 MB / 319 MB, free: 9.539 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.00165/0.001649, allocations: 109.7 kB / 381 MB, free: 18.11 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.012e-05/1.016e-05, allocations: 0 / 448.6 MB, free: 2.141 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1485, allocations: 61.51 MB / 0.4981 GB, free: 4.527 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4048/0.5533, allocations: 93.53 MB / 0.5895 GB, free: 8.863 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/0.5536, allocations: 85.67 kB / 0.5896 GB, free: 8.781 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.00305/0.5567, allocations: 0.8758 MB / 0.5904 GB, free: 7.953 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.5567, allocations: 4 kB / 0.5904 GB, free: 7.949 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000532/0.5573, allocations: 397.4 kB / 0.5908 GB, free: 7.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.5573, allocations: 8.031 kB / 0.5908 GB, free: 7.512 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.921e-05/0.5574, allocations: 10.56 kB / 0.5908 GB, free: 7.504 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.5575, allocations: 168 kB / 0.591 GB, free: 7.301 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.5575, allocations: 7.891 kB / 0.591 GB, free: 7.293 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.5576, allocations: 4 kB / 0.591 GB, free: 7.289 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001292/0.5577, allocations: 34.84 kB / 0.591 GB, free: 7.258 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.5578, allocations: 53.62 kB / 0.5911 GB, free: 7.199 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.5578, allocations: 4 kB / 0.5911 GB, free: 7.195 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.5578, allocations: 0 / 0.5911 GB, free: 7.195 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.5579, allocations: 0 / 0.5911 GB, free: 7.195 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004522/0.5583, allocations: 273.3 kB / 0.5913 GB, free: 6.891 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.5585, allocations: 52.48 kB / 0.5914 GB, free: 6.832 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.587e-05/0.5586, allocations: 32.34 kB / 0.5914 GB, free: 6.801 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.5586, allocations: 4 kB / 0.5914 GB, free: 6.797 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.5586, allocations: 38.55 kB / 0.5915 GB, free: 6.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.5586, allocations: 0 / 0.5915 GB, free: 6.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001973/0.5588, allocations: 65.61 kB / 0.5915 GB, free: 6.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.5589, allocations: 51.41 kB / 0.5916 GB, free: 6.617 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.231e-05/0.559, allocations: 108.9 kB / 0.5917 GB, free: 6.504 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.559, allocations: 29.7 kB / 0.5917 GB, free: 6.469 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.029e-05/0.5591, allocations: 88.05 kB / 0.5918 GB, free: 6.379 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.5591, allocations: 15.8 kB / 0.5918 GB, free: 6.363 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-06/0.5591, allocations: 0 / 0.5918 GB, free: 6.363 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.5592, allocations: 318.8 kB / 0.5921 GB, free: 6.043 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.5e-05/0.5593, allocations: 16 kB / 0.5921 GB, free: 6.027 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.416e-05/0.5593, allocations: 19.94 kB / 0.5921 GB, free: 6.008 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.217e-05/0.5593, allocations: 11.98 kB / 0.5921 GB, free: 5.996 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.5594, allocations: 4 kB / 0.5922 GB, free: 5.992 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001104/0.5595, allocations: 74.12 kB / 0.5922 GB, free: 5.918 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.5595, allocations: 4 kB / 0.5922 GB, free: 5.914 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.5595, allocations: 0 / 0.5922 GB, free: 5.914 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.5595, allocations: 7.828 kB / 0.5922 GB, free: 5.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001867/0.5597, allocations: 39.97 kB / 0.5923 GB, free: 5.871 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.5597, allocations: 0 / 0.5923 GB, free: 5.871 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.5599, allocations: 31.92 kB / 0.5923 GB, free: 5.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.5599, allocations: 0 / 0.5923 GB, free: 5.84 MB / 410.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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 7.794e-05/0.56, allocations: 108.9 kB / 0.5924 GB, free: 5.727 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.56, allocations: 4 kB / 0.5924 GB, free: 5.723 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.429e-05/0.5601, allocations: 16.28 kB / 0.5924 GB, free: 5.707 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.5601, allocations: 3.938 kB / 0.5924 GB, free: 5.703 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.5601, allocations: 0 / 0.5924 GB, free: 5.703 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.5601, allocations: 0 / 0.5924 GB, free: 5.703 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.5603, allocations: 166.2 kB / 0.5926 GB, free: 5.504 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.5603, allocations: 0 / 0.5926 GB, free: 5.504 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/0.5604, allocations: 38.16 kB / 0.5926 GB, free: 5.469 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.5605, allocations: 4 kB / 0.5926 GB, free: 5.465 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.5605, allocations: 7.891 kB / 0.5926 GB, free: 5.457 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.5605, allocations: 0 / 0.5926 GB, free: 5.457 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.5605, allocations: 0 / 0.5926 GB, free: 5.457 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001806/0.5607, allocations: 165.6 kB / 0.5928 GB, free: 5.281 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.254e-05/0.5607, allocations: 85.02 kB / 0.5929 GB, free: 5.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.5608, allocations: 3.938 kB / 0.5929 GB, free: 5.176 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.5609, allocations: 34.5 kB / 0.5929 GB, free: 5.145 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.172e-05/0.561, allocations: 7.984 kB / 0.5929 GB, free: 5.137 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.561, allocations: 0 / 0.5929 GB, free: 5.137 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.021e-05/0.5611, allocations: 92.16 kB / 0.593 GB, free: 5.047 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002112/0.5613, allocations: 15.94 kB / 0.593 GB, free: 5.031 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001776/0.5615, allocations: 95.25 kB / 0.5931 GB, free: 4.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001417/0.5616, allocations: 45.31 kB / 0.5932 GB, free: 4.887 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.5616, allocations: 0 / 0.5932 GB, free: 4.887 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.048e-05/0.5617, allocations: 23.94 kB / 0.5932 GB, free: 4.863 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.5619, allocations: 15.89 kB / 0.5932 GB, free: 4.848 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000332/0.5622, allocations: 97.17 kB / 0.5933 GB, free: 4.727 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000334/0.5626, allocations: 0.7075 MB / 0.594 GB, free: 3.992 MB / 410.7 MB Notification: Performance of SimCode: time 2.1e-07/0.5626, allocations: 0 / 0.594 GB, free: 3.992 MB / 410.7 MB Notification: Performance of Templates: time 0.003065/0.5657, allocations: 0.9573 MB / 0.5949 GB, free: 3.086 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe 2>&1)