Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.574/2.574, allocations: 253.1 MB / 260.4 MB, free: 7.57 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001789/0.001789, allocations: 181.2 kB / 319.6 MB, free: 3.32 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.177/2.177, allocations: 205.4 MB / 0.5704 GB, free: 15.05 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001832/0.001832, allocations: 91.39 kB / 0.6746 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.71e-05/1.721e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2329, allocations: 106.2 MB / 0.8881 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7007/0.9336, allocations: 131.4 MB / 1.016 GB, free: 6.93 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/0.934, allocations: 69.77 kB / 1.016 GB, free: 6.891 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.007249/0.9413, allocations: 1.145 MB / 1.018 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.824e-05/0.9414, allocations: 8 kB / 1.018 GB, free: 5.867 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001138/0.9425, allocations: 455.5 kB / 1.018 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/0.9426, allocations: 11.97 kB / 1.018 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.733e-05/0.9427, allocations: 11.81 kB / 1.018 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003237/0.943, allocations: 209.7 kB / 1.018 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-06/0.943, allocations: 3.938 kB / 1.018 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.779e-05/0.9431, allocations: 4 kB / 1.018 GB, free: 5.117 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003681/0.9435, allocations: 102.1 kB / 1.018 GB, free: 5.043 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002735/0.9437, allocations: 108.8 kB / 1.018 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.9438, allocations: 3.906 kB / 1.018 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.9438, allocations: 4 kB / 1.018 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.9438, allocations: 0 / 1.018 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001386/0.9452, allocations: 0.492 MB / 1.019 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003443/0.9456, allocations: 121.7 kB / 1.019 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.9458, allocations: 63.34 kB / 1.019 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.9458, allocations: 0 / 1.019 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/0.9459, allocations: 38.5 kB / 1.019 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.804e-06/0.9459, allocations: 0 / 1.019 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0004764/0.9464, allocations: 132.6 kB / 1.019 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.9464, allocations: 77.11 kB / 1.019 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.9466, allocations: 146.5 kB / 1.02 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.9467, allocations: 29.7 kB / 1.02 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.326e-05/0.9467, allocations: 92.02 kB / 1.02 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.253e-05/0.9468, allocations: 30.73 kB / 1.02 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.113e-05/0.9468, allocations: 3.938 kB / 1.02 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.947, allocations: 322.8 kB / 1.02 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.9471, allocations: 41.36 kB / 1.02 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/0.9473, allocations: 59.25 kB / 1.02 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.9474, allocations: 45.88 kB / 1.02 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.9474, allocations: 4 kB / 1.02 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000394/0.9478, allocations: 130.6 kB / 1.02 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.9479, allocations: 7.984 kB / 1.02 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.9479, allocations: 4 kB / 1.02 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.9479, allocations: 0 / 1.02 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004712/0.9484, allocations: 47.91 kB / 1.02 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.9484, allocations: 0 / 1.02 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003206/0.9488, allocations: 39.84 kB / 1.02 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/0.9488, allocations: 4 kB / 1.02 GB, free: 3.07 MB / 0.6355 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 0.0001087/0.9489, allocations: 105.9 kB / 1.02 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.268e-05/0.949, allocations: 15.89 kB / 1.02 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.658e-05/0.9491, allocations: 14.56 kB / 1.02 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.9491, allocations: 0 / 1.02 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.9491, allocations: 7.906 kB / 1.02 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.9491, allocations: 0 / 1.02 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004318/0.9496, allocations: 207.2 kB / 1.021 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.9496, allocations: 0 / 1.021 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006417/0.9503, allocations: 47.91 kB / 1.021 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.191e-05/0.9503, allocations: 0 / 1.021 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.174e-05/0.9504, allocations: 7.984 kB / 1.021 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.437e-05/0.9504, allocations: 7.906 kB / 1.021 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.9504, allocations: 0 / 1.021 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008211/0.9512, allocations: 316.9 kB / 1.021 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.9514, allocations: 92.94 kB / 1.021 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.998e-05/0.9515, allocations: 0 / 1.021 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007502/0.9522, allocations: 38.41 kB / 1.021 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.9524, allocations: 11.05 kB / 1.021 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.9524, allocations: 0 / 1.021 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0002243/0.9527, allocations: 121.3 kB / 1.021 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007501/0.9534, allocations: 16 kB / 1.021 GB, free: 2.066 MB / 0.6355 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.0003224/0.9538, allocations: 105.7 kB / 1.021 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006355/0.9544, allocations: 95.72 kB / 1.022 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.9545, allocations: 4 kB / 1.022 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003741/0.9549, allocations: 57.16 kB / 1.022 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008426/0.9558, allocations: 13.75 kB / 1.022 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.9571, allocations: 180.5 kB / 1.022 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008915/0.958, allocations: 0.7305 MB / 1.022 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of SimCode: time 1.169e-05/0.9581, allocations: 0 / 1.022 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of Templates: time 0.008529/0.9666, allocations: 1.196 MB / 1.024 GB, free: 15.72 MB / 0.6511 GB