Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Validation.MultiSum,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.316/1.316, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.0009158/0.0009158, allocations: 181.2 kB / 361.1 MB, free: 7.09 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.01/1.01, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0007621/0.0007623, allocations: 90.3 kB / 0.7325 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1745/0.1753, allocations: 121.5 MB / 0.8512 GB, free: 2.871 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4038/0.5792, allocations: 115.3 MB / 0.9638 GB, free: 78.07 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1304/0.7096, allocations: 136.9 MB / 1.097 GB, free: 3.062 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001889/0.7098, allocations: 68.66 kB / 1.098 GB, free: 2.996 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.006127/0.716, allocations: 2.251 MB / 1.1 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.716, allocations: 13.19 kB / 1.1 GB, free: 0.75 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.391e-05/0.7161, allocations: 19.72 kB / 1.1 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001902/0.7163, allocations: 222.7 kB / 1.1 GB, free: 484 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.614e-06/0.7163, allocations: 0 / 1.1 GB, free: 484 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.7163, allocations: 8.562 kB / 1.1 GB, free: 476 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000219/0.7165, allocations: 108 kB / 1.1 GB, free: 368 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.7167, allocations: 121.3 kB / 1.1 GB, free: 244 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.7167, allocations: 0 / 1.1 GB, free: 244 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.7167, allocations: 1.406 kB / 1.1 GB, free: 244 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.7168, allocations: 8.656 kB / 1.1 GB, free: 236 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009399/0.7177, allocations: 0.5223 MB / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.7178, allocations: 94.55 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.837e-05/0.7179, allocations: 56.84 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.718, allocations: 0 / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.718, allocations: 42.55 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.442e-06/0.718, allocations: 0.5156 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0002631/0.7183, allocations: 138.5 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.234e-05/0.7183, allocations: 55.41 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.7184, allocations: 153.5 kB / 1.101 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.7184, allocations: 25.7 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.235e-05/0.7185, allocations: 104 kB / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.7185, allocations: 27.56 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.115e-06/0.7185, allocations: 0 / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.2e-05/0.7186, allocations: 326.8 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.327e-05/0.7187, allocations: 43.97 kB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.342e-05/0.7188, allocations: 49.02 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.966e-05/0.7189, allocations: 51.91 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.7189, allocations: 10.06 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002019/0.7191, allocations: 141.5 kB / 1.102 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.7191, allocations: 4 kB / 1.102 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.7191, allocations: 3.906 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.755e-06/0.7191, allocations: 0 / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002978/0.7194, allocations: 63.89 kB / 1.102 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.7194, allocations: 3.938 kB / 1.102 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002142/0.7196, allocations: 59.89 kB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.7197, allocations: 0 / 1.102 GB, free: 14.18 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 6.023e-05/0.7197, allocations: 101 kB / 1.102 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.127e-05/0.7198, allocations: 16.47 kB / 1.102 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.398e-05/0.7198, allocations: 29.3 kB / 1.102 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.7198, allocations: 0 / 1.102 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.7198, allocations: 0 / 1.102 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.7199, allocations: 4 kB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.72, allocations: 218.1 kB / 1.102 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.7201, allocations: 4 kB / 1.102 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002625/0.7203, allocations: 64.58 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.7203, allocations: 11.84 kB / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.7204, allocations: 0 / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.7204, allocations: 0 / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.7204, allocations: 0 / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002355/0.7206, allocations: 244.6 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003191/0.7209, allocations: 0.6051 MB / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.57e-05/0.721, allocations: 90.23 kB / 1.103 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.721, allocations: 0 / 1.103 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002446/0.7213, allocations: 55.95 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.126e-05/0.7213, allocations: 12.5 kB / 1.104 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.7213, allocations: 3.906 kB / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.375e-05/0.7214, allocations: 127.7 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007484/0.7222, allocations: 27.88 kB / 1.104 GB, free: 12.5 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.000109/0.7223, allocations: 107 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001922/0.7225, allocations: 111.9 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.7225, allocations: 0 / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.838e-05/0.7226, allocations: 65.28 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.7228, allocations: 19.53 kB / 1.104 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004604/0.7233, allocations: 228.4 kB / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003029/0.7236, allocations: 0.7464 MB / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.7236, allocations: 0 / 1.105 GB, free: 11.17 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe 2>&1)