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.FallingEdge.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.FallingEdge,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",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.127/4.127, allocations: 433 MB / 440.3 MB, free: 4.832 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5827/4.71, allocations: 104.3 MB / 0.5319 GB, free: 13.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/4.932, allocations: 98.73 MB / 0.6283 GB, free: 9.836 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2384/5.17, allocations: 123.9 MB / 0.7493 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004065/5.171, allocations: 75.59 kB / 0.7494 GB, free: 13.7 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.007153/5.178, allocations: 1.046 MB / 0.7504 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.014e-05/5.178, allocations: 12 kB / 0.7504 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.645e-05/5.178, allocations: 7.906 kB / 0.7504 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/5.179, allocations: 171 kB / 0.7506 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/5.179, allocations: 0 / 0.7506 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/5.179, allocations: 7.938 kB / 0.7506 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001609/5.179, allocations: 20 kB / 0.7506 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/5.179, allocations: 53.69 kB / 0.7506 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/5.179, allocations: 0 / 0.7506 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/5.179, allocations: 4 kB / 0.7506 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.467e-06/5.179, allocations: 3.906 kB / 0.7507 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007809/5.18, allocations: 285.2 kB / 0.7509 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002744/5.18, allocations: 42.62 kB / 0.751 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/5.18, allocations: 20.98 kB / 0.751 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/5.18, allocations: 0 / 0.751 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001699/5.181, allocations: 67.38 kB / 0.751 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 7.434e-06/5.181, allocations: 4.094 kB / 0.7511 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002567/5.181, allocations: 69.53 kB / 0.7511 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/5.181, allocations: 51.41 kB / 0.7512 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/5.181, allocations: 105.1 kB / 0.7513 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/5.181, allocations: 33.69 kB / 0.7513 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.805e-05/5.181, allocations: 88.23 kB / 0.7514 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/5.181, allocations: 11.81 kB / 0.7514 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.283e-06/5.181, allocations: 4 kB / 0.7514 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000129/5.181, allocations: 322.8 kB / 0.7517 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.711e-05/5.181, allocations: 12 kB / 0.7517 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.273e-05/5.181, allocations: 43.38 kB / 0.7518 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/5.182, allocations: 19.92 kB / 0.7518 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/5.182, allocations: 0 / 0.7518 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002066/5.182, allocations: 85.53 kB / 0.7519 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/5.182, allocations: 4 kB / 0.7519 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/5.182, allocations: 0 / 0.7519 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/5.182, allocations: 4 kB / 0.7519 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/5.182, allocations: 15.98 kB / 0.7519 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/5.182, allocations: 0 / 0.7519 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/5.182, allocations: 20.08 kB / 0.7519 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/5.182, allocations: 7.906 kB / 0.7519 GB, free: 10.88 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul.pulseStart,booPul.pulseStart,falEdg.y,$PRE.falEdg.not_u,falEdg.not_u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.103e-05/5.182, allocations: 112.9 kB / 0.752 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.063e-05/5.182, allocations: 3.906 kB / 0.752 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.656e-05/5.182, allocations: 12.36 kB / 0.752 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/5.183, allocations: 4 kB / 0.752 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/5.183, allocations: 0 / 0.752 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/5.183, allocations: 0 / 0.752 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004027/5.183, allocations: 303.1 kB / 0.7523 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/5.183, allocations: 0 / 0.7523 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/5.183, allocations: 15.98 kB / 0.7523 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/5.183, allocations: 4 kB / 0.7523 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/5.183, allocations: 4 kB / 0.7523 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/5.183, allocations: 0 / 0.7523 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.86e-06/5.183, allocations: 3.984 kB / 0.7524 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001955/5.183, allocations: 163.5 kB / 0.7525 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003069/5.184, allocations: 0.5316 MB / 0.753 GB, free: 9.637 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.471e-05/5.184, allocations: 81.11 kB / 0.7531 GB, free: 9.539 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.947e-05/5.184, allocations: 11.92 kB / 0.7531 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/5.184, allocations: 19.89 kB / 0.7531 GB, free: 9.508 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.415e-05/5.184, allocations: 11.98 kB / 0.7531 GB, free: 9.496 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/5.184, allocations: 0 / 0.7531 GB, free: 9.496 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.88e-05/5.184, allocations: 95.22 kB / 0.7532 GB, free: 9.402 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001158/5.185, allocations: 12 kB / 0.7532 GB, free: 9.391 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: 6 (falEdg.y,$whenCondition2,$whenCondition1,booPul.pulseStart,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.0001506/5.186, allocations: 106 kB / 0.7534 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001735/5.186, allocations: 43.94 kB / 0.7534 GB, free: 9.238 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/5.186, allocations: 0 / 0.7534 GB, free: 9.238 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.951e-05/5.186, allocations: 23.94 kB / 0.7534 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/5.186, allocations: 16.17 kB / 0.7534 GB, free: 9.199 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005413/5.187, allocations: 123.7 kB / 0.7535 GB, free: 9.051 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003369/5.187, allocations: 0.7036 MB / 0.7542 GB, free: 8.32 MB / 0.6355 GB Notification: Performance of SimCode: time 1.022e-06/5.187, allocations: 0 / 0.7542 GB, free: 8.32 MB / 0.6355 GB