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.TriggeredTrapezoid.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.TriggeredTrapezoid,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid",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.376/4.376, allocations: 433 MB / 440.3 MB, free: 4.832 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5802/4.957, allocations: 104.3 MB / 0.5319 GB, free: 13.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/5.204, allocations: 98.72 MB / 0.6283 GB, free: 9.859 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2414/5.446, allocations: 123.8 MB / 0.7492 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003758/5.446, allocations: 75.55 kB / 0.7492 GB, free: 13.84 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.007421/5.454, allocations: 1.388 MB / 0.7506 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/5.454, allocations: 8 kB / 0.7506 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.819e-05/5.454, allocations: 7.906 kB / 0.7506 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/5.454, allocations: 174.9 kB / 0.7508 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.97e-05/5.454, allocations: 0 / 0.7508 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/5.454, allocations: 4 kB / 0.7508 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001512/5.454, allocations: 39.97 kB / 0.7508 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/5.455, allocations: 65.67 kB / 0.7509 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/5.455, allocations: 0 / 0.7509 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/5.455, allocations: 0 / 0.7509 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/5.455, allocations: 0 / 0.7509 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005663/5.455, allocations: 265.3 kB / 0.7511 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/5.455, allocations: 50.58 kB / 0.7512 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/5.456, allocations: 32.98 kB / 0.7512 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/5.456, allocations: 4 kB / 0.7512 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002132/5.456, allocations: 87.22 kB / 0.7513 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 4.258e-06/5.456, allocations: 0 / 0.7513 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0004203/5.456, allocations: 93.61 kB / 0.7514 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.179e-05/5.456, allocations: 59.34 kB / 0.7514 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/5.456, allocations: 108.9 kB / 0.7515 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.989e-05/5.457, allocations: 25.7 kB / 0.7516 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.375e-05/5.457, allocations: 88.14 kB / 0.7517 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.728e-05/5.457, allocations: 15.75 kB / 0.7517 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.088e-05/5.457, allocations: 0 / 0.7517 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001236/5.457, allocations: 318.8 kB / 0.752 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.261e-05/5.457, allocations: 24 kB / 0.752 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/5.457, allocations: 41.66 kB / 0.752 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.332e-05/5.457, allocations: 19.98 kB / 0.7521 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/5.457, allocations: 7.906 kB / 0.7521 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006378/5.458, allocations: 130.4 kB / 0.7522 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/5.458, allocations: 7.984 kB / 0.7522 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/5.458, allocations: 4.031 kB / 0.7522 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001941/5.458, allocations: 40.83 kB / 0.7522 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.959e-05/5.458, allocations: 4 kB / 0.7522 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001858/5.46, allocations: 1.341 MB / 0.7536 GB, free: 9.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002055/5.46, allocations: 8 kB / 0.7536 GB, free: 9.082 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/5.46, allocations: 192 / 0.7536 GB, free: 9.082 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: 9 ($whenCondition1,$whenCondition3,$whenCondition2,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * 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: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001238/5.46, allocations: 113.8 kB / 0.7537 GB, free: 8.965 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/5.461, allocations: 11.84 kB / 0.7537 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.626e-05/5.461, allocations: 8.375 kB / 0.7537 GB, free: 8.941 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/5.461, allocations: 4 kB / 0.7537 GB, free: 8.938 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/5.461, allocations: 3.906 kB / 0.7537 GB, free: 8.934 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/5.461, allocations: 0 / 0.7537 GB, free: 8.934 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008399/5.461, allocations: 362.9 kB / 0.754 GB, free: 8.535 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/5.461, allocations: 0 / 0.754 GB, free: 8.535 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.905e-05/5.462, allocations: 7.938 kB / 0.754 GB, free: 8.527 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/5.462, allocations: 0 / 0.754 GB, free: 8.527 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/5.462, allocations: 7.984 kB / 0.7541 GB, free: 8.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/5.462, allocations: 4 kB / 0.7541 GB, free: 8.516 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/5.462, allocations: 3.938 kB / 0.7541 GB, free: 8.512 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000288/5.462, allocations: 183.4 kB / 0.7542 GB, free: 8.316 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004094/5.462, allocations: 0.5623 MB / 0.7548 GB, free: 7.734 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/5.462, allocations: 81.02 kB / 0.7549 GB, free: 7.637 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.127e-05/5.463, allocations: 0 / 0.7549 GB, free: 7.637 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/5.463, allocations: 15.98 kB / 0.7549 GB, free: 7.621 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.772e-05/5.463, allocations: 8.078 kB / 0.7549 GB, free: 7.613 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.387e-05/5.463, allocations: 7.984 kB / 0.7549 GB, free: 7.605 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.927e-05/5.463, allocations: 91.22 kB / 0.755 GB, free: 7.516 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001493/5.464, allocations: 16.19 kB / 0.755 GB, free: 7.5 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: 8 (booPul.y,$whenCondition3,$whenCondition2,$whenCondition1,booPul.pulseStart,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 1 (triggeredTrapezoid1.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000204/5.465, allocations: 115.2 kB / 0.7551 GB, free: 7.375 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004469/5.465, allocations: 169.6 kB / 0.7553 GB, free: 7.199 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/5.465, allocations: 0 / 0.7553 GB, free: 7.199 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001305/5.465, allocations: 39.98 kB / 0.7553 GB, free: 7.16 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/5.466, allocations: 8.859 kB / 0.7553 GB, free: 7.152 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004432/5.466, allocations: 115.8 kB / 0.7554 GB, free: 7.016 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003234/5.466, allocations: 0.7037 MB / 0.7561 GB, free: 6.285 MB / 0.6355 GB Notification: Performance of SimCode: time 8.92e-07/5.466, allocations: 0 / 0.7561 GB, free: 6.285 MB / 0.6355 GB