Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.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.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_Discrete_Examples_BooleanDelay",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.307/4.307, allocations: 433 MB / 440.3 MB, free: 4.852 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5416/4.848, allocations: 104.3 MB / 0.5319 GB, free: 12.71 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/5.117, allocations: 98.72 MB / 0.6283 GB, free: 9.797 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2977/5.415, allocations: 124.3 MB / 0.7497 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003412/5.415, allocations: 75.59 kB / 0.7498 GB, free: 13.21 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.006018/5.421, allocations: 1.225 MB / 0.751 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/5.421, allocations: 8 kB / 0.751 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.46e-05/5.421, allocations: 7.906 kB / 0.751 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/5.422, allocations: 175 kB / 0.7512 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/5.422, allocations: 0 / 0.7512 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/5.422, allocations: 4 kB / 0.7512 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001165/5.422, allocations: 23.92 kB / 0.7512 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/5.422, allocations: 41.69 kB / 0.7512 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/5.422, allocations: 4 kB / 0.7512 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/5.422, allocations: 0 / 0.7512 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/5.422, allocations: 0 / 0.7512 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005378/5.423, allocations: 245.4 kB / 0.7515 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/5.423, allocations: 42.56 kB / 0.7515 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.291e-05/5.423, allocations: 16.98 kB / 0.7515 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.428e-05/5.423, allocations: 3.938 kB / 0.7515 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001632/5.423, allocations: 93.11 kB / 0.7516 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 2.284e-06/5.423, allocations: 0 / 0.7516 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0002804/5.423, allocations: 73.52 kB / 0.7517 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.307e-05/5.423, allocations: 93.11 kB / 0.7518 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/5.424, allocations: 97 kB / 0.7519 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/5.424, allocations: 33.64 kB / 0.7519 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.773e-05/5.424, allocations: 88.12 kB / 0.752 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/5.424, allocations: 19.72 kB / 0.752 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.863e-06/5.424, allocations: 0 / 0.752 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001247/5.424, allocations: 310.8 kB / 0.7523 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/5.424, allocations: 16 kB / 0.7523 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.789e-05/5.424, allocations: 38.56 kB / 0.7523 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.277e-05/5.424, allocations: 12 kB / 0.7524 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/5.424, allocations: 0 / 0.7524 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001887/5.424, allocations: 81.92 kB / 0.7524 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/5.424, allocations: 7.984 kB / 0.7524 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/5.424, allocations: 4.062 kB / 0.7524 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/5.424, allocations: 0 / 0.7524 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.282e-05/5.424, allocations: 8.062 kB / 0.7525 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/5.424, allocations: 7.984 kB / 0.7525 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/5.425, allocations: 4 kB / 0.7525 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/5.425, allocations: 7.938 kB / 0.7525 GB, free: 10.21 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.del.firstTrigger,del.firstTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.sampleTrigger,del.ySample,booleanPulse.y,$PRE.booleanPulse.pulsStart,booleanPulse.pulsStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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.0001366/5.425, allocations: 144.6 kB / 0.7526 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/5.425, allocations: 4 kB / 0.7526 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.659e-05/5.425, allocations: 12.38 kB / 0.7526 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/5.425, allocations: 3.906 kB / 0.7526 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/5.425, allocations: 0 / 0.7526 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/5.425, allocations: 0 / 0.7526 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005006/5.425, allocations: 323.1 kB / 0.7529 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/5.425, allocations: 0 / 0.7529 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.328e-05/5.425, allocations: 7.906 kB / 0.7529 GB, free: 9.664 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/5.425, allocations: 0 / 0.7529 GB, free: 9.664 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/5.425, allocations: 0 / 0.7529 GB, free: 9.664 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/5.425, allocations: 4 kB / 0.753 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/5.425, allocations: 4 kB / 0.753 GB, free: 9.656 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002326/5.426, allocations: 183.4 kB / 0.7531 GB, free: 9.461 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003672/5.426, allocations: 0.5427 MB / 0.7537 GB, free: 8.898 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.786e-05/5.426, allocations: 85.02 kB / 0.7537 GB, free: 8.797 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.556e-05/5.426, allocations: 7.938 kB / 0.7537 GB, free: 8.789 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/5.426, allocations: 15.98 kB / 0.7538 GB, free: 8.773 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.078e-05/5.426, allocations: 7.984 kB / 0.7538 GB, free: 8.766 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/5.427, allocations: 4 kB / 0.7538 GB, free: 8.762 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.294e-05/5.427, allocations: 83.28 kB / 0.7539 GB, free: 8.68 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001137/5.428, allocations: 16 kB / 0.7539 GB, free: 8.664 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: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulsStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0001523/5.428, allocations: 103.2 kB / 0.754 GB, free: 8.555 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002191/5.428, allocations: 77.64 kB / 0.754 GB, free: 8.473 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/5.428, allocations: 0 / 0.754 GB, free: 8.473 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001077/5.428, allocations: 57.7 kB / 0.7541 GB, free: 8.41 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/5.429, allocations: 16.61 kB / 0.7541 GB, free: 8.395 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003727/5.429, allocations: 91.64 kB / 0.7542 GB, free: 8.281 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003268/5.43, allocations: 0.7115 MB / 0.7549 GB, free: 7.543 MB / 0.6355 GB Notification: Performance of SimCode: time 8.72e-07/5.43, allocations: 0 / 0.7549 GB, free: 7.543 MB / 0.6355 GB