Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) [: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.307/1.307, allocations: 285.5 MB / 292.8 MB, free: 10.38 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.0009061/0.0009062, allocations: 181.3 kB / 361.1 MB, free: 7.074 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.003/1.003, allocations: 205.1 MB / 0.6195 GB, free: 10.29 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.0007254/0.0007252, allocations: 87.27 kB / 0.7325 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1772/0.1779, allocations: 121.5 MB / 0.8512 GB, free: 2.863 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4208/0.5987, allocations: 115.3 MB / 0.9638 GB, free: 78 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1338/0.7326, allocations: 137.2 MB / 1.098 GB, free: 2.805 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001976/0.7328, allocations: 65.38 kB / 1.098 GB, free: 2.742 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.006651/0.7395, allocations: 2.139 MB / 1.1 GB, free: 0.625 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.7395, allocations: 8.5 kB / 1.1 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.368e-05/0.7396, allocations: 11.91 kB / 1.1 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.7398, allocations: 211.4 kB / 1.1 GB, free: 364 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.7398, allocations: 8 kB / 1.1 GB, free: 356 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.7398, allocations: 4 kB / 1.1 GB, free: 352 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002074/0.74, allocations: 83.97 kB / 1.1 GB, free: 268 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.7402, allocations: 99.88 kB / 1.1 GB, free: 164 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.7402, allocations: 0 / 1.1 GB, free: 164 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.7402, allocations: 0 / 1.1 GB, free: 164 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.7402, allocations: 6.188 kB / 1.1 GB, free: 160 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000596/0.7408, allocations: 392.8 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005589/0.7414, allocations: 134.3 kB / 1.101 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.183e-05/0.7415, allocations: 44.89 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.7415, allocations: 7.984 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.7416, allocations: 38.59 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/0.7416, allocations: 0 / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0002744/0.7419, allocations: 126.4 kB / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.355e-05/0.7419, allocations: 51.41 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.742, allocations: 134 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.742, allocations: 25.7 kB / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.869e-05/0.7421, allocations: 96.03 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.7421, allocations: 35.58 kB / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.498e-06/0.7421, allocations: 0 / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.766e-05/0.7422, allocations: 325.4 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.688e-05/0.7423, allocations: 32 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.383e-05/0.7423, allocations: 39.98 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.061e-05/0.7424, allocations: 43.88 kB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.7424, allocations: 0 / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002096/0.7426, allocations: 122.2 kB / 1.102 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/0.7427, allocations: 8 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.7427, allocations: 1.25 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.636e-06/0.7427, allocations: 4 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002787/0.743, allocations: 43.95 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.743, allocations: 4 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001811/0.7432, allocations: 35.88 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.7432, allocations: 9.531 kB / 1.102 GB, free: 14.34 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 7.224e-05/0.7433, allocations: 111.7 kB / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.895e-05/0.7433, allocations: 15.8 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.032e-05/0.7434, allocations: 12.5 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/0.7434, allocations: 0.6094 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.7434, allocations: 0 / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.7434, allocations: 0 / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.7436, allocations: 204.4 kB / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.7436, allocations: 0 / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002531/0.7439, allocations: 51.95 kB / 1.102 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.7439, allocations: 7.938 kB / 1.102 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.7439, allocations: 7.984 kB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.7439, allocations: 0 / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.7439, allocations: 0 / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002603/0.7442, allocations: 224.7 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003474/0.7445, allocations: 0.5905 MB / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.512e-05/0.7446, allocations: 92.86 kB / 1.103 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.025e-05/0.7446, allocations: 4 kB / 1.103 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/0.7448, allocations: 31.97 kB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.882e-05/0.7449, allocations: 31.95 kB / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.745, allocations: 2.062 kB / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.782e-05/0.745, allocations: 111.8 kB / 1.103 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008433/0.7459, allocations: 27.89 kB / 1.103 GB, free: 12.74 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.0001252/0.746, allocations: 111 kB / 1.104 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001888/0.7462, allocations: 87.97 kB / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.7462, allocations: 4 kB / 1.104 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.7463, allocations: 71.91 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001867/0.7465, allocations: 4 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004445/0.747, allocations: 178.4 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00035/0.7473, allocations: 0.7312 MB / 1.105 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.7473, allocations: 4 kB / 1.105 GB, free: 11.51 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1)