Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.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.DryWetSelector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector") [: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.5006/0.5006, allocations: 94.73 MB / 102 MB, free: 10.38 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.001532/0.001532, allocations: 175.8 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.445/1.445, allocations: 170.5 MB / 319 MB, free: 9.371 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.002202/0.002202, allocations: 111.1 kB / 381 MB, free: 18.19 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.273e-05/1.275e-05, allocations: 4 kB / 448.6 MB, free: 2.109 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1438, allocations: 61.51 MB / 0.4981 GB, free: 4.496 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3971/0.541, allocations: 95.56 MB / 0.5915 GB, free: 6.867 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003209/0.5414, allocations: 86.89 kB / 0.5915 GB, free: 6.785 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.00844/0.5498, allocations: 2.354 MB / 0.5938 GB, free: 4.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.43e-05/0.5499, allocations: 4 kB / 0.5938 GB, free: 4.496 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007796/0.5507, allocations: 459.4 kB / 0.5943 GB, free: 4.004 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.777e-05/0.5508, allocations: 8.031 kB / 0.5943 GB, free: 3.996 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.989e-05/0.5509, allocations: 17.12 kB / 0.5943 GB, free: 3.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.5511, allocations: 182.8 kB / 0.5945 GB, free: 3.762 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.5512, allocations: 4 kB / 0.5945 GB, free: 3.758 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/0.5512, allocations: 4 kB / 0.5945 GB, free: 3.754 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002402/0.5515, allocations: 73.48 kB / 0.5946 GB, free: 3.684 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.5517, allocations: 87.31 kB / 0.5946 GB, free: 3.594 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.5517, allocations: 4 kB / 0.5946 GB, free: 3.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.5517, allocations: 0 / 0.5946 GB, free: 3.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.5517, allocations: 7.828 kB / 0.5946 GB, free: 3.586 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008312/0.5526, allocations: 405.1 kB / 0.595 GB, free: 3.156 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002626/0.5528, allocations: 82.64 kB / 0.5951 GB, free: 3.066 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.095e-05/0.553, allocations: 40.86 kB / 0.5952 GB, free: 3.023 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006513/0.5536, allocations: 0.5544 MB / 0.5957 GB, free: 2.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.5537, allocations: 35.78 kB / 0.5957 GB, free: 2.297 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 2.034e-06/0.5537, allocations: 0 / 0.5957 GB, free: 2.297 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004585/0.5542, allocations: 93.72 kB / 0.5958 GB, free: 2.199 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/0.5542, allocations: 55.41 kB / 0.5959 GB, free: 2.133 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.5544, allocations: 119.6 kB / 0.596 GB, free: 2.008 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.5544, allocations: 25.7 kB / 0.596 GB, free: 1.977 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.869e-05/0.5545, allocations: 104.2 kB / 0.5961 GB, free: 1.867 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.077e-05/0.5546, allocations: 38.17 kB / 0.5961 GB, free: 1.832 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.802e-06/0.5546, allocations: 0 / 0.5961 GB, free: 1.832 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002014/0.5548, allocations: 322.8 kB / 0.5965 GB, free: 1.508 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.474e-05/0.5549, allocations: 20 kB / 0.5965 GB, free: 1.488 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.203e-05/0.5549, allocations: 23.94 kB / 0.5965 GB, free: 1.465 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/0.555, allocations: 20 kB / 0.5965 GB, free: 1.445 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.555, allocations: 3.906 kB / 0.5965 GB, free: 1.441 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002086/0.5553, allocations: 97.58 kB / 0.5966 GB, free: 1.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.5553, allocations: 4 kB / 0.5966 GB, free: 1.336 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.5553, allocations: 7.25 kB / 0.5966 GB, free: 1.332 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.5553, allocations: 4 kB / 0.5966 GB, free: 1.328 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.5555, allocations: 31.92 kB / 0.5967 GB, free: 1.297 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.5555, allocations: 2.719 kB / 0.5967 GB, free: 1.297 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.5557, allocations: 34.38 kB / 0.5967 GB, free: 1.266 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.5557, allocations: 3.906 kB / 0.5967 GB, free: 1.262 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 (10): * Single equations (assignments): 10 * 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 9.508e-05/0.5558, allocations: 101 kB / 0.5968 GB, free: 1.156 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.25e-05/0.5559, allocations: 11.91 kB / 0.5968 GB, free: 1.145 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002939/0.5562, allocations: 111.7 kB / 0.5969 GB, free: 1.035 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.5562, allocations: 2.953 kB / 0.5969 GB, free: 1.035 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.864e-06/0.5562, allocations: 4 kB / 0.5969 GB, free: 1.031 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.5562, allocations: 0 / 0.5969 GB, free: 1.031 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002437/0.5564, allocations: 190.1 kB / 0.5971 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.5565, allocations: 4 kB / 0.5971 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.5566, allocations: 31.98 kB / 0.5971 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.5566, allocations: 0 / 0.5971 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.5567, allocations: 0 / 0.5971 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.5567, allocations: 0 / 0.5971 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-05/0.5567, allocations: 11.83 kB / 0.5971 GB, free: 0.7617 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002896/0.557, allocations: 194.8 kB / 0.5973 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.542e-05/0.5571, allocations: 93 kB / 0.5974 GB, free: 460 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.5571, allocations: 0 / 0.5974 GB, free: 460 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.5573, allocations: 15.98 kB / 0.5974 GB, free: 444 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.126e-05/0.5573, allocations: 15.89 kB / 0.5974 GB, free: 428 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.727e-06/0.5573, allocations: 8 kB / 0.5975 GB, free: 420 kB / 410.7 MB Notification: Performance of sort global known variables: time 7.112e-05/0.5574, allocations: 94.39 kB / 0.5975 GB, free: 328 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002804/0.5577, allocations: 39.78 kB / 0.5976 GB, free: 288 kB / 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 (10): * Single equations (assignments): 10 * 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.0002443/0.558, allocations: 111.2 kB / 0.5977 GB, free: 168 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000222/0.5582, allocations: 67.92 kB / 0.5978 GB, free: 100 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.5582, allocations: 0 / 0.5978 GB, free: 100 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.968e-05/0.5583, allocations: 32 kB / 0.5978 GB, free: 68 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.5586, allocations: 19.98 kB / 0.5978 GB, free: 48 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005589/0.5592, allocations: 143.5 kB / 0.5979 GB, free: 15.89 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000431/0.5596, allocations: 0.7316 MB / 0.5987 GB, free: 15.13 MB / 426.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5597, allocations: 0 / 0.5987 GB, free: 15.13 MB / 426.7 MB Notification: Performance of Templates: time 0.004933/0.5646, allocations: 1.396 MB / 0.6 GB, free: 13.8 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe 2>&1)