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.MultiSum.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.MultiSum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") [: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.116/2.116, allocations: 284.9 MB / 292.2 MB, free: 10.74 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.001573/0.001573, allocations: 189.2 kB / 360.4 MB, free: 7.504 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.595/1.595, allocations: 205.2 MB / 0.6188 GB, free: 12.4 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.001166/0.001166, allocations: 89.39 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.985e-06/8.065e-06, allocations: 0 / 0.8503 GB, free: 3.844 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5257/0.5257, allocations: 115.2 MB / 0.9628 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2035/0.7293, allocations: 137 MB / 1.097 GB, free: 3.781 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/0.7296, allocations: 59.97 kB / 1.097 GB, free: 3.723 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.009578/0.7392, allocations: 1.714 MB / 1.098 GB, free: 2.074 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.051e-05/0.7392, allocations: 0 / 1.098 GB, free: 2.074 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009847/0.7402, allocations: 442 kB / 1.099 GB, free: 1.598 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.7402, allocations: 8.031 kB / 1.099 GB, free: 1.59 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.839e-05/0.7403, allocations: 15.91 kB / 1.099 GB, free: 1.574 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/0.7406, allocations: 203.8 kB / 1.099 GB, free: 1.332 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.7406, allocations: 4.188 kB / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/0.7406, allocations: 7.938 kB / 1.099 GB, free: 1.32 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000301/0.741, allocations: 85.17 kB / 1.099 GB, free: 1.238 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002681/0.7412, allocations: 103.3 kB / 1.099 GB, free: 1.133 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.7413, allocations: 0 / 1.099 GB, free: 1.133 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.7413, allocations: 3.984 kB / 1.099 GB, free: 1.129 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.7413, allocations: 4 kB / 1.099 GB, free: 1.125 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009287/0.7422, allocations: 388.9 kB / 1.1 GB, free: 0.707 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.7433, allocations: 122.6 kB / 1.1 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.7435, allocations: 49.72 kB / 1.1 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.929e-05/0.7436, allocations: 11.92 kB / 1.1 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.7436, allocations: 30.56 kB / 1.1 GB, free: 488 kB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.7436, allocations: 4 kB / 1.1 GB, free: 484 kB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0004213/0.744, allocations: 125.5 kB / 1.1 GB, free: 352 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.7441, allocations: 51.41 kB / 1.1 GB, free: 288 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.7442, allocations: 134.8 kB / 1.1 GB, free: 140 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.7443, allocations: 25.7 kB / 1.1 GB, free: 108 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.317e-05/0.7443, allocations: 100 kB / 1.1 GB, free: 4 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.324e-05/0.7444, allocations: 27.59 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.497e-05/0.7444, allocations: 0 / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.7446, allocations: 326.7 kB / 1.1 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.7447, allocations: 35.98 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.7449, allocations: 41.67 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.745, allocations: 35.98 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.745, allocations: 0 / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003588/0.7454, allocations: 125.5 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.7454, allocations: 8 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.7454, allocations: 7.047 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.7455, allocations: 0 / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005119/0.746, allocations: 49.2 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.746, allocations: 0 / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003595/0.7464, allocations: 35.88 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.45e-05/0.7464, allocations: 8 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001078/0.7465, allocations: 115.2 kB / 1.101 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.834e-05/0.7466, allocations: 11.81 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.678e-05/0.7466, allocations: 16.48 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.7467, allocations: 0.75 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.7467, allocations: 0 / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.7467, allocations: 0 / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000324/0.747, allocations: 211.4 kB / 1.101 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.747, allocations: 4 kB / 1.101 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004796/0.7475, allocations: 43.95 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.7475, allocations: 4 kB / 1.101 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/0.7476, allocations: 4 kB / 1.101 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.7476, allocations: 3.984 kB / 1.101 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.7476, allocations: 0 / 1.101 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003975/0.748, allocations: 225.1 kB / 1.101 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.934e-05/0.7481, allocations: 89.56 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.733e-05/0.7481, allocations: 0 / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003772/0.7485, allocations: 34.16 kB / 1.102 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.7486, allocations: 31.95 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-05/0.7487, allocations: 7.984 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.816e-05/0.7488, allocations: 118.9 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003348/0.7491, allocations: 24 kB / 1.102 GB, free: 14.32 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: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.00015/0.7493, allocations: 103.2 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003288/0.7496, allocations: 87.97 kB / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.7496, allocations: 4 kB / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002141/0.7499, allocations: 63.91 kB / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.7502, allocations: 17.78 kB / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006601/0.7508, allocations: 168.2 kB / 1.102 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004438/0.7513, allocations: 0.7383 MB / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of SimCode: time 6.82e-07/0.7513, allocations: 0 / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of Templates: time 0.00651/0.7578, allocations: 2.115 MB / 1.105 GB, free: 11.04 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1)