Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.336/1.336, allocations: 285.5 MB / 292.8 MB, free: 10.5 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.0009318/0.0009318, allocations: 185.3 kB / 361.1 MB, free: 7.082 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.038/1.038, allocations: 205.1 MB / 0.6195 GB, free: 11.94 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.0007329/0.0007329, allocations: 79.97 kB / 0.7325 GB, free: 44.46 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.076e-06/8.076e-06, allocations: 4 kB / 0.8511 GB, free: 3.207 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4312/0.4312, allocations: 115.3 MB / 0.9637 GB, free: 78.03 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1431/0.5743, allocations: 137 MB / 1.097 GB, free: 3.078 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001778/0.5746, allocations: 67.89 kB / 1.098 GB, free: 3.012 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.002612/0.5772, allocations: 0.6547 MB / 1.098 GB, free: 2.398 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.5772, allocations: 0.5938 kB / 1.098 GB, free: 2.398 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.0004449/0.5777, allocations: 376.7 kB / 1.099 GB, free: 1.992 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.5777, allocations: 8.531 kB / 1.099 GB, free: 1.984 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.678e-05/0.5778, allocations: 8.391 kB / 1.099 GB, free: 1.977 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.5779, allocations: 174.9 kB / 1.099 GB, free: 1.766 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.5779, allocations: 0.5938 kB / 1.099 GB, free: 1.766 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.5779, allocations: 4.688 kB / 1.099 GB, free: 1.762 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.227e-05/0.578, allocations: 20 kB / 1.099 GB, free: 1.742 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.379e-05/0.5781, allocations: 44.86 kB / 1.099 GB, free: 1.695 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.5781, allocations: 4.891 kB / 1.099 GB, free: 1.691 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-06/0.5781, allocations: 4 kB / 1.099 GB, free: 1.688 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.5782, allocations: 0 / 1.099 GB, free: 1.688 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004622/0.5786, allocations: 285.2 kB / 1.099 GB, free: 1.371 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.5788, allocations: 34.56 kB / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.451e-05/0.5788, allocations: 21.92 kB / 1.099 GB, free: 1.309 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.5789, allocations: 0 / 1.099 GB, free: 1.309 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/0.5789, allocations: 34.56 kB / 1.099 GB, free: 1.266 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.5789, allocations: 0 / 1.099 GB, free: 1.266 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001545/0.5791, allocations: 49.72 kB / 1.099 GB, free: 1.211 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.385e-05/0.5791, allocations: 55.41 kB / 1.099 GB, free: 1.145 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.308e-05/0.5792, allocations: 93 kB / 1.099 GB, free: 1.047 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.5792, allocations: 25.7 kB / 1.099 GB, free: 1.016 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.622e-05/0.5792, allocations: 92.03 kB / 1.099 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.721e-05/0.5792, allocations: 7.906 kB / 1.099 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-06/0.5793, allocations: 4 kB / 1.099 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.247e-05/0.5793, allocations: 314.8 kB / 1.1 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.41e-05/0.5794, allocations: 8 kB / 1.1 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.992e-05/0.5794, allocations: 12 kB / 1.1 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.179e-05/0.5794, allocations: 9.859 kB / 1.1 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.5794, allocations: 0 / 1.1 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.599e-05/0.5795, allocations: 51.42 kB / 1.1 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.5795, allocations: 8 kB / 1.1 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.5796, allocations: 0 / 1.1 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.5796, allocations: 0 / 1.1 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.16e-05/0.5797, allocations: 19.92 kB / 1.1 GB, free: 496 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.5797, allocations: 0 / 1.1 GB, free: 496 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.5798, allocations: 27.97 kB / 1.1 GB, free: 468 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.5798, allocations: 4 kB / 1.1 GB, free: 464 kB / 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 5.694e-05/0.5799, allocations: 105.5 kB / 1.1 GB, free: 352 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/0.5799, allocations: 0 / 1.1 GB, free: 352 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001153/0.58, allocations: 55.33 kB / 1.1 GB, free: 288 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.5801, allocations: 3.906 kB / 1.1 GB, free: 284 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.5801, allocations: 0 / 1.1 GB, free: 284 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.5801, allocations: 7.984 kB / 1.1 GB, free: 276 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.5802, allocations: 150.2 kB / 1.1 GB, free: 88 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.5802, allocations: 1.688 kB / 1.1 GB, free: 88 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.613e-05/0.5803, allocations: 12 kB / 1.1 GB, free: 76 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.5803, allocations: 0 / 1.1 GB, free: 76 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.5803, allocations: 6.062 kB / 1.1 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.5803, allocations: 4.594 kB / 1.1 GB, free: 68 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5803, allocations: 0 / 1.1 GB, free: 68 kB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00015/0.5805, allocations: 148.1 kB / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.225e-05/0.5805, allocations: 85.02 kB / 1.1 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.5806, allocations: 0 / 1.1 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.5807, allocations: 23.98 kB / 1.1 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.671e-05/0.5808, allocations: 8.688 kB / 1.1 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.5808, allocations: 4.844 kB / 1.1 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.302e-05/0.5808, allocations: 83.27 kB / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002205/0.581, allocations: 4 kB / 1.101 GB, free: 15.68 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.0001038/0.5812, allocations: 103 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.502e-05/0.5813, allocations: 24.5 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.5813, allocations: 4 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.886e-05/0.5813, allocations: 12 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001821/0.5815, allocations: 20.5 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002221/0.5817, allocations: 76.53 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002373/0.582, allocations: 0.6915 MB / 1.101 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.582, allocations: 0 / 1.101 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of Templates: time 0.002254/0.5842, allocations: 0.6541 MB / 1.102 GB, free: 14.1 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)