Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.375/1.375, allocations: 289.8 MB / 297.1 MB, free: 6.676 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.0009482/0.0009482, allocations: 181.2 kB / 366.3 MB, free: 1.984 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.121/1.121, allocations: 205.1 MB / 0.6256 GB, free: 7.449 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.0008094/0.0008094, allocations: 88.55 kB / 0.7396 GB, free: 39.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2111/0.212, allocations: 122.4 MB / 0.8591 GB, free: 13.45 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4882/0.7002, allocations: 116.3 MB / 0.9727 GB, free: 76.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1436/0.8439, allocations: 137.5 MB / 1.107 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001682/0.8441, allocations: 69.31 kB / 1.107 GB, free: 12.86 MB / 0.7136 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.005204/0.8493, allocations: 2.395 MB / 1.109 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.8494, allocations: 8 kB / 1.109 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.022e-05/0.8494, allocations: 28.33 kB / 1.109 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.8497, allocations: 262.2 kB / 1.11 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.8497, allocations: 4 kB / 1.11 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.8498, allocations: 12 kB / 1.11 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002868/0.8501, allocations: 216.7 kB / 1.11 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003474/0.8504, allocations: 319.7 kB / 1.11 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.8504, allocations: 0 / 1.11 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.8504, allocations: 0.75 kB / 1.11 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.8505, allocations: 8 kB / 1.11 GB, free: 9.555 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.8515, allocations: 1.283 MB / 1.111 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.549e-05/0.8516, allocations: 179.7 kB / 1.112 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.597e-05/0.8516, allocations: 80.14 kB / 1.112 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.177e-05/0.8517, allocations: 79.27 kB / 1.112 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.8517, allocations: 105.8 kB / 1.112 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.8517, allocations: 0 / 1.112 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 7.186e-05/0.8518, allocations: 46.27 kB / 1.112 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.975e-05/0.8518, allocations: 51.41 kB / 1.112 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002027/0.852, allocations: 233.7 kB / 1.112 GB, free: 7.402 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.326e-06/0.852, allocations: 25.7 kB / 1.112 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.258e-05/0.8521, allocations: 171.4 kB / 1.112 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-06/0.8521, allocations: 0 / 1.112 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.354e-06/0.8521, allocations: 0 / 1.112 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.732e-05/0.8522, allocations: 330.8 kB / 1.113 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.563e-05/0.8523, allocations: 48.53 kB / 1.113 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.083e-05/0.8524, allocations: 93.91 kB / 1.113 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.444e-05/0.8524, allocations: 55.95 kB / 1.113 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.8524, allocations: 4 kB / 1.113 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002339/0.8527, allocations: 157.4 kB / 1.113 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.8527, allocations: 11.91 kB / 1.113 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.8527, allocations: 0.75 kB / 1.113 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.8527, allocations: 4 kB / 1.113 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.906e-05/0.8528, allocations: 15.98 kB / 1.113 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.8528, allocations: 7.938 kB / 1.113 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.202e-05/0.8529, allocations: 20.2 kB / 1.113 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.8529, allocations: 12 kB / 1.113 GB, free: 6.418 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.382e-05/0.853, allocations: 184.2 kB / 1.113 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.948e-05/0.8531, allocations: 112.9 kB / 1.113 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.016e-05/0.8531, allocations: 122.2 kB / 1.114 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.717e-05/0.8532, allocations: 180.2 kB / 1.114 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.703e-05/0.8533, allocations: 184.2 kB / 1.114 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.474e-05/0.8533, allocations: 182.8 kB / 1.114 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002271/0.8535, allocations: 453.7 kB / 1.114 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-05/0.8536, allocations: 105 kB / 1.115 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.655e-05/0.8536, allocations: 109.3 kB / 1.115 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.477e-05/0.8536, allocations: 180.2 kB / 1.115 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.285e-05/0.8537, allocations: 185 kB / 1.115 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.144e-05/0.8538, allocations: 184.2 kB / 1.115 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.462e-05/0.8538, allocations: 176.3 kB / 1.115 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001192/0.8539, allocations: 320.9 kB / 1.116 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001807/0.8541, allocations: 0.6719 MB / 1.116 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.09e-05/0.8542, allocations: 209.8 kB / 1.117 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.407e-05/0.8543, allocations: 176.3 kB / 1.117 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.922e-05/0.8544, allocations: 109 kB / 1.117 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.409e-05/0.8544, allocations: 189 kB / 1.117 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.698e-05/0.8545, allocations: 101 kB / 1.117 GB, free: 2.129 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001322/0.8546, allocations: 192 kB / 1.117 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008518/0.8554, allocations: 39.69 kB / 1.117 GB, free: 1.902 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.0001237/0.8556, allocations: 174.5 kB / 1.117 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001049/0.8557, allocations: 72.19 kB / 1.118 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.8557, allocations: 0 / 1.118 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.8557, allocations: 0 / 1.118 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.8561, allocations: 0.5408 MB / 1.118 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004426/0.8565, allocations: 335.1 kB / 1.118 GB, free: 0.7539 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003398/0.8569, allocations: 0.7976 MB / 1.119 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of SimCode: time 2.31e-07/0.8569, allocations: 0 / 1.119 GB, free: 15.93 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe 2>&1)