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.Sources.Validation.Pulse.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.Sources.Validation.Pulse,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse",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.125/4.125, allocations: 433 MB / 440.3 MB, free: 4.801 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5332/4.659, allocations: 104.3 MB / 0.5319 GB, free: 13.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/4.888, allocations: 98.74 MB / 0.6283 GB, free: 9.734 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2446/5.132, allocations: 123.3 MB / 0.7488 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/5.133, allocations: 75.59 kB / 0.7488 GB, free: 14.15 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.002234/5.135, allocations: 0.5961 MB / 0.7494 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/5.135, allocations: 8 kB / 0.7494 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.337e-05/5.135, allocations: 0 / 0.7494 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/5.135, allocations: 178.9 kB / 0.7496 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/5.135, allocations: 4 kB / 0.7496 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/5.135, allocations: 0 / 0.7496 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.545e-05/5.135, allocations: 8 kB / 0.7496 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.292e-05/5.135, allocations: 29.7 kB / 0.7496 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/5.135, allocations: 3.984 kB / 0.7496 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/5.135, allocations: 4 kB / 0.7497 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/5.135, allocations: 0 / 0.7497 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001621/5.136, allocations: 142.1 kB / 0.7498 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.679e-05/5.136, allocations: 30.52 kB / 0.7498 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.175e-05/5.136, allocations: 16.92 kB / 0.7498 GB, free: 13 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.204e-06/5.136, allocations: 0 / 0.7498 GB, free: 13 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.35e-05/5.136, allocations: 43.41 kB / 0.7499 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.603e-06/5.136, allocations: 3.938 kB / 0.7499 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.000157/5.136, allocations: 45.64 kB / 0.7499 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/5.136, allocations: 51.41 kB / 0.75 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.508e-05/5.136, allocations: 96.98 kB / 0.7501 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/5.136, allocations: 29.7 kB / 0.7501 GB, free: 12.69 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.958e-05/5.136, allocations: 84.14 kB / 0.7502 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/5.136, allocations: 7.906 kB / 0.7502 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-06/5.136, allocations: 0 / 0.7502 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001175/5.136, allocations: 310.8 kB / 0.7505 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.254e-05/5.136, allocations: 4 kB / 0.7505 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.062e-05/5.136, allocations: 21.7 kB / 0.7505 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.816e-05/5.136, allocations: 8 kB / 0.7505 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/5.136, allocations: 3.938 kB / 0.7505 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001092/5.137, allocations: 53.53 kB / 0.7506 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/5.137, allocations: 4 kB / 0.7506 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/5.137, allocations: 4 kB / 0.7506 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/5.137, allocations: 0 / 0.7506 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.758e-05/5.137, allocations: 0 / 0.7506 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/5.137, allocations: 4 kB / 0.7506 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.194e-05/5.137, allocations: 12.02 kB / 0.7506 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/5.137, allocations: 0 / 0.7506 GB, free: 12.16 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 8.406e-05/5.137, allocations: 112.9 kB / 0.7507 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.165e-05/5.137, allocations: 0 / 0.7507 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.244e-05/5.137, allocations: 3.688 kB / 0.7507 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/5.137, allocations: 4 kB / 0.7507 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/5.137, allocations: 0 / 0.7507 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/5.137, allocations: 0 / 0.7507 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/5.137, allocations: 138.1 kB / 0.7508 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/5.137, allocations: 0 / 0.7508 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.668e-06/5.137, allocations: 8.359 kB / 0.7508 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/5.137, allocations: 0 / 0.7508 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/5.137, allocations: 0 / 0.7508 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/5.137, allocations: 7.938 kB / 0.7508 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/5.137, allocations: 0 / 0.7508 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001106/5.137, allocations: 69.02 kB / 0.7509 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002772/5.138, allocations: 457.4 kB / 0.7514 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.179e-05/5.138, allocations: 77.11 kB / 0.7514 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/5.138, allocations: 0 / 0.7514 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.578e-05/5.138, allocations: 15.92 kB / 0.7514 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/5.138, allocations: 4 kB / 0.7514 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/5.138, allocations: 0 / 0.7514 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.595e-05/5.138, allocations: 99.11 kB / 0.7515 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001035/5.139, allocations: 4 kB / 0.7515 GB, free: 11.08 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.0001276/5.139, allocations: 99.25 kB / 0.7516 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.013e-05/5.139, allocations: 16 kB / 0.7517 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/5.139, allocations: 0 / 0.7517 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.842e-05/5.139, allocations: 4 kB / 0.7517 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/5.14, allocations: 7.984 kB / 0.7517 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002432/5.14, allocations: 75.86 kB / 0.7517 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002971/5.14, allocations: 0.6876 MB / 0.7524 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of SimCode: time 6.82e-07/5.14, allocations: 0 / 0.7524 GB, free: 10.13 MB / 0.6355 GB