Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.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.Integers.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add") [: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.168/2.168, allocations: 284.9 MB / 292.2 MB, free: 10.68 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.001589/0.001588, allocations: 173.3 kB / 360.4 MB, free: 7.492 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.627/1.627, allocations: 205.1 MB / 0.6188 GB, free: 12.41 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.00122/0.001219, allocations: 93.41 kB / 0.7318 GB, free: 44.92 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.119e-05/1.128e-05, allocations: 4 kB / 0.8503 GB, free: 3.797 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.529/0.529, allocations: 115.2 MB / 0.9628 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1993/0.7284, allocations: 136.9 MB / 1.096 GB, free: 3.852 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/0.7287, allocations: 68.66 kB / 1.097 GB, free: 3.785 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.006709/0.7354, allocations: 1.159 MB / 1.098 GB, free: 2.668 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.317e-06/0.7355, allocations: 4 kB / 1.098 GB, free: 2.664 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007439/0.7362, allocations: 391.5 kB / 1.098 GB, free: 2.238 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.7363, allocations: 8.031 kB / 1.098 GB, free: 2.23 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.749e-05/0.7363, allocations: 9.688 kB / 1.098 GB, free: 2.223 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.7365, allocations: 182.8 kB / 1.098 GB, free: 2.004 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.7365, allocations: 0.5156 kB / 1.098 GB, free: 2.004 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.7366, allocations: 4 kB / 1.098 GB, free: 2 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002202/0.7368, allocations: 51.98 kB / 1.098 GB, free: 1.949 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.737, allocations: 69.56 kB / 1.098 GB, free: 1.875 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.737, allocations: 1.453 kB / 1.098 GB, free: 1.875 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.7371, allocations: 0 / 1.098 GB, free: 1.875 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.7371, allocations: 4 kB / 1.098 GB, free: 1.871 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006713/0.7378, allocations: 317.2 kB / 1.099 GB, free: 1.523 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007722/0.7385, allocations: 94.56 kB / 1.099 GB, free: 1.422 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.654e-05/0.7387, allocations: 28.86 kB / 1.099 GB, free: 1.391 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.7387, allocations: 4 kB / 1.099 GB, free: 1.387 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.7387, allocations: 32 kB / 1.099 GB, free: 1.348 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.7387, allocations: 0 / 1.099 GB, free: 1.348 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.000317/0.7391, allocations: 90.53 kB / 1.099 GB, free: 1.254 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.7391, allocations: 51.41 kB / 1.099 GB, free: 1.191 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.7392, allocations: 113 kB / 1.099 GB, free: 1.074 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.7393, allocations: 25.7 kB / 1.099 GB, free: 1.043 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.625e-05/0.7393, allocations: 96.88 kB / 1.099 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.166e-05/0.7394, allocations: 19.75 kB / 1.099 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.339e-05/0.7394, allocations: 0 / 1.099 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.7396, allocations: 322.8 kB / 1.099 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.24e-05/0.7396, allocations: 20 kB / 1.1 GB, free: 0.582 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.815e-05/0.7397, allocations: 20 kB / 1.1 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.239e-05/0.7398, allocations: 21.94 kB / 1.1 GB, free: 0.543 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.7398, allocations: 3.906 kB / 1.1 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002519/0.7401, allocations: 85.73 kB / 1.1 GB, free: 460 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.7401, allocations: 8.656 kB / 1.1 GB, free: 452 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.7401, allocations: 0 / 1.1 GB, free: 452 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.7402, allocations: 0 / 1.1 GB, free: 452 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003427/0.7405, allocations: 35.91 kB / 1.1 GB, free: 416 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.7405, allocations: 3.984 kB / 1.1 GB, free: 412 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002473/0.7408, allocations: 23.98 kB / 1.1 GB, free: 388 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.7408, allocations: 4 kB / 1.1 GB, free: 384 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: 3 (add1.u1,add1.u2,add1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.662e-05/0.7409, allocations: 110.3 kB / 1.1 GB, free: 272 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.807e-05/0.741, allocations: 11.81 kB / 1.1 GB, free: 260 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.63e-05/0.741, allocations: 20.36 kB / 1.1 GB, free: 244 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.741, allocations: 0.8438 kB / 1.1 GB, free: 244 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.7411, allocations: 0 / 1.1 GB, free: 244 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.7411, allocations: 0 / 1.1 GB, free: 244 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002336/0.7413, allocations: 167.4 kB / 1.1 GB, free: 40 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.7413, allocations: 0 / 1.1 GB, free: 40 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003236/0.7417, allocations: 35.97 kB / 1.1 GB, free: 4 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/0.7417, allocations: 3.906 kB / 1.1 GB, free: 0 / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.157e-05/0.7417, allocations: 4.047 kB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.7417, allocations: 0 / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/0.7417, allocations: 7.938 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002866/0.742, allocations: 183.4 kB / 1.1 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.771e-05/0.7421, allocations: 84.95 kB / 1.1 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.258e-05/0.7421, allocations: 9.688 kB / 1.1 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002905/0.7424, allocations: 15.98 kB / 1.1 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.931e-05/0.7426, allocations: 20.77 kB / 1.1 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.7426, allocations: 7.984 kB / 1.1 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.978e-05/0.7427, allocations: 102.5 kB / 1.1 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003271/0.743, allocations: 15.91 kB / 1.1 GB, free: 15.53 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: 3 (add1.u1,add1.u2,add1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001404/0.7432, allocations: 103.2 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002287/0.7434, allocations: 59.84 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.7434, allocations: 4 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.7436, allocations: 35.98 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/0.7438, allocations: 6.469 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004758/0.7443, allocations: 116.2 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000363/0.7447, allocations: 0.7192 MB / 1.101 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of SimCode: time 7.01e-07/0.7447, allocations: 0 / 1.101 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of Templates: time 0.004958/0.7497, allocations: 1.397 MB / 1.103 GB, free: 13.08 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1)