Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.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.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") [: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.5241/0.5241, allocations: 94.73 MB / 102 MB, free: 10.37 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.001167/0.001167, allocations: 176.4 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.5/1.5, allocations: 170.5 MB / 319 MB, free: 9.352 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.00168/0.00168, allocations: 111.6 kB / 381 MB, free: 18.13 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.01e-05/1.013e-05, allocations: 4.219 kB / 448.6 MB, free: 2.098 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1653, allocations: 61.52 MB / 0.4981 GB, free: 4.488 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.379/0.5444, allocations: 99.01 MB / 0.5948 GB, free: 3.383 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/0.5447, allocations: 89.91 kB / 0.5949 GB, free: 3.297 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.0359/0.5806, allocations: 12.21 MB / 0.6068 GB, free: 7.195 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.626e-05/0.5808, allocations: 8 kB / 0.6069 GB, free: 7.188 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001921/0.5827, allocations: 0.7087 MB / 0.6075 GB, free: 6.43 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.479e-05/0.5828, allocations: 11.59 kB / 0.6076 GB, free: 6.422 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002262/0.5831, allocations: 59.25 kB / 0.6076 GB, free: 6.363 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007659/0.5838, allocations: 328 kB / 0.6079 GB, free: 6.008 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.5839, allocations: 0 / 0.6079 GB, free: 6.008 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.597e-05/0.5839, allocations: 11.91 kB / 0.6079 GB, free: 5.996 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002368/0.5842, allocations: 83.89 kB / 0.608 GB, free: 5.914 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002353/0.5844, allocations: 113.6 kB / 0.6081 GB, free: 5.797 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.5844, allocations: 3.938 kB / 0.6081 GB, free: 5.793 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/0.5845, allocations: 0 / 0.6081 GB, free: 5.793 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.5845, allocations: 8 kB / 0.6081 GB, free: 5.785 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.5857, allocations: 0.4969 MB / 0.6086 GB, free: 5.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002699/0.586, allocations: 110.6 kB / 0.6087 GB, free: 5.133 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.5861, allocations: 51.48 kB / 0.6088 GB, free: 5.082 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.903e-05/0.5862, allocations: 7.984 kB / 0.6088 GB, free: 5.074 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001892/0.5864, allocations: 121 kB / 0.6089 GB, free: 4.938 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 2.074e-06/0.5864, allocations: 0 / 0.6089 GB, free: 4.938 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006112/0.587, allocations: 180.9 kB / 0.6091 GB, free: 4.754 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.614e-05/0.5871, allocations: 85.11 kB / 0.6092 GB, free: 4.652 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.5882, allocations: 0.6167 MB / 0.6098 GB, free: 4.031 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.5882, allocations: 29.7 kB / 0.6098 GB, free: 3.996 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.5884, allocations: 163.8 kB / 0.6099 GB, free: 3.832 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.805e-05/0.5884, allocations: 11.75 kB / 0.61 GB, free: 3.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.672e-06/0.5884, allocations: 4 kB / 0.61 GB, free: 3.816 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000239/0.5887, allocations: 374.8 kB / 0.6103 GB, free: 3.441 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.251e-05/0.5887, allocations: 39.98 kB / 0.6104 GB, free: 3.402 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.739e-05/0.5888, allocations: 39.97 kB / 0.6104 GB, free: 3.363 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.589, allocations: 57.38 kB / 0.6104 GB, free: 3.309 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.589, allocations: 3.906 kB / 0.6104 GB, free: 3.305 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003518/0.5893, allocations: 188.9 kB / 0.6106 GB, free: 3.113 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.5894, allocations: 4 kB / 0.6106 GB, free: 3.109 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.5894, allocations: 0 / 0.6106 GB, free: 3.109 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.5894, allocations: 5.625 kB / 0.6106 GB, free: 3.105 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.109e-05/0.5895, allocations: 8 kB / 0.6106 GB, free: 3.098 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.5895, allocations: 0 / 0.6106 GB, free: 3.098 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.5896, allocations: 14.41 kB / 0.6107 GB, free: 3.086 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/0.5897, allocations: 7.984 kB / 0.6107 GB, free: 3.078 MB / 426.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: 8 ($whenCondition1,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,booleanToInteger.u,booleanToInteger.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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.0001423/0.5898, allocations: 140.8 kB / 0.6108 GB, free: 2.93 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.208e-05/0.5899, allocations: 59.23 kB / 0.6109 GB, free: 2.871 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004279/0.5903, allocations: 219.4 kB / 0.6111 GB, free: 2.648 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.5904, allocations: 0 / 0.6111 GB, free: 2.648 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5904, allocations: 0 / 0.6111 GB, free: 2.648 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.5904, allocations: 2.25 kB / 0.6111 GB, free: 2.648 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004225/0.5908, allocations: 334 kB / 0.6114 GB, free: 2.285 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.5908, allocations: 4 kB / 0.6114 GB, free: 2.281 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.083e-05/0.5909, allocations: 7.984 kB / 0.6114 GB, free: 2.273 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.5909, allocations: 0 / 0.6114 GB, free: 2.273 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.5909, allocations: 4.078 kB / 0.6114 GB, free: 2.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.5909, allocations: 0 / 0.6114 GB, free: 2.27 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.5909, allocations: 0 / 0.6114 GB, free: 2.27 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003512/0.5913, allocations: 228.2 kB / 0.6116 GB, free: 2.027 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001736/0.5914, allocations: 144.3 kB / 0.6118 GB, free: 1.867 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.58e-05/0.5915, allocations: 8 kB / 0.6118 GB, free: 1.859 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.5916, allocations: 7.984 kB / 0.6118 GB, free: 1.852 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.334e-05/0.5917, allocations: 4 kB / 0.6118 GB, free: 1.848 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.357e-05/0.5917, allocations: 10.38 kB / 0.6118 GB, free: 1.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0006471/0.5924, allocations: 0.5107 MB / 0.6123 GB, free: 1.332 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006081/0.593, allocations: 143.7 kB / 0.6124 GB, free: 1.191 MB / 426.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: 7 ($whenCondition1,speRat.a,speRat.b,speRat.last,speRat.nextEvent,booleanToInteger.u,booleanToInteger.y) * Number of discrete states: 5 (speRat.last,speRat.nextEvent,speRat.b,speRat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.0008211/0.5938, allocations: 349.9 kB / 0.6128 GB, free: 0.8477 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002057/0.594, allocations: 121.6 kB / 0.6129 GB, free: 0.7227 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.594, allocations: 0 / 0.6129 GB, free: 0.7227 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.5941, allocations: 89.67 kB / 0.613 GB, free: 0.6289 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004647/0.5946, allocations: 92.11 kB / 0.613 GB, free: 0.5469 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.596, allocations: 0.7684 MB / 0.6138 GB, free: 15.74 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000683/0.5967, allocations: 0.9811 MB / 0.6148 GB, free: 14.73 MB / 442.7 MB Notification: Performance of SimCode: time 2.81e-07/0.5967, allocations: 0 / 0.6148 GB, free: 14.73 MB / 442.7 MB Notification: Performance of Templates: time 0.0103/0.6071, allocations: 4.844 MB / 0.6195 GB, free: 9.961 MB / 442.7 MB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1)