Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay,fileNamePrefix="Buildings_6_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 loadModel(Buildings): time 4.315/4.315, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5805/4.895, allocations: 104.3 MB / 0.5319 GB, free: 12.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/5.14, allocations: 98.74 MB / 0.6283 GB, free: 9.805 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2505/5.391, allocations: 124.3 MB / 0.7497 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003042/5.391, allocations: 75.59 kB / 0.7498 GB, free: 13.26 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.02564/5.417, allocations: 4.792 MB / 0.7544 GB, free: 8.414 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/5.417, allocations: 8 kB / 0.7545 GB, free: 8.406 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002582/5.417, allocations: 67.52 kB / 0.7545 GB, free: 8.34 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002771/5.417, allocations: 206.2 kB / 0.7547 GB, free: 8.102 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-05/5.417, allocations: 27.95 kB / 0.7547 GB, free: 8.074 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002005/5.418, allocations: 71.95 kB / 0.7548 GB, free: 8.004 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008839/5.418, allocations: 213 kB / 0.755 GB, free: 7.793 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/5.42, allocations: 425.4 kB / 0.7554 GB, free: 7.367 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/5.42, allocations: 4 kB / 0.7554 GB, free: 7.363 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000174/5.42, allocations: 19.95 kB / 0.7554 GB, free: 7.344 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.055e-05/5.42, allocations: 4 kB / 0.7554 GB, free: 7.34 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002857/5.423, allocations: 0.9467 MB / 0.7564 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/5.425, allocations: 0.579 MB / 0.7569 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008965/5.426, allocations: 281.7 kB / 0.7572 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/5.426, allocations: 4 kB / 0.7572 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001588/5.427, allocations: 0.5999 MB / 0.7578 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=100): time 4.098e-06/5.427, allocations: 0 / 0.7578 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of matching and sorting (n=100): time 0.0025/5.43, allocations: 0.7891 MB / 0.7586 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001352/5.43, allocations: 93.97 kB / 0.7587 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003532/5.43, allocations: 220.8 kB / 0.7589 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001294/5.431, allocations: 45.69 kB / 0.7589 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/5.431, allocations: 122 kB / 0.759 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002557/5.431, allocations: 193.5 kB / 0.7592 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.566e-05/5.431, allocations: 4 kB / 0.7592 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001994/5.431, allocations: 370.7 kB / 0.7596 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000622/5.432, allocations: 174.6 kB / 0.7597 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009996/5.433, allocations: 0.5177 MB / 0.7602 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009519/5.434, allocations: 227.8 kB / 0.7605 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.381e-05/5.434, allocations: 7.938 kB / 0.7605 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002921/5.437, allocations: 0.6965 MB / 0.7611 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.162e-05/5.437, allocations: 6.812 kB / 0.7612 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.09e-05/5.437, allocations: 12 kB / 0.7612 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.564e-05/5.437, allocations: 20 kB / 0.7612 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/5.438, allocations: 123.6 kB / 0.7613 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.838e-05/5.438, allocations: 28.48 kB / 0.7613 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002091/5.44, allocations: 83.55 kB / 0.7614 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003915/5.441, allocations: 52 kB / 0.7615 GB, free: 0.8828 MB / 0.6355 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.000712/5.442, allocations: 201 kB / 0.7617 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003252/5.442, allocations: 79.31 kB / 0.7617 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002227/5.442, allocations: 39.41 kB / 0.7618 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.252e-05/5.442, allocations: 8 kB / 0.7618 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/5.442, allocations: 0 / 0.7618 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.694e-05/5.442, allocations: 11.97 kB / 0.7618 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007857/5.45, allocations: 1.782 MB / 0.7635 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-05/5.45, allocations: 0 / 0.7635 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/5.45, allocations: 27.86 kB / 0.7635 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.647e-05/5.45, allocations: 4 kB / 0.7636 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002744/5.451, allocations: 27.95 kB / 0.7636 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-05/5.451, allocations: 4 kB / 0.7636 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.187e-06/5.451, allocations: 0 / 0.7636 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003634/5.454, allocations: 0.9946 MB / 0.7646 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003124/5.458, allocations: 1.37 MB / 0.7659 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001765/5.458, allocations: 116.5 kB / 0.766 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002369/5.458, allocations: 27.95 kB / 0.766 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000944/5.459, allocations: 71.83 kB / 0.7661 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004066/5.46, allocations: 96.62 kB / 0.7662 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002847/5.46, allocations: 83.94 kB / 0.7663 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0002671/5.46, allocations: 145.2 kB / 0.7664 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0027/5.463, allocations: 176 kB / 0.7666 GB, free: 11.48 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.0006038/5.464, allocations: 171.5 kB / 0.7667 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002238/5.466, allocations: 0.6807 MB / 0.7674 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/5.466, allocations: 0 / 0.7674 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001432/5.467, allocations: 0.5695 MB / 0.768 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000709/5.468, allocations: 46.27 kB / 0.768 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005361/5.473, allocations: 0.7926 MB / 0.7688 GB, free: 9.207 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001351/5.475, allocations: 0.887 MB / 0.7696 GB, free: 8.289 MB / 0.6511 GB Notification: Performance of SimCode: time 2.916e-06/5.475, allocations: 0 / 0.7696 GB, free: 8.289 MB / 0.6511 GB