Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.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.Logical.Validation.TrueDelay,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_TrueDelay",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.168/2.168, allocations: 248.6 MB / 255.9 MB, free: 7.133 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.002448/0.002447, allocations: 186.8 kB / 315.1 MB, free: 4.277 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.01/2.01, allocations: 205.1 MB / 0.5658 GB, free: 288 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.001736/0.001736, allocations: 95.27 kB / 0.67 GB, free: 5.492 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5001/0.5019, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.7352, allocations: 106.2 MB / 0.8835 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7576/1.493, allocations: 132.3 MB / 1.013 GB, free: 7.879 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/1.493, allocations: 72.08 kB / 1.013 GB, free: 7.84 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.03097/1.524, allocations: 4.792 MB / 1.017 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/1.524, allocations: 8 kB / 1.017 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003261/1.525, allocations: 67.45 kB / 1.017 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002945/1.525, allocations: 205.5 kB / 1.018 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/1.525, allocations: 31.02 kB / 1.018 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000242/1.525, allocations: 71.86 kB / 1.018 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008837/1.526, allocations: 205.2 kB / 1.018 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/1.527, allocations: 429.6 kB / 1.018 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/1.527, allocations: 0 / 1.018 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/1.528, allocations: 23.95 kB / 1.018 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/1.528, allocations: 4 kB / 1.018 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002875/1.531, allocations: 0.9522 MB / 1.019 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001762/1.532, allocations: 0.5826 MB / 1.02 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009552/1.533, allocations: 290.6 kB / 1.02 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/1.533, allocations: 8 kB / 1.02 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002002/1.535, allocations: 0.5938 MB / 1.021 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=100): time 5.911e-06/1.535, allocations: 0 / 1.021 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of matching and sorting (n=100): time 0.002523/1.538, allocations: 0.79 MB / 1.022 GB, free: 248 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/1.538, allocations: 97.28 kB / 1.022 GB, free: 136 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003968/1.539, allocations: 227.6 kB / 1.022 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001487/1.539, allocations: 40.7 kB / 1.022 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/1.539, allocations: 115.1 kB / 1.022 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002682/1.539, allocations: 197.2 kB / 1.022 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.242e-05/1.539, allocations: 0 / 1.022 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002229/1.539, allocations: 371.9 kB / 1.023 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007171/1.54, allocations: 176 kB / 1.023 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009397/1.541, allocations: 0.5147 MB / 1.023 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007011/1.542, allocations: 229 kB / 1.023 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.18e-05/1.542, allocations: 4 kB / 1.023 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002152/1.544, allocations: 0.7004 MB / 1.024 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/1.544, allocations: 4 kB / 1.024 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.844e-05/1.544, allocations: 12 kB / 1.024 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.997e-05/1.544, allocations: 20 kB / 1.024 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/1.545, allocations: 129.3 kB / 1.024 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.485e-05/1.546, allocations: 23.94 kB / 1.024 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/1.547, allocations: 84.05 kB / 1.024 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001486/1.547, allocations: 50.06 kB / 1.024 GB, free: 13.53 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 134 ($PRE.onDelay0.u,$PRE.onDelay1.u,$PRE.onDelay2.u,$PRE.onDelay4.u,$PRE.onDelay5.u,$PRE.onDelay6.u,$PRE.onDelay3.u,$PRE.onDelay7.u,$PRE.onDelay00.u,$PRE.onDelay11.u,$PRE.onDelay22.u,$PRE.onDelay44.u,$PRE.onDelay55.u,$PRE.onDelay66.u,$PRE.onDelay33.u,$PRE.onDelay77.u,$whenCondition50,$whenCondition47,$PRE.onDelay7.t_next,$whenCondition44,$PRE.onDelay3.t_next,$whenCondition41,$PRE.onDelay6.t_next,$whenCondition38,$PRE.onDelay5.t_next,$whenCondition35,$PRE.onDelay4.t_next,$whenCondition32,$PRE.onDelay2.t_next,$whenCondition29,$PRE.onDelay1.t_next,$whenCondition26,$PRE.onDelay0.t_next,onDelay7.t_next,onDelay3.t_next,onDelay6.t_next,onDelay5.t_next,onDelay4.t_next,onDelay2.t_next,onDelay1.t_next,$whenCondition48,$whenCondition49,$whenCondition45,$whenCondition46,$whenCondition42,$whenCondition43,$whenCondition39,$whenCondition40,$whenCondition36,$whenCondition37,$whenCondition33,$whenCondition34,$whenCondition30,$whenCondition31,$whenCondition27,$whenCondition28,onDelay0.u,onDelay0.y,onDelay1.u,onDelay1.y,onDelay2.u,onDelay2.y,onDelay4.u,onDelay4.y,onDelay5.u,onDelay5.y,onDelay6.u,onDelay6.y,onDelay3.u,onDelay3.y,onDelay7.u,onDelay7.y,$PRE.booPul.pulseStart,booPul.pulseStart,onDelay0.t_next,$whenCondition25,$whenCondition22,$PRE.onDelay77.t_next,$whenCondition19,$PRE.onDelay33.t_next,$whenCondition16,$PRE.onDelay66.t_next,$whenCondition13,$PRE.onDelay55.t_next,$whenCondition10,$PRE.onDelay44.t_next,$whenCondition7,$PRE.onDelay22.t_next,$whenCondition4,$PRE.onDelay11.t_next,$whenCondition1,$PRE.onDelay00.t_next,onDelay77.t_next,onDelay33.t_next,onDelay66.t_next,onDelay55.t_next,onDelay44.t_next,onDelay22.t_next,onDelay11.t_next,$whenCondition23,$whenCondition24,$whenCondition20,$whenCondition21,$whenCondition17,$whenCondition18,$whenCondition14,$whenCondition15,$whenCondition11,$whenCondition12,$whenCondition8,$whenCondition9,$whenCondition5,$whenCondition6,$whenCondition2,$whenCondition3,onDelay00.u,onDelay00.y,onDelay11.u,onDelay11.y,onDelay22.u,onDelay22.y,onDelay44.u,onDelay44.y,onDelay55.u,onDelay55.y,onDelay66.u,onDelay66.y,onDelay33.u,onDelay33.y,onDelay77.u,onDelay77.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,onDelay00.t_next) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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.0005459/1.547, allocations: 198.9 kB / 1.025 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000219/1.548, allocations: 71.41 kB / 1.025 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001574/1.548, allocations: 44.7 kB / 1.025 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.739e-05/1.548, allocations: 11.91 kB / 1.025 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/1.548, allocations: 0 / 1.025 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.95e-05/1.548, allocations: 7.984 kB / 1.025 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004875/1.553, allocations: 1.784 MB / 1.026 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-06/1.553, allocations: 3.938 kB / 1.026 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/1.553, allocations: 27.73 kB / 1.027 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.042e-05/1.553, allocations: 7.984 kB / 1.027 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001218/1.553, allocations: 26.95 kB / 1.027 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.678e-06/1.553, allocations: 4 kB / 1.027 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/1.553, allocations: 0 / 1.027 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002367/1.556, allocations: 0.9928 MB / 1.028 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002619/1.558, allocations: 1.37 MB / 1.029 GB, free: 9.668 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001955/1.559, allocations: 116.5 kB / 1.029 GB, free: 9.535 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002598/1.559, allocations: 27.25 kB / 1.029 GB, free: 9.512 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009424/1.56, allocations: 71.22 kB / 1.029 GB, free: 9.445 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002917/1.56, allocations: 92.89 kB / 1.029 GB, free: 9.367 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001465/1.56, allocations: 80.08 kB / 1.029 GB, free: 9.309 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0002049/1.56, allocations: 144.8 kB / 1.029 GB, free: 9.184 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002049/1.562, allocations: 174.9 kB / 1.03 GB, free: 9.016 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 100 (onDelay00.u,onDelay11.u,onDelay22.u,onDelay33.u,onDelay44.u,onDelay55.u,onDelay66.u,onDelay77.u,$whenCondition25,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition19,$whenCondition20,$whenCondition21,$whenCondition16,$whenCondition17,$whenCondition18,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition1,$whenCondition2,$whenCondition3,onDelay00.y,onDelay00.t_next,onDelay11.y,onDelay11.t_next,onDelay22.y,onDelay22.t_next,onDelay44.y,onDelay44.t_next,onDelay55.y,onDelay55.t_next,onDelay66.y,onDelay66.t_next,onDelay33.y,onDelay33.t_next,onDelay77.y,onDelay77.t_next,booPul1.pulseStart,onDelay0.u,onDelay1.u,onDelay2.u,onDelay3.u,onDelay4.u,onDelay5.u,onDelay6.u,onDelay7.u,$whenCondition50,$whenCondition47,$whenCondition48,$whenCondition49,$whenCondition44,$whenCondition45,$whenCondition46,$whenCondition41,$whenCondition42,$whenCondition43,$whenCondition38,$whenCondition39,$whenCondition40,$whenCondition35,$whenCondition36,$whenCondition37,$whenCondition32,$whenCondition33,$whenCondition34,$whenCondition29,$whenCondition30,$whenCondition31,$whenCondition26,$whenCondition27,$whenCondition28,onDelay0.y,onDelay0.t_next,onDelay1.y,onDelay1.t_next,onDelay2.y,onDelay2.t_next,onDelay4.y,onDelay4.t_next,onDelay5.y,onDelay5.t_next,onDelay6.y,onDelay6.t_next,onDelay3.y,onDelay3.t_next,onDelay7.y,onDelay7.t_next,booPul.pulseStart) * Number of discrete states: 16 (onDelay7.t_next,onDelay3.t_next,onDelay6.t_next,onDelay5.t_next,onDelay4.t_next,onDelay2.t_next,onDelay1.t_next,onDelay0.t_next,onDelay77.t_next,onDelay33.t_next,onDelay66.t_next,onDelay55.t_next,onDelay44.t_next,onDelay22.t_next,onDelay11.t_next,onDelay00.t_next) * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 34 * 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.0004745/1.563, allocations: 169.5 kB / 1.03 GB, free: 8.852 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002164/1.565, allocations: 0.6795 MB / 1.03 GB, free: 8.355 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.292e-05/1.565, allocations: 4 kB / 1.03 GB, free: 8.352 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001446/1.567, allocations: 0.5679 MB / 1.031 GB, free: 7.992 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007205/1.567, allocations: 48.88 kB / 1.031 GB, free: 7.953 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003422/1.571, allocations: 0.789 MB / 1.032 GB, free: 7.285 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008022/1.572, allocations: 0.8943 MB / 1.033 GB, free: 6.367 MB / 0.6511 GB Notification: Performance of SimCode: time 1.613e-06/1.572, allocations: 0 / 1.033 GB, free: 6.367 MB / 0.6511 GB