Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin") [: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.361/1.361, allocations: 289.8 MB / 297.1 MB, free: 6.684 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.0009315/0.0009317, allocations: 184.8 kB / 366.3 MB, free: 1.992 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.023/1.023, allocations: 205.1 MB / 0.6256 GB, free: 7.441 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.0008111/0.0008111, allocations: 87.28 kB / 0.7396 GB, free: 39.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.327e-06/9.357e-06, allocations: 4 kB / 0.859 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4875/0.4875, allocations: 116.3 MB / 0.9726 GB, free: 76.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1472/0.6348, allocations: 137.6 MB / 1.107 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001905/0.635, allocations: 63.95 kB / 1.107 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.004993/0.64, allocations: 2.009 MB / 1.109 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.409e-05/0.64, allocations: 8 kB / 1.109 GB, free: 10.9 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0003864/0.6404, allocations: 459.3 kB / 1.109 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.6405, allocations: 8.031 kB / 1.109 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.385e-05/0.6405, allocations: 28.25 kB / 1.109 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/0.6408, allocations: 246.8 kB / 1.11 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.6408, allocations: 8.531 kB / 1.11 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.249e-05/0.6409, allocations: 18.72 kB / 1.11 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003002/0.6412, allocations: 212.8 kB / 1.11 GB, free: 9.855 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003836/0.6416, allocations: 325.1 kB / 1.11 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.6416, allocations: 3.938 kB / 1.11 GB, free: 9.508 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.6416, allocations: 4.5 kB / 1.11 GB, free: 9.504 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.6416, allocations: 8.516 kB / 1.11 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/0.6429, allocations: 1.361 MB / 1.112 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.721e-05/0.6429, allocations: 179.5 kB / 1.112 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.109e-05/0.643, allocations: 84.05 kB / 1.112 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.643, allocations: 79.28 kB / 1.112 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.334e-05/0.6431, allocations: 109.8 kB / 1.112 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.683e-06/0.6431, allocations: 0.8438 kB / 1.112 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 8.036e-05/0.6432, allocations: 37.61 kB / 1.112 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.6432, allocations: 51.41 kB / 1.112 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002156/0.6434, allocations: 238.9 kB / 1.112 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.6434, allocations: 29.64 kB / 1.112 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.097e-05/0.6435, allocations: 175.5 kB / 1.112 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.026e-06/0.6435, allocations: 4 kB / 1.112 GB, free: 7.043 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-06/0.6435, allocations: 0 / 1.112 GB, free: 7.043 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.6436, allocations: 326.7 kB / 1.113 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.575e-05/0.6437, allocations: 49 kB / 1.113 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.815e-05/0.6438, allocations: 96.7 kB / 1.113 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.372e-05/0.6439, allocations: 63.95 kB / 1.113 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.6439, allocations: 4 kB / 1.113 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002443/0.6441, allocations: 161.4 kB / 1.113 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.6442, allocations: 7.938 kB / 1.113 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.6442, allocations: 4 kB / 1.113 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.6442, allocations: 0 / 1.113 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.6443, allocations: 24.23 kB / 1.113 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.6443, allocations: 7.906 kB / 1.113 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.219e-05/0.6444, allocations: 19.92 kB / 1.113 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.6444, allocations: 4.75 kB / 1.113 GB, free: 6.254 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.436e-05/0.6445, allocations: 192.1 kB / 1.113 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.637e-05/0.6446, allocations: 108.9 kB / 1.113 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.465e-05/0.6446, allocations: 117.5 kB / 1.114 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.148e-05/0.6447, allocations: 188.2 kB / 1.114 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.367e-05/0.6448, allocations: 182.4 kB / 1.114 GB, free: 5.449 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.4e-05/0.6449, allocations: 184.2 kB / 1.114 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/0.6451, allocations: 457.7 kB / 1.115 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.127e-05/0.6452, allocations: 102.1 kB / 1.115 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.249e-05/0.6452, allocations: 105 kB / 1.115 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.202e-05/0.6453, allocations: 192.2 kB / 1.115 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.904e-05/0.6453, allocations: 180.3 kB / 1.115 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.981e-05/0.6454, allocations: 176.3 kB / 1.115 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-05/0.6454, allocations: 180.2 kB / 1.115 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001224/0.6455, allocations: 320.9 kB / 1.116 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.324e-05/0.6456, allocations: 201.8 kB / 1.116 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.038e-05/0.6457, allocations: 180.8 kB / 1.116 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.161e-05/0.6458, allocations: 105 kB / 1.116 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.77e-05/0.6459, allocations: 180.2 kB / 1.116 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.273e-05/0.6459, allocations: 101 kB / 1.117 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001339/0.6461, allocations: 200 kB / 1.117 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002511/0.6463, allocations: 39.69 kB / 1.117 GB, free: 2.438 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.0001456/0.6465, allocations: 175.2 kB / 1.117 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000114/0.6466, allocations: 67.89 kB / 1.117 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.6466, allocations: 0 / 1.117 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.71e-07/0.6466, allocations: 0.5 kB / 1.117 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.647, allocations: 0.5454 MB / 1.117 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000426/0.6474, allocations: 332.1 kB / 1.118 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003517/0.6478, allocations: 0.8055 MB / 1.119 GB, free: 472 kB / 0.7136 GB Notification: Performance of SimCode: time 2.1e-07/0.6478, allocations: 0 / 1.119 GB, free: 472 kB / 0.7136 GB Notification: Performance of Templates: time 0.002958/0.6507, allocations: 0.9867 MB / 1.12 GB, free: 15.52 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe 2>&1)