Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback.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.Feedback,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback") [: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.319/1.319, 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.0009333/0.0009333, allocations: 177.3 kB / 366.3 MB, free: 1.965 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.03/1.03, allocations: 205.2 MB / 0.6256 GB, free: 5.812 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.0007702/0.0007702, allocations: 89.2 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.548e-06/9.578e-06, allocations: 4 kB / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4927/0.4927, allocations: 116.3 MB / 0.9726 GB, free: 68.7 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1489/0.6416, allocations: 137.7 MB / 1.107 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/0.6419, allocations: 68.84 kB / 1.107 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.002052/0.644, allocations: 0.5206 MB / 1.108 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.644, allocations: 0 / 1.108 GB, free: 10.3 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003948/0.6444, allocations: 364.9 kB / 1.108 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.6445, allocations: 12.02 kB / 1.108 GB, free: 9.891 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.6445, allocations: 3.906 kB / 1.108 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.6446, allocations: 171 kB / 1.108 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.6446, allocations: 0 / 1.108 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.6447, allocations: 4 kB / 1.108 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.344e-05/0.6448, allocations: 19.94 kB / 1.108 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.815e-05/0.6449, allocations: 41.69 kB / 1.108 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.6449, allocations: 0 / 1.108 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.6449, allocations: 0 / 1.108 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.6449, allocations: 4 kB / 1.108 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004726/0.6454, allocations: 293.3 kB / 1.108 GB, free: 9.281 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.519e-05/0.6454, allocations: 30.58 kB / 1.109 GB, free: 9.242 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.383e-05/0.6455, allocations: 24.8 kB / 1.109 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.6455, allocations: 0 / 1.109 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.6455, allocations: 30.56 kB / 1.109 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.6455, allocations: 0 / 1.109 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001491/0.6457, allocations: 57.69 kB / 1.109 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.6457, allocations: 51.41 kB / 1.109 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.809e-05/0.6458, allocations: 99.73 kB / 1.109 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.6458, allocations: 25.7 kB / 1.109 GB, free: 8.918 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.292e-05/0.6459, allocations: 88.12 kB / 1.109 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.6459, allocations: 11.81 kB / 1.109 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-06/0.6459, allocations: 0 / 1.109 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.646, allocations: 310.8 kB / 1.109 GB, free: 8.504 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.351e-05/0.646, allocations: 16 kB / 1.109 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.884e-05/0.6461, allocations: 8 kB / 1.109 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.404e-05/0.6461, allocations: 13.52 kB / 1.109 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6461, allocations: 0 / 1.109 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.927e-05/0.6462, allocations: 49.61 kB / 1.109 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.6462, allocations: 8 kB / 1.109 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.6462, allocations: 0 / 1.109 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.6462, allocations: 7.922 kB / 1.109 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.6464, allocations: 23.98 kB / 1.109 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-06/0.6464, allocations: 0 / 1.109 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.942e-05/0.6465, allocations: 19.98 kB / 1.109 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.6465, allocations: 4 kB / 1.109 GB, free: 8.352 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 (3): * Single equations (assignments): 3 * 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.405e-05/0.6466, allocations: 101 kB / 1.109 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.6466, allocations: 3.906 kB / 1.109 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.984e-05/0.6466, allocations: 16.17 kB / 1.109 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.6466, allocations: 3.984 kB / 1.109 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.6466, allocations: 0 / 1.109 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.6466, allocations: 0 / 1.109 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.6468, allocations: 146.1 kB / 1.11 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.6468, allocations: 0.8438 kB / 1.11 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.6469, allocations: 27.92 kB / 1.11 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.6469, allocations: 0 / 1.11 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.6469, allocations: 0 / 1.11 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.6469, allocations: 0 / 1.11 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.6469, allocations: 0 / 1.11 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001121/0.6471, allocations: 151.5 kB / 1.11 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.783e-05/0.6471, allocations: 81.02 kB / 1.11 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.6471, allocations: 3.984 kB / 1.11 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.6473, allocations: 28.83 kB / 1.11 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.006e-05/0.6473, allocations: 0 / 1.11 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.6473, allocations: 0 / 1.11 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.772e-05/0.6473, allocations: 91.27 kB / 1.11 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001932/0.6475, allocations: 7.938 kB / 1.11 GB, free: 7.613 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 (3): * Single equations (assignments): 3 * 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 0.0001224/0.6477, allocations: 99.25 kB / 1.11 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.756e-05/0.6478, allocations: 23.94 kB / 1.11 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.6478, allocations: 4 kB / 1.11 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.036e-05/0.6478, allocations: 12 kB / 1.11 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001822/0.648, allocations: 8.922 kB / 1.11 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002168/0.6482, allocations: 71.69 kB / 1.11 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002492/0.6485, allocations: 0.6954 MB / 1.111 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.6485, allocations: 0 / 1.111 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of Templates: time 0.002348/0.6508, allocations: 0.6162 MB / 1.111 GB, free: 6.066 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback.pipe 2>&1)