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.Utilities.Validation.Assert.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.Utilities.Validation.Assert,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",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.221/4.221, allocations: 433 MB / 440.3 MB, free: 4.828 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5589/4.78, allocations: 104.3 MB / 0.5319 GB, free: 12.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/5.041, allocations: 98.72 MB / 0.6283 GB, free: 9.805 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.319/5.36, allocations: 123.5 MB / 0.7489 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/5.36, allocations: 79.59 kB / 0.749 GB, free: 14.05 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.002651/5.363, allocations: 0.6743 MB / 0.7496 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/5.363, allocations: 8 kB / 0.7497 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.228e-05/5.363, allocations: 4 kB / 0.7497 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/5.363, allocations: 174.9 kB / 0.7498 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/5.363, allocations: 0 / 0.7498 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/5.363, allocations: 4 kB / 0.7498 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.018e-05/5.363, allocations: 7.984 kB / 0.7498 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.551e-05/5.363, allocations: 33.7 kB / 0.7499 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/5.363, allocations: 4 kB / 0.7499 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/5.363, allocations: 0 / 0.7499 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/5.363, allocations: 0 / 0.7499 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004589/5.364, allocations: 245.4 kB / 0.7501 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.531e-05/5.364, allocations: 30.52 kB / 0.7501 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.007e-05/5.364, allocations: 8.922 kB / 0.7501 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/5.364, allocations: 0 / 0.7501 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.837e-05/5.364, allocations: 51.41 kB / 0.7502 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/5.364, allocations: 0 / 0.7502 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001609/5.364, allocations: 41.61 kB / 0.7502 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/5.364, allocations: 59.41 kB / 0.7503 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/5.364, allocations: 104.9 kB / 0.7504 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/5.364, allocations: 25.7 kB / 0.7504 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.19e-05/5.364, allocations: 84.14 kB / 0.7505 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.33e-05/5.364, allocations: 3.906 kB / 0.7505 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-06/5.365, allocations: 0 / 0.7505 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001233/5.365, allocations: 314.8 kB / 0.7508 GB, free: 12 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.318e-05/5.365, allocations: 4 kB / 0.7508 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.102e-05/5.365, allocations: 25.7 kB / 0.7508 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.698e-05/5.365, allocations: 8.125 kB / 0.7508 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/5.365, allocations: 3.938 kB / 0.7508 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001089/5.365, allocations: 53.53 kB / 0.7509 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/5.365, allocations: 4 kB / 0.7509 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/5.365, allocations: 4 kB / 0.7509 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/5.365, allocations: 0 / 0.7509 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.722e-05/5.365, allocations: 0 / 0.7509 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/5.365, allocations: 4 kB / 0.7509 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.963e-05/5.365, allocations: 8.031 kB / 0.7509 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/5.365, allocations: 3.984 kB / 0.7509 GB, free: 11.87 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,assert.u,$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.089e-05/5.365, allocations: 112.9 kB / 0.751 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.49e-05/5.365, allocations: 3.906 kB / 0.751 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.505e-05/5.365, allocations: 7.688 kB / 0.751 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/5.365, allocations: 0 / 0.751 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/5.365, allocations: 0 / 0.751 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/5.365, allocations: 4 kB / 0.751 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/5.365, allocations: 146.1 kB / 0.7512 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/5.365, allocations: 0 / 0.7512 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.845e-06/5.366, allocations: 0 / 0.7512 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/5.366, allocations: 4 kB / 0.7512 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/5.366, allocations: 0 / 0.7512 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/5.366, allocations: 0 / 0.7512 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/5.366, allocations: 0 / 0.7512 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001158/5.366, allocations: 72.97 kB / 0.7512 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002324/5.366, allocations: 453.4 kB / 0.7517 GB, free: 11 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.349e-05/5.366, allocations: 77.11 kB / 0.7518 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/5.366, allocations: 4 kB / 0.7518 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.872e-05/5.366, allocations: 7.984 kB / 0.7518 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.595e-05/5.366, allocations: 8 kB / 0.7518 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/5.366, allocations: 3.984 kB / 0.7518 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.951e-05/5.366, allocations: 83.28 kB / 0.7519 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00111/5.367, allocations: 7.906 kB / 0.7519 GB, free: 10.79 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,assert.u,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.0001428/5.368, allocations: 103.6 kB / 0.752 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001088/5.368, allocations: 12 kB / 0.752 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/5.368, allocations: 4 kB / 0.752 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.984e-05/5.368, allocations: 4.062 kB / 0.752 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/5.368, allocations: 15.98 kB / 0.752 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002694/5.368, allocations: 71.66 kB / 0.7521 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003723/5.369, allocations: 0.6876 MB / 0.7527 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of SimCode: time 7.02e-07/5.369, allocations: 4 kB / 0.7527 GB, free: 9.832 MB / 0.6355 GB