Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.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.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.129/2.129, allocations: 284.9 MB / 292.2 MB, free: 10.77 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.001587/0.001587, allocations: 185.2 kB / 360.4 MB, free: 7.531 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.633/1.633, allocations: 205.1 MB / 0.6188 GB, free: 13.19 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.001216/0.001216, allocations: 90.48 kB / 0.7318 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.185e-05/1.189e-05, allocations: 4 kB / 0.8503 GB, free: 3.973 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5435/0.5436, allocations: 115.2 MB / 0.9628 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2029/0.7465, allocations: 136.8 MB / 1.096 GB, free: 4.039 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002493/0.7468, allocations: 73.14 kB / 1.096 GB, free: 3.969 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.004086/0.7509, allocations: 0.6545 MB / 1.097 GB, free: 3.355 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.751, allocations: 4.281 kB / 1.097 GB, free: 3.355 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007062/0.7517, allocations: 379 kB / 1.097 GB, free: 2.945 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.7517, allocations: 8.031 kB / 1.097 GB, free: 2.938 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.764e-05/0.7518, allocations: 3.906 kB / 1.097 GB, free: 2.934 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.7519, allocations: 174.9 kB / 1.098 GB, free: 2.723 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.752, allocations: 0 / 1.098 GB, free: 2.723 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.752, allocations: 4 kB / 1.098 GB, free: 2.719 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001175/0.7521, allocations: 20 kB / 1.098 GB, free: 2.699 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.7522, allocations: 41.69 kB / 1.098 GB, free: 2.652 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.7523, allocations: 4.609 kB / 1.098 GB, free: 2.648 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.7523, allocations: 0 / 1.098 GB, free: 2.648 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.7523, allocations: 6.406 kB / 1.098 GB, free: 2.645 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006495/0.753, allocations: 285.2 kB / 1.098 GB, free: 2.328 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002484/0.7532, allocations: 39.08 kB / 1.098 GB, free: 2.281 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.839e-05/0.7533, allocations: 16.92 kB / 1.098 GB, free: 2.262 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.7533, allocations: 4 kB / 1.098 GB, free: 2.258 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.7534, allocations: 31.41 kB / 1.098 GB, free: 2.219 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.7534, allocations: 0 / 1.098 GB, free: 2.219 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001896/0.7536, allocations: 49.72 kB / 1.098 GB, free: 2.164 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.7536, allocations: 51.41 kB / 1.098 GB, free: 2.102 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.236e-05/0.7537, allocations: 99.66 kB / 1.098 GB, free: 2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.7537, allocations: 25.7 kB / 1.098 GB, free: 1.969 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.769e-05/0.7538, allocations: 88.05 kB / 1.098 GB, free: 1.879 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.7538, allocations: 15.89 kB / 1.098 GB, free: 1.863 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-06/0.7538, allocations: 0 / 1.098 GB, free: 1.863 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.754, allocations: 314.8 kB / 1.099 GB, free: 1.547 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.146e-05/0.754, allocations: 8 kB / 1.099 GB, free: 1.539 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.984e-05/0.7541, allocations: 12 kB / 1.099 GB, free: 1.527 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.371e-05/0.7541, allocations: 8.547 kB / 1.099 GB, free: 1.52 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.7541, allocations: 0 / 1.099 GB, free: 1.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001369/0.7543, allocations: 49.55 kB / 1.099 GB, free: 1.465 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.7543, allocations: 8.781 kB / 1.099 GB, free: 1.457 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.7543, allocations: 3.938 kB / 1.099 GB, free: 1.453 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.7544, allocations: 4.562 kB / 1.099 GB, free: 1.449 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.7545, allocations: 15.98 kB / 1.099 GB, free: 1.434 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.7545, allocations: 0 / 1.099 GB, free: 1.434 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.7547, allocations: 29.72 kB / 1.099 GB, free: 1.406 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.7548, allocations: 0 / 1.099 GB, free: 1.406 MB / 0.698 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 8.962e-05/0.7549, allocations: 112.7 kB / 1.099 GB, free: 1.289 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.396e-05/0.7549, allocations: 0 / 1.099 GB, free: 1.289 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001628/0.7551, allocations: 56.17 kB / 1.099 GB, free: 1.227 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.7551, allocations: 3.906 kB / 1.099 GB, free: 1.223 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.7551, allocations: 4 kB / 1.099 GB, free: 1.219 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.7551, allocations: 4.781 kB / 1.099 GB, free: 1.215 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/0.7553, allocations: 146.2 kB / 1.099 GB, free: 1.035 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.7553, allocations: 3.938 kB / 1.099 GB, free: 1.031 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.7555, allocations: 8 kB / 1.099 GB, free: 1.023 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.7555, allocations: 4 kB / 1.099 GB, free: 1.02 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.7555, allocations: 3.984 kB / 1.099 GB, free: 1.016 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.7555, allocations: 2.5 kB / 1.099 GB, free: 1.016 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.7555, allocations: 4 kB / 1.099 GB, free: 1.012 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001583/0.7557, allocations: 144 kB / 1.099 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.9e-05/0.7558, allocations: 81.02 kB / 1.099 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.7558, allocations: 4 kB / 1.099 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002608/0.7561, allocations: 19.98 kB / 1.099 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.427e-05/0.7561, allocations: 7.984 kB / 1.099 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.583e-06/0.7561, allocations: 0 / 1.099 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.401e-05/0.7562, allocations: 91.27 kB / 1.099 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002896/0.7565, allocations: 4 kB / 1.099 GB, free: 0.6328 MB / 0.698 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.0001335/0.7567, allocations: 100.8 kB / 1.1 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000122/0.7568, allocations: 27.94 kB / 1.1 GB, free: 0.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.7568, allocations: 1.5 kB / 1.1 GB, free: 0.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.358e-05/0.7569, allocations: 12 kB / 1.1 GB, free: 500 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.7571, allocations: 13.27 kB / 1.1 GB, free: 488 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003017/0.7574, allocations: 68.59 kB / 1.1 GB, free: 396 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000406/0.7578, allocations: 0.6993 MB / 1.1 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of SimCode: time 6.51e-07/0.7579, allocations: 7.938 kB / 1.1 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of Templates: time 0.003379/0.7612, allocations: 0.6373 MB / 1.101 GB, free: 15.06 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)