Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin",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 7.0.1/package.mo): time 2.182/2.182, allocations: 248.6 MB / 255.9 MB, free: 7.184 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001665/0.001664, allocations: 176.1 kB / 315.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.91/1.91, allocations: 205.1 MB / 0.5658 GB, free: 292 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001274/0.001274, allocations: 94.69 kB / 0.67 GB, free: 5.496 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5348/0.5361, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.8163, allocations: 106.2 MB / 0.8835 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7519/1.568, allocations: 131.2 MB / 1.012 GB, free: 8.961 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002524/1.569, allocations: 66.08 kB / 1.012 GB, free: 8.926 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.00917/1.578, allocations: 2.478 MB / 1.014 GB, free: 6.668 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/1.578, allocations: 8 kB / 1.014 GB, free: 6.66 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.359e-05/1.578, allocations: 23.72 kB / 1.014 GB, free: 6.637 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004538/1.578, allocations: 264.8 kB / 1.014 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/1.578, allocations: 8 kB / 1.014 GB, free: 6.34 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.967e-05/1.579, allocations: 16 kB / 1.014 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000572/1.579, allocations: 212.8 kB / 1.015 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009882/1.58, allocations: 317.9 kB / 1.015 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/1.58, allocations: 3.938 kB / 1.015 GB, free: 5.867 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.334e-05/1.58, allocations: 4 kB / 1.015 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/1.58, allocations: 8 kB / 1.015 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002106/1.582, allocations: 1.367 MB / 1.016 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.935e-05/1.582, allocations: 175.6 kB / 1.016 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.617e-05/1.583, allocations: 84.14 kB / 1.017 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.499e-05/1.583, allocations: 75.28 kB / 1.017 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.898e-05/1.583, allocations: 105.8 kB / 1.017 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 2.454e-06/1.583, allocations: 0 / 1.017 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 0.0001132/1.583, allocations: 41.52 kB / 1.017 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/1.583, allocations: 51.41 kB / 1.017 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003833/1.583, allocations: 239.4 kB / 1.017 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/1.583, allocations: 29.7 kB / 1.017 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/1.583, allocations: 169.6 kB / 1.017 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.426e-06/1.583, allocations: 3.312 kB / 1.017 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.054e-05/1.583, allocations: 4 kB / 1.017 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001318/1.584, allocations: 321.8 kB / 1.018 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/1.584, allocations: 50.02 kB / 1.018 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/1.584, allocations: 98.08 kB / 1.018 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/1.584, allocations: 58.39 kB / 1.018 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/1.584, allocations: 0 / 1.018 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004366/1.584, allocations: 183.4 kB / 1.018 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/1.585, allocations: 4 kB / 1.018 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/1.585, allocations: 0 / 1.018 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/1.585, allocations: 7.938 kB / 1.018 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/1.585, allocations: 23.97 kB / 1.018 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/1.585, allocations: 4 kB / 1.018 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/1.585, allocations: 16.59 kB / 1.018 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.811e-05/1.585, allocations: 8.25 kB / 1.018 GB, free: 2.781 MB / 0.6355 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 0.0001215/1.585, allocations: 191.6 kB / 1.018 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.705e-05/1.585, allocations: 116.8 kB / 1.018 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.767e-05/1.585, allocations: 116.6 kB / 1.018 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.169e-05/1.585, allocations: 184.2 kB / 1.019 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-05/1.585, allocations: 176.3 kB / 1.019 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-05/1.586, allocations: 181.5 kB / 1.019 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004375/1.586, allocations: 464.9 kB / 1.019 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.197e-05/1.586, allocations: 109.3 kB / 1.019 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.007e-05/1.586, allocations: 101 kB / 1.02 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.212e-05/1.586, allocations: 184.2 kB / 1.02 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.697e-05/1.586, allocations: 184.2 kB / 1.02 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.289e-05/1.586, allocations: 180.3 kB / 1.02 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.582e-05/1.586, allocations: 180.2 kB / 1.02 GB, free: 376 kB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001809/1.587, allocations: 317 kB / 1.021 GB, free: 40 kB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003407/1.587, allocations: 0.6828 MB / 1.021 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001555/1.587, allocations: 197.3 kB / 1.021 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/1.587, allocations: 184.2 kB / 1.022 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/1.588, allocations: 108.9 kB / 1.022 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/1.588, allocations: 180.3 kB / 1.022 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.938e-05/1.588, allocations: 108.9 kB / 1.022 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0003009/1.588, allocations: 190.7 kB / 1.022 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001232/1.589, allocations: 35.75 kB / 1.022 GB, free: 14.32 MB / 0.6511 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.0002173/1.59, allocations: 177.8 kB / 1.022 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002404/1.59, allocations: 63.06 kB / 1.022 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/1.59, allocations: 4.062 kB / 1.022 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.206e-06/1.59, allocations: 0 / 1.022 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006045/1.59, allocations: 0.5406 MB / 1.023 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008741/1.591, allocations: 341 kB / 1.023 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006444/1.592, allocations: 0.7988 MB / 1.024 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of SimCode: time 1.573e-06/1.592, allocations: 0 / 1.024 GB, free: 12.38 MB / 0.6511 GB