Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") [: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.019/2.019, allocations: 253.1 MB / 260.4 MB, free: 7.512 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.001679/0.001678, allocations: 189.2 kB / 319.6 MB, free: 3.285 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.768/1.768, allocations: 205.4 MB / 0.5704 GB, free: 15.11 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.001352/0.001352, allocations: 94.36 kB / 0.6746 GB, free: 4.453 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.697e-06/8.826e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.1865, allocations: 106.2 MB / 0.8881 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6449/0.8314, allocations: 132.6 MB / 1.018 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003555/0.8319, allocations: 89.05 kB / 1.018 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.005492/0.8374, allocations: 1.011 MB / 1.019 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.936e-06/0.8374, allocations: 0 / 1.019 GB, free: 4.73 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000739/0.8382, allocations: 393.1 kB / 1.019 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.8382, allocations: 8.031 kB / 1.019 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.731e-05/0.8383, allocations: 11.81 kB / 1.019 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.8385, allocations: 171 kB / 1.019 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.8385, allocations: 4 kB / 1.019 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.015e-05/0.8386, allocations: 4 kB / 1.019 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001716/0.8388, allocations: 45.83 kB / 1.019 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/0.839, allocations: 61.38 kB / 1.019 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.839, allocations: 0 / 1.019 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.839, allocations: 0 / 1.019 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.8391, allocations: 4 kB / 1.019 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008371/0.8399, allocations: 335.5 kB / 1.02 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.8401, allocations: 54.94 kB / 1.02 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.449e-05/0.8402, allocations: 20.11 kB / 1.02 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.8402, allocations: 0 / 1.02 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001367/0.8403, allocations: 58.09 kB / 1.02 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 1.973e-06/0.8403, allocations: 0 / 1.02 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0002481/0.8406, allocations: 67.84 kB / 1.02 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/0.8407, allocations: 52.44 kB / 1.02 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.8408, allocations: 115.3 kB / 1.02 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/0.8408, allocations: 29.02 kB / 1.02 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.421e-05/0.8409, allocations: 91.36 kB / 1.02 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.51e-05/0.841, allocations: 15.8 kB / 1.02 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.306e-06/0.841, allocations: 0 / 1.02 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.8411, allocations: 314.5 kB / 1.02 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.423e-05/0.8412, allocations: 13.75 kB / 1.02 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.322e-05/0.8413, allocations: 43.31 kB / 1.02 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.895e-05/0.8414, allocations: 11.12 kB / 1.02 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.8414, allocations: 0 / 1.02 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001968/0.8416, allocations: 80.27 kB / 1.021 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.8416, allocations: 8 kB / 1.021 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.8416, allocations: 0 / 1.021 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.8417, allocations: 3.938 kB / 1.021 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.8419, allocations: 20.05 kB / 1.021 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.8419, allocations: 3.906 kB / 1.021 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002266/0.8421, allocations: 27.3 kB / 1.021 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.8422, allocations: 4 kB / 1.021 GB, free: 2.633 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,conEquSta.onSys,conEquSta.onBoi,$PRE.conEquSta.hys.y,conEquSta.hys.y,$PRE.onSys.pulseStart,onSys.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 0.0001129/0.8423, allocations: 115.4 kB / 1.021 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.171e-05/0.8423, allocations: 3.906 kB / 1.021 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.722e-05/0.8424, allocations: 11.75 kB / 1.021 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.8424, allocations: 4 kB / 1.021 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.8424, allocations: 0 / 1.021 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.8424, allocations: 0 / 1.021 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.8426, allocations: 159.8 kB / 1.021 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.8427, allocations: 4 kB / 1.021 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.8428, allocations: 15.8 kB / 1.021 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.8428, allocations: 4 kB / 1.021 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.8428, allocations: 0 / 1.021 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.8428, allocations: 0 / 1.021 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.932e-06/0.8428, allocations: 3.984 kB / 1.021 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000196/0.843, allocations: 89.78 kB / 1.021 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.972e-05/0.8431, allocations: 88.95 kB / 1.021 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.043e-05/0.8432, allocations: 0 / 1.021 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.8434, allocations: 19.98 kB / 1.021 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.565e-05/0.8435, allocations: 23.41 kB / 1.021 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.8435, allocations: 4 kB / 1.021 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.744e-05/0.8436, allocations: 90.52 kB / 1.021 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002793/0.8439, allocations: 12 kB / 1.021 GB, free: 1.949 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: 5 ($whenCondition1,conEquSta.onSys,conEquSta.onBoi,conEquSta.hys.y,onSys.pulseStart) * Number of discrete states: 1 (conEquSta.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001652/0.844, allocations: 99.36 kB / 1.021 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001894/0.8442, allocations: 36.25 kB / 1.021 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.8443, allocations: 0 / 1.021 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.669e-05/0.8444, allocations: 30.81 kB / 1.021 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.8446, allocations: 11.89 kB / 1.021 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004716/0.8451, allocations: 109.5 kB / 1.022 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003999/0.8455, allocations: 0.7075 MB / 1.022 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of SimCode: time 1.372e-06/0.8456, allocations: 0 / 1.022 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of Templates: time 0.004663/0.8502, allocations: 0.9704 MB / 1.023 GB, free: 15.98 MB / 0.6511 GB