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.MatrixMax.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.MatrixMax,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.303/1.303, allocations: 285.5 MB / 292.8 MB, free: 10.41 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.0008989/0.000899, allocations: 189.2 kB / 361.1 MB, free: 7.094 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.995/0.995, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0007628/0.0007629, allocations: 97.89 kB / 0.7326 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1726/0.1734, allocations: 121.5 MB / 0.8512 GB, free: 2.859 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4047/0.5781, allocations: 115.3 MB / 0.9638 GB, free: 78.05 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1251/0.7032, allocations: 136.6 MB / 1.097 GB, free: 3.301 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001948/0.7035, allocations: 61.73 kB / 1.097 GB, free: 3.242 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.005228/0.7087, allocations: 2.407 MB / 1.1 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.7088, allocations: 8.656 kB / 1.1 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.864e-05/0.7088, allocations: 24.44 kB / 1.1 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.7091, allocations: 262.6 kB / 1.1 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.7091, allocations: 8.531 kB / 1.1 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.761e-05/0.7091, allocations: 13.8 kB / 1.1 GB, free: 0.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002765/0.7094, allocations: 220.9 kB / 1.1 GB, free: 296 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003568/0.7098, allocations: 310.5 kB / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.7098, allocations: 1.609 kB / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.7098, allocations: 4 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.7098, allocations: 4.5 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.7109, allocations: 1.283 MB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.992e-05/0.711, allocations: 175.7 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.688e-05/0.711, allocations: 88.06 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.711, allocations: 80.36 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.7111, allocations: 105.8 kB / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.7111, allocations: 0 / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 6.7e-05/0.7112, allocations: 37.52 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.295e-05/0.7112, allocations: 51.41 kB / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.7114, allocations: 235 kB / 1.102 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.7114, allocations: 25.7 kB / 1.102 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.531e-05/0.7115, allocations: 175.4 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.864e-06/0.7115, allocations: 3.938 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-06/0.7115, allocations: 0 / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.982e-05/0.7116, allocations: 326.8 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.511e-05/0.7117, allocations: 43.97 kB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.124e-05/0.7117, allocations: 97.91 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.059e-05/0.7118, allocations: 55.95 kB / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.7118, allocations: 0 / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002304/0.7121, allocations: 165.4 kB / 1.103 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.7121, allocations: 7.906 kB / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.7121, allocations: 0 / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.7121, allocations: 4 kB / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.79e-05/0.7122, allocations: 19.98 kB / 1.103 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.7122, allocations: 0 / 1.103 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.221e-05/0.7123, allocations: 23.92 kB / 1.103 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.7123, allocations: 4 kB / 1.103 GB, free: 12.83 MB / 0.7136 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 7.376e-05/0.7124, allocations: 192.4 kB / 1.103 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.974e-05/0.7125, allocations: 108.9 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.834e-05/0.7125, allocations: 123.1 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.192e-05/0.7126, allocations: 184.2 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.99e-05/0.7126, allocations: 180.3 kB / 1.104 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-05/0.7127, allocations: 184.9 kB / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002117/0.7129, allocations: 457.7 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.348e-05/0.7129, allocations: 101.6 kB / 1.105 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.431e-05/0.7129, allocations: 105.3 kB / 1.105 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.331e-05/0.713, allocations: 180.3 kB / 1.105 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.422e-05/0.713, allocations: 184.3 kB / 1.105 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.48e-05/0.7131, allocations: 188.2 kB / 1.105 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-05/0.7131, allocations: 176.3 kB / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001021/0.7133, allocations: 316.9 kB / 1.106 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001698/0.7134, allocations: 0.6828 MB / 1.107 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.284e-05/0.7135, allocations: 206.6 kB / 1.107 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.125e-05/0.7136, allocations: 180.3 kB / 1.107 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.933e-05/0.7136, allocations: 105 kB / 1.107 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.7137, allocations: 180.2 kB / 1.107 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.991e-05/0.7137, allocations: 109 kB / 1.107 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001238/0.7138, allocations: 184.2 kB / 1.107 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007752/0.7146, allocations: 47.62 kB / 1.107 GB, free: 8.305 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 (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.0001199/0.7148, allocations: 178.3 kB / 1.108 GB, free: 8.121 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001128/0.7149, allocations: 60.27 kB / 1.108 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.7149, allocations: 448 / 1.108 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.7149, allocations: 4 kB / 1.108 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.7152, allocations: 0.5431 MB / 1.108 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000428/0.7157, allocations: 334.5 kB / 1.109 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003134/0.716, allocations: 0.8015 MB / 1.109 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.716, allocations: 0 / 1.109 GB, free: 6.34 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe 2>&1)