Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.104/2.104, allocations: 284.9 MB / 292.2 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00158/0.00158, allocations: 189.3 kB / 360.4 MB, free: 7.516 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.625/1.625, allocations: 205.2 MB / 0.6188 GB, free: 12.44 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001232/0.001232, allocations: 91.78 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.437e-05/1.441e-05, allocations: 4 kB / 0.8503 GB, free: 3.848 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5487/0.5487, allocations: 115.2 MB / 0.9628 GB, free: 78.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2254/0.7742, allocations: 136.9 MB / 1.097 GB, free: 3.805 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/0.7745, allocations: 68.66 kB / 1.097 GB, free: 3.738 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.01639/0.7909, allocations: 3.259 MB / 1.1 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.791, allocations: 0 / 1.1 GB, free: 0.5508 MB / 0.698 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.001194/0.7922, allocations: 494 kB / 1.1 GB, free: 24 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.7922, allocations: 8.031 kB / 1.1 GB, free: 16 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.361e-05/0.7923, allocations: 15.81 kB / 1.1 GB, free: 0 / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.7926, allocations: 207.4 kB / 1.1 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.7927, allocations: 4 kB / 1.1 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/0.7927, allocations: 5.812 kB / 1.1 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003093/0.793, allocations: 81.2 kB / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002999/0.7933, allocations: 111.2 kB / 1.101 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.7934, allocations: 4 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.7934, allocations: 0 / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.7934, allocations: 4.656 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001513/0.7949, allocations: 0.4942 MB / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.7951, allocations: 82.5 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/0.7953, allocations: 71.31 kB / 1.101 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.22e-05/0.7954, allocations: 8 kB / 1.101 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.7954, allocations: 34.47 kB / 1.101 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 1.913e-06/0.7954, allocations: 0 / 1.101 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0005508/0.796, allocations: 166.2 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.7961, allocations: 55.41 kB / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.7962, allocations: 125.8 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.7962, allocations: 25.7 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.731e-05/0.7963, allocations: 112.3 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.142e-05/0.7964, allocations: 43.36 kB / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.313e-05/0.7964, allocations: 0 / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.7966, allocations: 322.8 kB / 1.102 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.7967, allocations: 55.98 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.7969, allocations: 51.92 kB / 1.102 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002146/0.7971, allocations: 63.91 kB / 1.102 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.7971, allocations: 0 / 1.102 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004493/0.7976, allocations: 176.5 kB / 1.102 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.7976, allocations: 4 kB / 1.102 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.243e-05/0.7976, allocations: 8 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.7977, allocations: 0 / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004818/0.7982, allocations: 51.95 kB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.7982, allocations: 0 / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004235/0.7986, allocations: 63.8 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.551e-05/0.7987, allocations: 4 kB / 1.103 GB, free: 13.46 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 9.563e-05/0.7988, allocations: 112.7 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.569e-05/0.7988, allocations: 11.81 kB / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005569/0.7994, allocations: 204.3 kB / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.7994, allocations: 0 / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.7994, allocations: 0.6094 kB / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.7994, allocations: 0 / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000327/0.7998, allocations: 229.9 kB / 1.103 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.254e-05/0.7998, allocations: 4 kB / 1.103 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004528/0.8003, allocations: 51.95 kB / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.8003, allocations: 0 / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.8003, allocations: 0 / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.8003, allocations: 5.312 kB / 1.103 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.8003, allocations: 0 / 1.103 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004955/0.8008, allocations: 276.3 kB / 1.103 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.485e-05/0.8009, allocations: 93.56 kB / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.501e-05/0.801, allocations: 0 / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004807/0.8015, allocations: 47.95 kB / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.8016, allocations: 15.97 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.8016, allocations: 8 kB / 1.104 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.406e-05/0.8017, allocations: 106.7 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000408/0.8022, allocations: 40.84 kB / 1.104 GB, free: 12.21 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.0002535/0.8024, allocations: 115.2 kB / 1.104 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004396/0.8029, allocations: 207.2 kB / 1.104 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.8029, allocations: 0 / 1.104 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002403/0.8032, allocations: 139.3 kB / 1.104 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.8035, allocations: 24.12 kB / 1.104 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006348/0.8042, allocations: 203.4 kB / 1.104 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004516/0.8046, allocations: 0.7409 MB / 1.105 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of SimCode: time 7.62e-07/0.8046, allocations: 4 kB / 1.105 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of Templates: time 0.006404/0.811, allocations: 1.77 MB / 1.107 GB, free: 8.988 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1)