Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.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.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") [: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.416/2.416, allocations: 253.1 MB / 260.4 MB, free: 7.449 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.001694/0.001694, allocations: 185.2 kB / 319.6 MB, free: 3.324 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.304/2.304, 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.001355/0.001354, allocations: 94.66 kB / 0.6746 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.109e-05/1.125e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2458, allocations: 106.3 MB / 0.8881 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7134/0.9593, allocations: 131.3 MB / 1.016 GB, free: 7.016 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/0.9597, allocations: 69.64 kB / 1.016 GB, free: 6.977 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.001847/0.9615, allocations: 275.8 kB / 1.017 GB, free: 6.754 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.847e-06/0.9616, allocations: 0 / 1.017 GB, free: 6.754 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000454/0.962, allocations: 331.3 kB / 1.017 GB, free: 6.387 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.9621, allocations: 8.031 kB / 1.017 GB, free: 6.379 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.948e-05/0.9621, allocations: 4 kB / 1.017 GB, free: 6.375 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.9624, allocations: 170.4 kB / 1.017 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.9624, allocations: 7.844 kB / 1.017 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/0.9624, allocations: 4 kB / 1.017 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.198e-05/0.9625, allocations: 4 kB / 1.017 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.013e-05/0.9626, allocations: 41.19 kB / 1.017 GB, free: 6.113 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.9626, allocations: 0 / 1.017 GB, free: 6.113 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.9626, allocations: 0 / 1.017 GB, free: 6.113 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.9626, allocations: 3.984 kB / 1.017 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001945/0.9628, allocations: 133.3 kB / 1.017 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.737e-05/0.9629, allocations: 22.27 kB / 1.017 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.281e-05/0.963, allocations: 8.922 kB / 1.017 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.963, allocations: 4 kB / 1.017 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.758e-05/0.9631, allocations: 54.94 kB / 1.017 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.625e-06/0.9631, allocations: 4 kB / 1.017 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001739/0.9633, allocations: 40.2 kB / 1.017 GB, free: 5.797 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.9634, allocations: 55.39 kB / 1.017 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.339e-05/0.9635, allocations: 92.38 kB / 1.018 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.9635, allocations: 29.7 kB / 1.018 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.959e-05/0.9635, allocations: 84.14 kB / 1.018 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/0.9636, allocations: 7.219 kB / 1.018 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.359e-06/0.9636, allocations: 0 / 1.018 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002095/0.9638, allocations: 314.8 kB / 1.018 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.446e-05/0.9638, allocations: 7.812 kB / 1.018 GB, free: 5.191 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.719e-05/0.9639, allocations: 17.66 kB / 1.018 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.765e-05/0.9639, allocations: 7.312 kB / 1.018 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.9639, allocations: 0 / 1.018 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001145/0.9641, allocations: 54 kB / 1.018 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.9641, allocations: 8 kB / 1.018 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.9641, allocations: 3.312 kB / 1.018 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.9641, allocations: 0 / 1.018 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.231e-05/0.9642, allocations: 4 kB / 1.018 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.9642, allocations: 3.938 kB / 1.018 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.9643, allocations: 7.984 kB / 1.018 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/0.9644, allocations: 8.031 kB / 1.018 GB, free: 5.078 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,booPul.y,$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 9.337e-05/0.9645, allocations: 108.8 kB / 1.018 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.311e-05/0.9645, allocations: 0 / 1.018 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.105e-05/0.9645, allocations: 7.688 kB / 1.018 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.9645, allocations: 0 / 1.018 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.9646, allocations: 3.938 kB / 1.018 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.9646, allocations: 0 / 1.018 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.9647, allocations: 141.9 kB / 1.018 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.9648, allocations: 0 / 1.018 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.945e-06/0.9648, allocations: 0 / 1.018 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.9648, allocations: 4 kB / 1.018 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.9648, allocations: 4 kB / 1.018 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.9648, allocations: 0 / 1.018 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.9648, allocations: 0 / 1.018 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000122/0.965, allocations: 76.09 kB / 1.018 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.843e-05/0.965, allocations: 81.14 kB / 1.019 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.9651, allocations: 0 / 1.019 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.949e-05/0.9652, allocations: 11.98 kB / 1.019 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.51e-05/0.9652, allocations: 7.906 kB / 1.019 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.9652, allocations: 0 / 1.019 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.773e-05/0.9653, allocations: 86.7 kB / 1.019 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002449/0.9656, allocations: 4 kB / 1.019 GB, free: 4.484 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,booPul.y,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.0001627/0.9657, allocations: 98.56 kB / 1.019 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001115/0.9659, allocations: 19.75 kB / 1.019 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.9659, allocations: 0 / 1.019 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.857e-05/0.9659, allocations: 15.5 kB / 1.019 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.9662, allocations: 10.64 kB / 1.019 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002755/0.9665, allocations: 67.2 kB / 1.019 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003636/0.9669, allocations: 0.6837 MB / 1.019 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of SimCode: time 6.91e-07/0.9669, allocations: 0 / 1.019 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of Templates: time 0.003245/0.9701, allocations: 473 kB / 1.02 GB, free: 3.102 MB / 0.6355 GB