Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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 7.0.1/package.mo): time 2.459/2.459, allocations: 253.1 MB / 260.4 MB, free: 7.617 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001579/0.001579, allocations: 177.3 kB / 319.6 MB, free: 3.324 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.929/1.929, allocations: 205.4 MB / 0.5704 GB, free: 15.13 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001348/0.001347, allocations: 95.27 kB / 0.6746 GB, free: 4.484 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.549e-05/1.566e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3059, allocations: 106.3 MB / 0.8881 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7869/1.093, allocations: 131.7 MB / 1.017 GB, free: 6.715 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/1.093, allocations: 72.17 kB / 1.017 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.004379/1.098, allocations: 0.6733 MB / 1.017 GB, free: 6.09 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.18e-05/1.098, allocations: 4 kB / 1.017 GB, free: 6.086 MB / 0.6355 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.0007483/1.098, allocations: 373 kB / 1.018 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/1.099, allocations: 8.031 kB / 1.018 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/1.099, allocations: 7.906 kB / 1.018 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/1.099, allocations: 167 kB / 1.018 GB, free: 5.461 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/1.099, allocations: 4 kB / 1.018 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/1.099, allocations: 0 / 1.018 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001301/1.099, allocations: 22.12 kB / 1.018 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/1.099, allocations: 49.41 kB / 1.018 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/1.099, allocations: 0 / 1.018 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/1.099, allocations: 0 / 1.018 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/1.099, allocations: 4 kB / 1.018 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007217/1.1, allocations: 278.2 kB / 1.018 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002493/1.1, allocations: 41.14 kB / 1.018 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.299e-05/1.1, allocations: 13.3 kB / 1.018 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/1.1, allocations: 3.984 kB / 1.018 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/1.1, allocations: 34.56 kB / 1.018 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.986e-06/1.1, allocations: 4 kB / 1.018 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002113/1.101, allocations: 55.19 kB / 1.018 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/1.101, allocations: 51.41 kB / 1.018 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.778e-05/1.101, allocations: 96.19 kB / 1.019 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/1.101, allocations: 25.7 kB / 1.019 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.126e-05/1.101, allocations: 88.97 kB / 1.019 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/1.101, allocations: 7.406 kB / 1.019 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/1.101, allocations: 0 / 1.019 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001429/1.101, allocations: 322.8 kB / 1.019 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.987e-05/1.101, allocations: 7.875 kB / 1.019 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.939e-05/1.101, allocations: 11.86 kB / 1.019 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.378e-05/1.101, allocations: 7.688 kB / 1.019 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/1.101, allocations: 0 / 1.019 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001405/1.101, allocations: 52.5 kB / 1.019 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/1.101, allocations: 7.938 kB / 1.019 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/1.101, allocations: 192 / 1.019 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/1.101, allocations: 3.906 kB / 1.019 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/1.102, allocations: 19.94 kB / 1.019 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/1.102, allocations: 0 / 1.019 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002287/1.102, allocations: 32.83 kB / 1.019 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/1.102, allocations: 0 / 1.019 GB, free: 4.199 MB / 0.6355 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 9.089e-05/1.102, allocations: 101 kB / 1.019 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.066e-05/1.102, allocations: 7.906 kB / 1.019 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000175/1.102, allocations: 53.3 kB / 1.019 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/1.102, allocations: 7.938 kB / 1.019 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/1.102, allocations: 0 / 1.019 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/1.102, allocations: 0 / 1.019 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/1.102, allocations: 148.8 kB / 1.019 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/1.103, allocations: 8 kB / 1.019 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/1.103, allocations: 15.89 kB / 1.019 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.263e-05/1.103, allocations: 0 / 1.019 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/1.103, allocations: 3.938 kB / 1.019 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/1.103, allocations: 0 / 1.019 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.103, allocations: 0 / 1.019 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000206/1.103, allocations: 150.5 kB / 1.02 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.679e-05/1.103, allocations: 77.11 kB / 1.02 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/1.103, allocations: 0 / 1.02 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002746/1.103, allocations: 27.97 kB / 1.02 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.067e-05/1.103, allocations: 11.89 kB / 1.02 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/1.103, allocations: 0 / 1.02 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.028e-05/1.104, allocations: 83.48 kB / 1.02 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003148/1.104, allocations: 8 kB / 1.02 GB, free: 3.445 MB / 0.6355 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.0001638/1.104, allocations: 95.25 kB / 1.02 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001461/1.104, allocations: 30.86 kB / 1.02 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/1.104, allocations: 0 / 1.02 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.408e-05/1.104, allocations: 17.38 kB / 1.02 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/1.105, allocations: 0 / 1.02 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003434/1.105, allocations: 78.56 kB / 1.02 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000398/1.105, allocations: 0.6954 MB / 1.021 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of SimCode: time 6.72e-07/1.105, allocations: 0 / 1.021 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of Templates: time 0.003785/1.109, allocations: 0.6493 MB / 1.021 GB, free: 1.863 MB / 0.6355 GB