Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.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.MatrixGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") [: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.347/1.347, 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.00106/0.00106, allocations: 173.3 kB / 366.3 MB, free: 2.004 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.075/1.075, allocations: 205.1 MB / 0.6256 GB, free: 7.445 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.0007721/0.0007721, allocations: 90.19 kB / 0.7395 GB, free: 39.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.789e-06/9.819e-06, allocations: 4 kB / 0.859 GB, free: 13.56 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.468/0.4681, allocations: 116.3 MB / 0.9726 GB, free: 76.69 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1425/0.6106, allocations: 137.7 MB / 1.107 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001887/0.6108, allocations: 67.95 kB / 1.107 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.003793/0.6146, allocations: 1.11 MB / 1.108 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.43e-05/0.6146, allocations: 10.75 kB / 1.108 GB, free: 11.62 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005878/0.6152, allocations: 446 kB / 1.109 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.6153, allocations: 8.031 kB / 1.109 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.204e-05/0.6153, allocations: 7.906 kB / 1.109 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.6156, allocations: 214.7 kB / 1.109 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.467e-06/0.6156, allocations: 0 / 1.109 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.6156, allocations: 4.938 kB / 1.109 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002099/0.6158, allocations: 99.94 kB / 1.109 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.616, allocations: 107.3 kB / 1.109 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.616, allocations: 0 / 1.109 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.616, allocations: 0 / 1.109 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.616, allocations: 4 kB / 1.109 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007838/0.6168, allocations: 0.4974 MB / 1.11 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.617, allocations: 121.1 kB / 1.11 GB, free: 9.98 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.348e-05/0.6171, allocations: 63.23 kB / 1.11 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.6171, allocations: 3.984 kB / 1.11 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.6172, allocations: 39.12 kB / 1.11 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.6172, allocations: 0 / 1.11 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0002687/0.6175, allocations: 125.5 kB / 1.11 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.6175, allocations: 77.11 kB / 1.11 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.6176, allocations: 147.3 kB / 1.11 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.6176, allocations: 25.7 kB / 1.11 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.546e-05/0.6177, allocations: 96.62 kB / 1.11 GB, free: 9.363 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/0.6177, allocations: 27.55 kB / 1.11 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-06/0.6177, allocations: 4 kB / 1.11 GB, free: 9.332 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.6178, allocations: 326.8 kB / 1.111 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.548e-05/0.6179, allocations: 39.98 kB / 1.111 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.397e-05/0.618, allocations: 57.7 kB / 1.111 GB, free: 8.902 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.725e-05/0.6181, allocations: 45.08 kB / 1.111 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.6181, allocations: 7.875 kB / 1.111 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001858/0.6183, allocations: 133.5 kB / 1.111 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.6183, allocations: 4 kB / 1.111 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.6183, allocations: 4 kB / 1.111 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.6183, allocations: 7.906 kB / 1.111 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/0.6186, allocations: 43.95 kB / 1.111 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.6186, allocations: 4 kB / 1.111 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.6187, allocations: 27.97 kB / 1.111 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.6188, allocations: 11.94 kB / 1.111 GB, free: 8.613 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 6.642e-05/0.6188, allocations: 101 kB / 1.111 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.955e-05/0.6189, allocations: 13.12 kB / 1.111 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.011e-05/0.6189, allocations: 20.11 kB / 1.111 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.6189, allocations: 4 kB / 1.111 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.619, allocations: 0 / 1.111 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.619, allocations: 1.25 kB / 1.111 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002208/0.6192, allocations: 202.1 kB / 1.111 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.6192, allocations: 0 / 1.111 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000192/0.6194, allocations: 43.97 kB / 1.111 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.6194, allocations: 0 / 1.111 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.6194, allocations: 0 / 1.111 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.6194, allocations: 8 kB / 1.111 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.6194, allocations: 0 / 1.111 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002412/0.6197, allocations: 321.5 kB / 1.112 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.834e-05/0.6197, allocations: 96.86 kB / 1.112 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/0.6198, allocations: 0.5625 kB / 1.112 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.62, allocations: 31.97 kB / 1.112 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.544e-05/0.62, allocations: 7.984 kB / 1.112 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.6201, allocations: 4 kB / 1.112 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.756e-05/0.6201, allocations: 128.1 kB / 1.112 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002416/0.6204, allocations: 16 kB / 1.112 GB, free: 7.547 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001263/0.6205, allocations: 98.28 kB / 1.112 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000175/0.6207, allocations: 103.9 kB / 1.112 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.6207, allocations: 0 / 1.112 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.445e-05/0.6208, allocations: 51.98 kB / 1.112 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.621, allocations: 24.95 kB / 1.112 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003914/0.6214, allocations: 182 kB / 1.112 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003142/0.6217, allocations: 0.7313 MB / 1.113 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of SimCode: time 2.01e-07/0.6217, allocations: 0 / 1.113 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of Templates: time 0.00294/0.6247, allocations: 1.182 MB / 1.114 GB, free: 5.172 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1)