Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.178/2.178, allocations: 253.1 MB / 260.4 MB, free: 7.539 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002423/0.002422, allocations: 184.8 kB / 319.6 MB, free: 3.312 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.999/1.999, allocations: 205.4 MB / 0.5704 GB, free: 15.05 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001297/0.001297, allocations: 83.39 kB / 0.6746 GB, free: 4.434 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.227e-05/1.283e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.1956, allocations: 106.3 MB / 0.8881 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6706/0.8662, allocations: 138.7 MB / 1.024 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003801/0.8667, allocations: 96.67 kB / 1.024 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.05727/0.924, allocations: 12.55 MB / 1.036 GB, free: 5.125 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.219e-05/0.924, allocations: 4 kB / 1.036 GB, free: 5.121 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001273/0.9253, allocations: 0.7066 MB / 1.037 GB, free: 4.391 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.882e-05/0.9254, allocations: 8.031 kB / 1.037 GB, free: 4.383 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001453/0.9256, allocations: 67.16 kB / 1.037 GB, free: 4.316 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007061/0.9263, allocations: 342.9 kB / 1.037 GB, free: 3.953 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.9263, allocations: 0 / 1.037 GB, free: 3.953 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.051e-05/0.9264, allocations: 8 kB / 1.037 GB, free: 3.945 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003112/0.9267, allocations: 97.81 kB / 1.037 GB, free: 3.871 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003211/0.927, allocations: 127.8 kB / 1.037 GB, free: 3.762 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.927, allocations: 3.938 kB / 1.037 GB, free: 3.758 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/0.9271, allocations: 0 / 1.037 GB, free: 3.758 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.9271, allocations: 3.938 kB / 1.037 GB, free: 3.754 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00128/0.9284, allocations: 0.5179 MB / 1.038 GB, free: 3.277 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002763/0.9287, allocations: 108.7 kB / 1.038 GB, free: 3.184 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.9289, allocations: 67.41 kB / 1.038 GB, free: 3.133 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.905e-05/0.929, allocations: 11.92 kB / 1.038 GB, free: 3.121 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002594/0.9292, allocations: 143.6 kB / 1.038 GB, free: 2.98 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=11): time 2.285e-06/0.9292, allocations: 0 / 1.038 GB, free: 2.98 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.0006874/0.9299, allocations: 208.2 kB / 1.038 GB, free: 2.793 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.631e-05/0.93, allocations: 77.11 kB / 1.038 GB, free: 2.699 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001316/0.9313, allocations: 0.6236 MB / 1.039 GB, free: 2.207 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.097e-05/0.9314, allocations: 29.7 kB / 1.039 GB, free: 2.172 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.9316, allocations: 159 kB / 1.039 GB, free: 2.035 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.064e-05/0.9317, allocations: 19.03 kB / 1.039 GB, free: 2.02 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.327e-05/0.9317, allocations: 0 / 1.039 GB, free: 2.02 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002228/0.9319, allocations: 378.5 kB / 1.039 GB, free: 1.664 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.9321, allocations: 53.91 kB / 1.039 GB, free: 1.625 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.9322, allocations: 49.42 kB / 1.04 GB, free: 1.59 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002658/0.9325, allocations: 60.92 kB / 1.04 GB, free: 1.543 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.9325, allocations: 0 / 1.04 GB, free: 1.543 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005608/0.9331, allocations: 204.1 kB / 1.04 GB, free: 1.359 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.9331, allocations: 8 kB / 1.04 GB, free: 1.352 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.9332, allocations: 0 / 1.04 GB, free: 1.352 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.9332, allocations: 0 / 1.04 GB, free: 1.352 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.9333, allocations: 11.94 kB / 1.04 GB, free: 1.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.9333, allocations: 4 kB / 1.04 GB, free: 1.336 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002617/0.9336, allocations: 15.83 kB / 1.04 GB, free: 1.32 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.905e-05/0.9337, allocations: 11.06 kB / 1.04 GB, free: 1.312 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled,booleanToInteger.u,booleanToInteger.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.0001522/0.9338, allocations: 135.7 kB / 1.04 GB, free: 1.168 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.66e-05/0.9339, allocations: 59.25 kB / 1.04 GB, free: 1.109 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008708/0.9348, allocations: 238.3 kB / 1.04 GB, free: 0.9062 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.9348, allocations: 0 / 1.04 GB, free: 0.9062 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.9348, allocations: 7.938 kB / 1.04 GB, free: 0.8984 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.9349, allocations: 0 / 1.04 GB, free: 0.8984 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005996/0.9355, allocations: 345.7 kB / 1.041 GB, free: 0.582 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.9355, allocations: 8.062 kB / 1.041 GB, free: 0.5742 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.999e-05/0.9356, allocations: 11.98 kB / 1.041 GB, free: 0.5625 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.9356, allocations: 0 / 1.041 GB, free: 0.5625 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/0.9356, allocations: 4 kB / 1.041 GB, free: 0.5586 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.9357, allocations: 0 / 1.041 GB, free: 0.5586 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.9357, allocations: 0 / 1.041 GB, free: 0.5586 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006028/0.9363, allocations: 255.4 kB / 1.041 GB, free: 332 kB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002507/0.9365, allocations: 144.2 kB / 1.041 GB, free: 172 kB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.477e-05/0.9366, allocations: 0 / 1.041 GB, free: 172 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.9369, allocations: 11.98 kB / 1.041 GB, free: 160 kB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.034e-05/0.9369, allocations: 3.75 kB / 1.041 GB, free: 160 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.355e-05/0.937, allocations: 8 kB / 1.041 GB, free: 152 kB / 0.6511 GB Notification: Performance of sort global known variables: time 0.001095/0.9381, allocations: 0.5147 MB / 1.042 GB, free: 15.76 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007964/0.9389, allocations: 143.3 kB / 1.042 GB, free: 15.62 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,booleanToInteger.u,booleanToInteger.y) * Number of discrete states: 6 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0009506/0.9399, allocations: 363.7 kB / 1.042 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003936/0.9403, allocations: 152.8 kB / 1.042 GB, free: 15.15 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.9403, allocations: 0 / 1.042 GB, free: 15.15 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001931/0.9405, allocations: 116 kB / 1.042 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008098/0.9413, allocations: 88.25 kB / 1.042 GB, free: 15 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/0.9436, allocations: 0.7852 MB / 1.043 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009114/0.9446, allocations: 0.9883 MB / 1.044 GB, free: 13.34 MB / 0.6667 GB Notification: Performance of SimCode: time 1.312e-06/0.9446, allocations: 0 / 1.044 GB, free: 13.34 MB / 0.6667 GB Notification: Performance of Templates: time 0.01836/0.963, allocations: 5.143 MB / 1.049 GB, free: 8.254 MB / 0.6667 GB