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.Discrete.Examples.TriggeredSampler.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.Discrete.Examples.TriggeredSampler,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Discrete_Examples_TriggeredSampler",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 3.976/3.976, allocations: 433 MB / 440.3 MB, free: 4.805 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5389/4.515, allocations: 104.3 MB / 0.5319 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/4.732, allocations: 98.73 MB / 0.6283 GB, free: 9.793 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2278/4.96, allocations: 124 MB / 0.7494 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/4.961, allocations: 75.59 kB / 0.7494 GB, free: 13.59 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.005426/4.966, allocations: 1.205 MB / 0.7506 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/4.966, allocations: 8 kB / 0.7506 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.036e-05/4.966, allocations: 15.91 kB / 0.7506 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/4.966, allocations: 171 kB / 0.7508 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/4.966, allocations: 4 kB / 0.7508 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/4.966, allocations: 4 kB / 0.7508 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001247/4.967, allocations: 20 kB / 0.7508 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/4.967, allocations: 61.53 kB / 0.7509 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/4.967, allocations: 0 / 0.7509 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/4.967, allocations: 0 / 0.7509 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/4.967, allocations: 0 / 0.7509 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005349/4.967, allocations: 281.3 kB / 0.7512 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/4.967, allocations: 42.58 kB / 0.7512 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.53e-05/4.968, allocations: 24.92 kB / 0.7512 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.436e-05/4.968, allocations: 8.094 kB / 0.7512 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001358/4.968, allocations: 75.23 kB / 0.7513 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 2.394e-06/4.968, allocations: 0 / 0.7513 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0002386/4.968, allocations: 69.66 kB / 0.7514 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/4.968, allocations: 63.31 kB / 0.7514 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/4.968, allocations: 101.2 kB / 0.7515 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/4.968, allocations: 25.7 kB / 0.7515 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.331e-05/4.968, allocations: 92.12 kB / 0.7516 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/4.968, allocations: 19.66 kB / 0.7517 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.554e-06/4.968, allocations: 0 / 0.7517 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001238/4.969, allocations: 322.8 kB / 0.752 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.803e-05/4.969, allocations: 19.94 kB / 0.752 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.691e-05/4.969, allocations: 48.23 kB / 0.752 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.44e-05/4.969, allocations: 15.98 kB / 0.752 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/4.969, allocations: 8 kB / 0.752 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002196/4.969, allocations: 81.53 kB / 0.7521 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/4.969, allocations: 4 kB / 0.7521 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/4.969, allocations: 7.984 kB / 0.7521 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/4.969, allocations: 0 / 0.7521 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002716/4.969, allocations: 23.92 kB / 0.7522 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/4.969, allocations: 4.125 kB / 0.7522 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/4.97, allocations: 23.89 kB / 0.7522 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/4.97, allocations: 0 / 0.7522 GB, free: 10.55 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triSam1.y,triSam1.y,$PRE.triSam.y,triSam.y,$whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.875e-05/4.97, allocations: 105 kB / 0.7523 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/4.97, allocations: 15.91 kB / 0.7523 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002373/4.97, allocations: 81.97 kB / 0.7524 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/4.97, allocations: 4 kB / 0.7524 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/4.97, allocations: 0 / 0.7524 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/4.97, allocations: 0 / 0.7524 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000558/4.971, allocations: 331.4 kB / 0.7527 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/4.971, allocations: 4 kB / 0.7527 GB, free: 9.957 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/4.971, allocations: 15.92 kB / 0.7527 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/4.971, allocations: 4 kB / 0.7527 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/4.971, allocations: 7.844 kB / 0.7527 GB, free: 9.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/4.971, allocations: 0 / 0.7527 GB, free: 9.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/4.971, allocations: 0 / 0.7527 GB, free: 9.93 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002158/4.971, allocations: 175.4 kB / 0.7529 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003448/4.971, allocations: 0.5389 MB / 0.7534 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.72e-05/4.972, allocations: 88.94 kB / 0.7535 GB, free: 9.074 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/4.972, allocations: 0 / 0.7535 GB, free: 9.074 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/4.972, allocations: 19.98 kB / 0.7535 GB, free: 9.055 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.643e-05/4.972, allocations: 7.984 kB / 0.7535 GB, free: 9.047 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/4.972, allocations: 4 kB / 0.7535 GB, free: 9.043 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.939e-05/4.972, allocations: 87.28 kB / 0.7536 GB, free: 8.957 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001131/4.973, allocations: 15.91 kB / 0.7536 GB, free: 8.941 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 (booPul.y,$whenCondition2,$whenCondition1,booPul.pulseStart,triSam.y,triSam1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001629/4.973, allocations: 108.6 kB / 0.7537 GB, free: 8.828 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002112/4.974, allocations: 47.94 kB / 0.7538 GB, free: 8.781 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/4.974, allocations: 0 / 0.7538 GB, free: 8.781 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.079e-05/4.974, allocations: 23.98 kB / 0.7538 GB, free: 8.758 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/4.974, allocations: 15.98 kB / 0.7538 GB, free: 8.742 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004621/4.974, allocations: 104.6 kB / 0.7539 GB, free: 8.617 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004038/4.975, allocations: 0.7114 MB / 0.7546 GB, free: 7.879 MB / 0.6355 GB Notification: Performance of SimCode: time 1.032e-06/4.975, allocations: 0 / 0.7546 GB, free: 7.879 MB / 0.6355 GB