Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") [: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 8.0.1-maint.8.0.x/package.mo): time 1.342/1.342, allocations: 285.5 MB / 292.8 MB, free: 10.46 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009877/0.0009877, allocations: 185.2 kB / 361.1 MB, free: 7.105 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.009/1.009, allocations: 205.1 MB / 0.6195 GB, free: 10.34 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007527/0.0007527, allocations: 89.78 kB / 0.7326 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.366e-06/8.386e-06, allocations: 4 kB / 0.8511 GB, free: 2.988 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4095/0.4095, allocations: 115.3 MB / 0.9637 GB, free: 78.07 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1299/0.5394, allocations: 137.1 MB / 1.098 GB, free: 2.91 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001664/0.5396, allocations: 72.38 kB / 1.098 GB, free: 2.844 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.009585/0.5492, allocations: 3.252 MB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.5493, allocations: 0 / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007111/0.55, allocations: 494 kB / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.902e-05/0.55, allocations: 8.031 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.814e-05/0.5501, allocations: 15.81 kB / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.5503, allocations: 213.5 kB / 1.102 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.5503, allocations: 4 kB / 1.102 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.5503, allocations: 8 kB / 1.102 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000172/0.5505, allocations: 83.97 kB / 1.102 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.5507, allocations: 105.7 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.5507, allocations: 0.5625 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.5507, allocations: 5.188 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.5507, allocations: 0 / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008847/0.5516, allocations: 0.4986 MB / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.5517, allocations: 78.56 kB / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.5518, allocations: 75.86 kB / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/0.5519, allocations: 3.938 kB / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.5519, allocations: 34.47 kB / 1.102 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 1.282e-06/0.5519, allocations: 0 / 1.102 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.00036/0.5523, allocations: 169.6 kB / 1.103 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.237e-05/0.5523, allocations: 51.41 kB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.534e-05/0.5524, allocations: 132.1 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.5524, allocations: 25.7 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.24e-05/0.5525, allocations: 104.3 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.107e-05/0.5525, allocations: 39.36 kB / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.185e-06/0.5525, allocations: 0 / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.5527, allocations: 322.8 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.132e-05/0.5528, allocations: 55.98 kB / 1.103 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.582e-05/0.5528, allocations: 51.98 kB / 1.103 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.553, allocations: 75.89 kB / 1.103 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.553, allocations: 0 / 1.103 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002599/0.5532, allocations: 168.8 kB / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.5533, allocations: 5.312 kB / 1.104 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.5533, allocations: 4 kB / 1.104 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.5533, allocations: 1.125 kB / 1.104 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002658/0.5536, allocations: 55.95 kB / 1.104 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.5536, allocations: 4 kB / 1.104 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002172/0.5538, allocations: 65.61 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/0.5538, allocations: 4 kB / 1.104 GB, free: 12.56 MB / 0.7136 GB 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 (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 6.051e-05/0.5539, allocations: 101 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.684e-05/0.5539, allocations: 15.8 kB / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003505/0.5543, allocations: 202.6 kB / 1.104 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.5543, allocations: 0 / 1.104 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.5543, allocations: 0 / 1.104 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.5543, allocations: 4.5 kB / 1.104 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002082/0.5545, allocations: 218.9 kB / 1.104 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/0.5546, allocations: 6.25 kB / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000245/0.5548, allocations: 55.95 kB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.5548, allocations: 7.984 kB / 1.104 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.5548, allocations: 4 kB / 1.104 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.5549, allocations: 0 / 1.104 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5549, allocations: 0 / 1.104 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003099/0.5552, allocations: 263.3 kB / 1.105 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.254e-05/0.5552, allocations: 99.41 kB / 1.105 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.5553, allocations: 0 / 1.105 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/0.5555, allocations: 51.95 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.534e-05/0.5556, allocations: 11.98 kB / 1.105 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.5556, allocations: 4 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.424e-05/0.5557, allocations: 109.7 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002715/0.5559, allocations: 43.97 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB 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 (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001935/0.5561, allocations: 123 kB / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002607/0.5564, allocations: 205.3 kB / 1.105 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.5564, allocations: 0 / 1.105 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.5566, allocations: 147.3 kB / 1.105 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.5568, allocations: 20.98 kB / 1.105 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004122/0.5572, allocations: 203.4 kB / 1.105 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003038/0.5575, allocations: 0.7436 MB / 1.106 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of SimCode: time 3.01e-07/0.5576, allocations: 0 / 1.106 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of Templates: time 0.003955/0.5615, allocations: 1.775 MB / 1.108 GB, free: 8.098 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1)