Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.Utilities.Validation.Assert,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",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.404/2.404, allocations: 248.6 MB / 255.9 MB, free: 7.141 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.002112/0.002111, allocations: 191.4 kB / 315.1 MB, free: 4.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.033/2.033, allocations: 205.2 MB / 0.5658 GB, free: 344 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.001435/0.001434, allocations: 83.41 kB / 0.67 GB, free: 5.566 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4704/0.4719, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.7098, allocations: 106.2 MB / 0.8835 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7269/1.437, allocations: 131.5 MB / 1.012 GB, free: 8.691 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/1.437, allocations: 78.12 kB / 1.012 GB, free: 8.648 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.002896/1.44, allocations: 0.6782 MB / 1.013 GB, free: 7.984 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.867e-05/1.44, allocations: 12 kB / 1.013 GB, free: 7.973 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.843e-05/1.44, allocations: 4.734 kB / 1.013 GB, free: 7.969 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/1.44, allocations: 167 kB / 1.013 GB, free: 7.766 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/1.44, allocations: 0 / 1.013 GB, free: 7.766 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/1.44, allocations: 6.125 kB / 1.013 GB, free: 7.762 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.976e-05/1.44, allocations: 11.38 kB / 1.013 GB, free: 7.754 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.818e-05/1.441, allocations: 41.44 kB / 1.013 GB, free: 7.711 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/1.441, allocations: 0 / 1.013 GB, free: 7.711 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/1.441, allocations: 0 / 1.013 GB, free: 7.711 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/1.441, allocations: 3.938 kB / 1.013 GB, free: 7.707 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004984/1.441, allocations: 240.2 kB / 1.013 GB, free: 7.441 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.247e-05/1.441, allocations: 26.39 kB / 1.013 GB, free: 7.41 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.614e-05/1.441, allocations: 12.86 kB / 1.013 GB, free: 7.395 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/1.441, allocations: 0 / 1.013 GB, free: 7.395 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.511e-05/1.441, allocations: 54.77 kB / 1.013 GB, free: 7.332 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.054e-06/1.441, allocations: 0 / 1.013 GB, free: 7.332 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001741/1.442, allocations: 48.53 kB / 1.013 GB, free: 7.281 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/1.442, allocations: 51.41 kB / 1.013 GB, free: 7.219 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.815e-05/1.442, allocations: 102.8 kB / 1.013 GB, free: 7.121 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/1.442, allocations: 25.7 kB / 1.013 GB, free: 7.09 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.996e-05/1.442, allocations: 80.14 kB / 1.013 GB, free: 7.008 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.789e-05/1.442, allocations: 7.891 kB / 1.013 GB, free: 7 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-06/1.442, allocations: 0 / 1.013 GB, free: 7 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001265/1.442, allocations: 322.2 kB / 1.014 GB, free: 6.68 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.387e-05/1.442, allocations: 4 kB / 1.014 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.972e-05/1.442, allocations: 21.47 kB / 1.014 GB, free: 6.652 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.527e-05/1.442, allocations: 0 / 1.014 GB, free: 6.652 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/1.442, allocations: 4 kB / 1.014 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000202/1.442, allocations: 48.72 kB / 1.014 GB, free: 6.598 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/1.442, allocations: 4 kB / 1.014 GB, free: 6.594 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/1.442, allocations: 4.031 kB / 1.014 GB, free: 6.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/1.442, allocations: 0 / 1.014 GB, free: 6.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.546e-05/1.443, allocations: 10.81 kB / 1.014 GB, free: 6.582 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/1.443, allocations: 3.984 kB / 1.014 GB, free: 6.578 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/1.443, allocations: 11.94 kB / 1.014 GB, free: 6.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/1.443, allocations: 0 / 1.014 GB, free: 6.57 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: 4 ($whenCondition1,assert.u,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001529/1.443, allocations: 101 kB / 1.014 GB, free: 6.465 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.29e-05/1.443, allocations: 11.91 kB / 1.014 GB, free: 6.453 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.367e-05/1.443, allocations: 7.062 kB / 1.014 GB, free: 6.449 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/1.443, allocations: 3.984 kB / 1.014 GB, free: 6.445 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/1.443, allocations: 0 / 1.014 GB, free: 6.445 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.662e-05/1.443, allocations: 4 kB / 1.014 GB, free: 6.441 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003393/1.444, allocations: 138.1 kB / 1.014 GB, free: 6.273 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/1.444, allocations: 3.906 kB / 1.014 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.076e-05/1.444, allocations: 0 / 1.014 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/1.444, allocations: 0 / 1.014 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/1.444, allocations: 0 / 1.014 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/1.444, allocations: 7.922 kB / 1.014 GB, free: 6.262 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.444, allocations: 4 kB / 1.014 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000273/1.444, allocations: 72.91 kB / 1.014 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003438/1.444, allocations: 451.7 kB / 1.015 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.277e-05/1.445, allocations: 81.02 kB / 1.015 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/1.445, allocations: 0 / 1.015 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/1.445, allocations: 12 kB / 1.015 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.868e-05/1.445, allocations: 3.984 kB / 1.015 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/1.445, allocations: 288 / 1.015 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.093e-05/1.445, allocations: 86.91 kB / 1.015 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001124/1.446, allocations: 7.906 kB / 1.015 GB, free: 5.512 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,assert.u,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001571/1.446, allocations: 99.23 kB / 1.015 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001157/1.446, allocations: 21.69 kB / 1.015 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/1.446, allocations: 4 kB / 1.015 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.374e-05/1.446, allocations: 7.344 kB / 1.015 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/1.447, allocations: 6.406 kB / 1.015 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002974/1.447, allocations: 71.11 kB / 1.015 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003555/1.447, allocations: 0.6954 MB / 1.016 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of SimCode: time 6.91e-07/1.447, allocations: 4.062 kB / 1.016 GB, free: 4.566 MB / 0.6355 GB