Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax",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 7.0.3-maint.7.0.x/package.mo): time 1.24/1.24, allocations: 249.4 MB / 256.7 MB, free: 7.043 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009693/0.0009693, allocations: 188.4 kB / 316 MB, free: 3.523 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.186/1.186, allocations: 205.2 MB / 0.5667 GB, free: 15.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008186/0.0008186, allocations: 86.33 kB / 0.671 GB, free: 4.777 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3365/0.3373, allocations: 112.5 MB / 0.7808 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.4941, allocations: 106.3 MB / 0.8847 GB, free: 12.51 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4462/0.9404, allocations: 131.5 MB / 1.013 GB, free: 6.977 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001924/0.9407, allocations: 66.55 kB / 1.013 GB, free: 6.941 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.005325/0.946, allocations: 2.407 MB / 1.015 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.946, allocations: 11.94 kB / 1.015 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.301e-05/0.9461, allocations: 23.72 kB / 1.015 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.9464, allocations: 268.7 kB / 1.016 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.9464, allocations: 8 kB / 1.016 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.809e-05/0.9464, allocations: 12 kB / 1.016 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002802/0.9467, allocations: 216.9 kB / 1.016 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003348/0.9471, allocations: 314.3 kB / 1.016 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.9471, allocations: 0 / 1.016 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.9471, allocations: 0 / 1.016 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.9471, allocations: 4 kB / 1.016 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/0.9482, allocations: 1.291 MB / 1.018 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.402e-05/0.9483, allocations: 171.7 kB / 1.018 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.6e-05/0.9483, allocations: 80.14 kB / 1.018 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.9483, allocations: 75.28 kB / 1.018 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.9484, allocations: 120.8 kB / 1.018 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.9484, allocations: 0 / 1.018 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 7.531e-05/0.9484, allocations: 37.52 kB / 1.018 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.377e-05/0.9485, allocations: 55.41 kB / 1.018 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.9487, allocations: 228.1 kB / 1.018 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.9487, allocations: 25.7 kB / 1.018 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.928e-05/0.9488, allocations: 163.9 kB / 1.018 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-06/0.9488, allocations: 8 kB / 1.018 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.101e-06/0.9488, allocations: 0 / 1.018 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.9489, allocations: 325.8 kB / 1.019 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.284e-05/0.949, allocations: 47.02 kB / 1.019 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.454e-05/0.9491, allocations: 92.03 kB / 1.019 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.284e-05/0.9491, allocations: 59.52 kB / 1.019 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.9492, allocations: 4 kB / 1.019 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002425/0.9494, allocations: 163.4 kB / 1.019 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.9494, allocations: 4.219 kB / 1.019 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.9494, allocations: 8.875 kB / 1.019 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.9494, allocations: 0 / 1.019 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.966e-05/0.9495, allocations: 19.98 kB / 1.019 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.9496, allocations: 4 kB / 1.019 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.151e-05/0.9496, allocations: 19.84 kB / 1.019 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.9497, allocations: 11.98 kB / 1.019 GB, free: 0.9805 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * 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 6.982e-05/0.9497, allocations: 180.2 kB / 1.019 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.062e-05/0.9498, allocations: 116.8 kB / 1.019 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.606e-05/0.9499, allocations: 120.5 kB / 1.02 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-05/0.9499, allocations: 187.8 kB / 1.02 GB, free: 380 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.542e-05/0.95, allocations: 176.3 kB / 1.02 GB, free: 196 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.485e-05/0.95, allocations: 176.3 kB / 1.02 GB, free: 12 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002365/0.9503, allocations: 464.5 kB / 1.021 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.433e-05/0.9503, allocations: 112.9 kB / 1.021 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.056e-05/0.9503, allocations: 105.3 kB / 1.021 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.068e-05/0.9504, allocations: 180.2 kB / 1.021 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.208e-05/0.9505, allocations: 180.3 kB / 1.021 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.293e-05/0.9505, allocations: 180.2 kB / 1.021 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.025e-05/0.9506, allocations: 188.2 kB / 1.021 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001051/0.9507, allocations: 312.2 kB / 1.022 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001999/0.9509, allocations: 0.6831 MB / 1.022 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.347e-05/0.951, allocations: 201.5 kB / 1.023 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.877e-05/0.9511, allocations: 188.1 kB / 1.023 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.74e-05/0.9512, allocations: 105 kB / 1.023 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.863e-05/0.9512, allocations: 176.3 kB / 1.023 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.964e-05/0.9512, allocations: 108.9 kB / 1.023 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001281/0.9514, allocations: 185.8 kB / 1.023 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008569/0.9522, allocations: 39.69 kB / 1.023 GB, free: 12.53 MB / 0.6511 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 (0): * Single equations (assignments): 0 * 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.000138/0.9524, allocations: 181.8 kB / 1.024 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001101/0.9525, allocations: 58.94 kB / 1.024 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.9525, allocations: 0 / 1.024 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.9525, allocations: 4 kB / 1.024 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.9529, allocations: 0.5368 MB / 1.024 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004626/0.9534, allocations: 325 kB / 1.024 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003458/0.9537, allocations: 0.8011 MB / 1.025 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of SimCode: time 1.843e-06/0.9537, allocations: 3.938 kB / 1.025 GB, free: 10.61 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe 2>&1)