Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_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.0/package.mo): time 2.136/2.136, allocations: 284.8 MB / 292.1 MB, free: 10.75 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.001576/0.001576, allocations: 189.2 kB / 360.3 MB, free: 7.539 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.658/1.658, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.001213/0.001213, allocations: 89.28 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2592/0.2605, allocations: 121.4 MB / 0.8502 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5489/0.8095, allocations: 115.2 MB / 0.9628 GB, free: 78.31 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2034/1.013, allocations: 136.8 MB / 1.096 GB, free: 4.102 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/1.013, allocations: 67.95 kB / 1.096 GB, free: 4.035 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.01087/1.024, allocations: 2.256 MB / 1.099 GB, free: 1.789 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/1.024, allocations: 8.5 kB / 1.099 GB, free: 1.781 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.253e-05/1.024, allocations: 21.5 kB / 1.099 GB, free: 1.762 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/1.025, allocations: 222.7 kB / 1.099 GB, free: 1.504 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/1.025, allocations: 0.75 kB / 1.099 GB, free: 1.504 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.249e-05/1.025, allocations: 8 kB / 1.099 GB, free: 1.496 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003954/1.025, allocations: 113.2 kB / 1.099 GB, free: 1.387 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000321/1.025, allocations: 118.6 kB / 1.099 GB, free: 1.266 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/1.025, allocations: 0 / 1.099 GB, free: 1.266 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.149e-05/1.025, allocations: 4 kB / 1.099 GB, free: 1.262 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/1.025, allocations: 5.125 kB / 1.099 GB, free: 1.258 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001768/1.027, allocations: 0.5174 MB / 1.1 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002538/1.028, allocations: 90.55 kB / 1.1 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/1.028, allocations: 64.83 kB / 1.1 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/1.028, allocations: 0 / 1.1 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/1.028, allocations: 34.56 kB / 1.1 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.704e-06/1.028, allocations: 0 / 1.1 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0004594/1.028, allocations: 138.2 kB / 1.1 GB, free: 364 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/1.028, allocations: 55.41 kB / 1.1 GB, free: 296 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/1.029, allocations: 157.5 kB / 1.1 GB, free: 132 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/1.029, allocations: 25.7 kB / 1.1 GB, free: 100 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.765e-05/1.029, allocations: 108 kB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.272e-05/1.029, allocations: 31.55 kB / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.37e-05/1.029, allocations: 0 / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001357/1.029, allocations: 322.8 kB / 1.101 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/1.029, allocations: 43.98 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/1.029, allocations: 47.92 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/1.029, allocations: 47.97 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/1.029, allocations: 4 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003985/1.03, allocations: 145.5 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/1.03, allocations: 4 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/1.03, allocations: 0 / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/1.03, allocations: 3.906 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005867/1.03, allocations: 67.83 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/1.03, allocations: 0 / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000452/1.031, allocations: 64.75 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/1.031, allocations: 0 / 1.101 GB, free: 15.21 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.815e-05/1.031, allocations: 108.8 kB / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.728e-05/1.031, allocations: 16.61 kB / 1.101 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.833e-05/1.031, allocations: 17.41 kB / 1.101 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/1.031, allocations: 3.906 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/1.031, allocations: 0 / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/1.031, allocations: 7.984 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003378/1.032, allocations: 215.4 kB / 1.101 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/1.032, allocations: 4 kB / 1.101 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005417/1.032, allocations: 66.31 kB / 1.101 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/1.032, allocations: 7.906 kB / 1.101 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/1.032, allocations: 0.5625 kB / 1.101 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/1.032, allocations: 0 / 1.101 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.032, allocations: 4 kB / 1.101 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004497/1.033, allocations: 243.2 kB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006162/1.033, allocations: 0.6013 MB / 1.102 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.913e-05/1.033, allocations: 88.92 kB / 1.102 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.925e-05/1.033, allocations: 1.75 kB / 1.102 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004865/1.034, allocations: 51.95 kB / 1.102 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.755e-05/1.034, allocations: 19.72 kB / 1.102 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/1.034, allocations: 8.453 kB / 1.102 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001457/1.034, allocations: 130.1 kB / 1.102 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001249/1.036, allocations: 23.94 kB / 1.103 GB, free: 13.52 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0001583/1.036, allocations: 107.2 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003802/1.036, allocations: 107.9 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.036, allocations: 0 / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000198/1.036, allocations: 59.97 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003567/1.037, allocations: 18.77 kB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008199/1.038, allocations: 224.4 kB / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005311/1.038, allocations: 0.7503 MB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of SimCode: time 8.71e-07/1.038, allocations: 0 / 1.104 GB, free: 12.2 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe 2>&1)