Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") [: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.1.4-maint.8.1.x/package.mo): time 1.367/1.367, allocations: 289.8 MB / 297.1 MB, free: 6.648 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.001046/0.001046, allocations: 173.3 kB / 366.3 MB, free: 1.973 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.075/1.075, allocations: 205.2 MB / 0.6256 GB, free: 5.805 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.0008156/0.0008158, allocations: 89.58 kB / 0.7396 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.646e-06/8.737e-06, allocations: 4 kB / 0.859 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4217/0.4217, allocations: 116.3 MB / 0.9726 GB, free: 68.3 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1386/0.5604, allocations: 137.8 MB / 1.107 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002055/0.5606, allocations: 71.95 kB / 1.107 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.00148/0.5621, allocations: 366.5 kB / 1.108 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.5622, allocations: 4.625 kB / 1.108 GB, free: 10.36 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003058/0.5625, allocations: 332.5 kB / 1.108 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.5625, allocations: 12.02 kB / 1.108 GB, free: 9.98 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.1e-05/0.5626, allocations: 7.906 kB / 1.108 GB, free: 9.973 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.5627, allocations: 163.1 kB / 1.108 GB, free: 9.773 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.5627, allocations: 0 / 1.108 GB, free: 9.773 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.5627, allocations: 1.312 kB / 1.108 GB, free: 9.773 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.11e-05/0.5628, allocations: 12 kB / 1.108 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.904e-05/0.5628, allocations: 37.62 kB / 1.108 GB, free: 9.719 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.5628, allocations: 0 / 1.108 GB, free: 9.719 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.5629, allocations: 3.906 kB / 1.108 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.5629, allocations: 4 kB / 1.108 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002534/0.5631, allocations: 225.5 kB / 1.108 GB, free: 9.453 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.315e-05/0.5632, allocations: 26.58 kB / 1.108 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.142e-05/0.5632, allocations: 8.859 kB / 1.108 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.5632, allocations: 4.062 kB / 1.108 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.5633, allocations: 42.41 kB / 1.108 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.5633, allocations: 0 / 1.108 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001324/0.5634, allocations: 41.69 kB / 1.108 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.39e-05/0.5634, allocations: 51.41 kB / 1.108 GB, free: 9.242 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.277e-05/0.5635, allocations: 90.78 kB / 1.109 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.5635, allocations: 25.7 kB / 1.109 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.677e-05/0.5635, allocations: 84.14 kB / 1.109 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.514e-05/0.5636, allocations: 7.906 kB / 1.109 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-06/0.5636, allocations: 4.031 kB / 1.109 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.746e-05/0.5637, allocations: 314.8 kB / 1.109 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.344e-05/0.5637, allocations: 4 kB / 1.109 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.093e-05/0.5637, allocations: 4 kB / 1.109 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.564e-05/0.5637, allocations: 4 kB / 1.109 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.5637, allocations: 0 / 1.109 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.405e-05/0.5638, allocations: 45.55 kB / 1.109 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.127e-06/0.5638, allocations: 8 kB / 1.109 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.5638, allocations: 4.094 kB / 1.109 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.776e-06/0.5638, allocations: 0 / 1.109 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.561e-05/0.5639, allocations: 11.98 kB / 1.109 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.564, allocations: 3.938 kB / 1.109 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.504e-05/0.564, allocations: 11.98 kB / 1.109 GB, free: 8.602 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.564, allocations: 4 kB / 1.109 GB, free: 8.598 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 (2): * Single equations (assignments): 2 * 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 6.031e-05/0.5641, allocations: 108.9 kB / 1.109 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/0.5641, allocations: 2.156 kB / 1.109 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.88e-05/0.5642, allocations: 45 kB / 1.109 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.5642, allocations: 0 / 1.109 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.5642, allocations: 0 / 1.109 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.5642, allocations: 0 / 1.109 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.5644, allocations: 146.1 kB / 1.109 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.5644, allocations: 0 / 1.109 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.469e-05/0.5644, allocations: 20.02 kB / 1.109 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.5645, allocations: 0 / 1.109 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.5645, allocations: 4 kB / 1.109 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.5645, allocations: 0 / 1.109 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.5645, allocations: 0 / 1.109 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001047/0.5646, allocations: 149.5 kB / 1.11 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.652e-05/0.5646, allocations: 77.11 kB / 1.11 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.5646, allocations: 0 / 1.11 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.777e-05/0.5647, allocations: 11.98 kB / 1.11 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.432e-05/0.5648, allocations: 0 / 1.11 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.736e-06/0.5648, allocations: 0 / 1.11 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.989e-05/0.5648, allocations: 91.34 kB / 1.11 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001921/0.565, allocations: 8.031 kB / 1.11 GB, free: 7.863 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 (2): * Single equations (assignments): 2 * 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 9.702e-05/0.5651, allocations: 95.25 kB / 1.11 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.236e-05/0.5652, allocations: 15.94 kB / 1.11 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-06/0.5652, allocations: 0 / 1.11 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.894e-05/0.5652, allocations: 14.25 kB / 1.11 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/0.5654, allocations: 0 / 1.11 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001737/0.5656, allocations: 60.05 kB / 1.11 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002275/0.5658, allocations: 0.688 MB / 1.111 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.5658, allocations: 0 / 1.111 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of Templates: time 0.001769/0.5676, allocations: 400.3 kB / 1.111 GB, free: 6.57 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe 2>&1)