Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.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.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") [: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.332/1.332, allocations: 289.8 MB / 297.1 MB, free: 6.68 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.0009689/0.0009689, allocations: 181.2 kB / 366.3 MB, free: 1.992 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.033/1.033, allocations: 205.1 MB / 0.6256 GB, free: 5.855 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.0007277/0.0007277, allocations: 95.84 kB / 0.7396 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.933e-06/7.023e-06, allocations: 0 / 0.859 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4094/0.4094, allocations: 116.3 MB / 0.9726 GB, free: 68.26 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1341/0.5435, allocations: 137.9 MB / 1.107 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001828/0.5437, allocations: 73.39 kB / 1.107 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.002449/0.5462, allocations: 0.6568 MB / 1.108 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.5462, allocations: 0 / 1.108 GB, free: 9.883 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004111/0.5466, allocations: 371.1 kB / 1.108 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.5467, allocations: 8.031 kB / 1.108 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.714e-05/0.5467, allocations: 7.906 kB / 1.108 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.5468, allocations: 180.9 kB / 1.109 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.5469, allocations: 0 / 1.109 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.5469, allocations: 9.109 kB / 1.109 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.11e-05/0.547, allocations: 20 kB / 1.109 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.5471, allocations: 45.69 kB / 1.109 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.5471, allocations: 0 / 1.109 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.5471, allocations: 0 / 1.109 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.5471, allocations: 0 / 1.109 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004283/0.5475, allocations: 285.2 kB / 1.109 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.5477, allocations: 38.56 kB / 1.109 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.162e-05/0.5477, allocations: 16.92 kB / 1.109 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.5478, allocations: 0 / 1.109 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.556e-05/0.5478, allocations: 34.56 kB / 1.109 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.5478, allocations: 0 / 1.109 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001481/0.548, allocations: 47.38 kB / 1.109 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/0.548, allocations: 55.41 kB / 1.109 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.747e-05/0.548, allocations: 92.94 kB / 1.109 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.5481, allocations: 33.7 kB / 1.109 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.116e-05/0.5481, allocations: 92.03 kB / 1.109 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.573e-05/0.5481, allocations: 3.906 kB / 1.109 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.5481, allocations: 0 / 1.109 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.097e-05/0.5482, allocations: 322.8 kB / 1.11 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.318e-05/0.5483, allocations: 8 kB / 1.11 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.994e-05/0.5483, allocations: 8 kB / 1.11 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.912e-05/0.5483, allocations: 4 kB / 1.11 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.5483, allocations: 0 / 1.11 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.418e-05/0.5484, allocations: 57.59 kB / 1.11 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.5484, allocations: 8 kB / 1.11 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.5485, allocations: 0 / 1.11 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.5485, allocations: 7.938 kB / 1.11 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.041e-05/0.5486, allocations: 11.98 kB / 1.11 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.5486, allocations: 1.781 kB / 1.11 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.5487, allocations: 23.98 kB / 1.11 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.5487, allocations: 3.938 kB / 1.11 GB, free: 7.93 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: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.925e-05/0.5488, allocations: 108.9 kB / 1.11 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.5488, allocations: 4 kB / 1.11 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001196/0.5489, allocations: 61.67 kB / 1.11 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.5489, allocations: 3.906 kB / 1.11 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.549, allocations: 0 / 1.11 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.549, allocations: 240 / 1.11 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.5491, allocations: 146.2 kB / 1.11 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.5491, allocations: 0 / 1.11 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.935e-05/0.5492, allocations: 15.97 kB / 1.11 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.5492, allocations: 0 / 1.11 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.5492, allocations: 4 kB / 1.11 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.5492, allocations: 4 kB / 1.11 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5492, allocations: 0 / 1.11 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001033/0.5493, allocations: 147.4 kB / 1.11 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.614e-05/0.5494, allocations: 81.02 kB / 1.11 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.5494, allocations: 0 / 1.11 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.5495, allocations: 29 kB / 1.11 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.472e-05/0.5496, allocations: 11.98 kB / 1.11 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.197e-06/0.5496, allocations: 0 / 1.11 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.622e-05/0.5496, allocations: 85.69 kB / 1.11 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001985/0.5498, allocations: 8 kB / 1.11 GB, free: 7.141 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: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * 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.0001084/0.55, allocations: 104.2 kB / 1.11 GB, free: 7.031 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.654e-05/0.55, allocations: 23.98 kB / 1.111 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5501, allocations: 0 / 1.111 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.92e-05/0.5501, allocations: 15.94 kB / 1.111 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001644/0.5503, allocations: 8.656 kB / 1.111 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002122/0.5505, allocations: 67.78 kB / 1.111 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002767/0.5508, allocations: 0.7032 MB / 1.111 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.5508, allocations: 0 / 1.111 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of Templates: time 0.002239/0.553, allocations: 0.6432 MB / 1.112 GB, free: 5.555 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)