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.Not.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.Not,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Not",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.908/3.908, allocations: 433 MB / 440.3 MB, free: 4.809 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5252/4.433, allocations: 104.3 MB / 0.5319 GB, free: 12.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/4.678, allocations: 98.72 MB / 0.6283 GB, free: 9.781 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2402/4.918, allocations: 123.4 MB / 0.7489 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/4.918, allocations: 83.58 kB / 0.7489 GB, free: 14.08 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.002705/4.921, allocations: 0.6547 MB / 0.7496 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/4.921, allocations: 8 kB / 0.7496 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.737e-05/4.921, allocations: 0 / 0.7496 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/4.921, allocations: 170.9 kB / 0.7497 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/4.921, allocations: 0 / 0.7497 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/4.921, allocations: 8 kB / 0.7498 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.259e-05/4.922, allocations: 15.92 kB / 0.7498 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.303e-05/4.922, allocations: 33.7 kB / 0.7498 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/4.922, allocations: 4 kB / 0.7498 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/4.922, allocations: 0 / 0.7498 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/4.922, allocations: 0 / 0.7498 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003557/4.922, allocations: 233.4 kB / 0.75 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.113e-05/4.922, allocations: 22.58 kB / 0.7501 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.325e-05/4.922, allocations: 16.8 kB / 0.7501 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/4.922, allocations: 7.984 kB / 0.7501 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.909e-05/4.922, allocations: 51.41 kB / 0.7501 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.064e-06/4.922, allocations: 0 / 0.7501 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001641/4.922, allocations: 45.59 kB / 0.7502 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/4.923, allocations: 51.41 kB / 0.7502 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.231e-05/4.923, allocations: 97 kB / 0.7503 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/4.923, allocations: 25.7 kB / 0.7503 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.002e-05/4.923, allocations: 80.14 kB / 0.7504 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.427e-05/4.923, allocations: 7.906 kB / 0.7504 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-06/4.923, allocations: 0 / 0.7504 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001398/4.923, allocations: 322.8 kB / 0.7507 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.371e-05/4.923, allocations: 3.938 kB / 0.7507 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.656e-05/4.923, allocations: 21.72 kB / 0.7508 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.226e-05/4.923, allocations: 0 / 0.7508 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/4.923, allocations: 0 / 0.7508 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001177/4.923, allocations: 57.59 kB / 0.7508 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/4.923, allocations: 7.938 kB / 0.7508 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/4.923, allocations: 0 / 0.7508 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/4.923, allocations: 0 / 0.7508 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.577e-05/4.923, allocations: 7.938 kB / 0.7508 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/4.923, allocations: 0 / 0.7508 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/4.923, allocations: 7.984 kB / 0.7508 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/4.923, allocations: 4 kB / 0.7508 GB, free: 11.93 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 9.6e-05/4.924, allocations: 112.9 kB / 0.7509 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.655e-05/4.924, allocations: 4 kB / 0.7509 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.784e-05/4.924, allocations: 3.688 kB / 0.7509 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/4.924, allocations: 0 / 0.7509 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/4.924, allocations: 0 / 0.7509 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/4.924, allocations: 3.984 kB / 0.751 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001954/4.924, allocations: 138.1 kB / 0.7511 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/4.924, allocations: 4 kB / 0.7511 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.217e-06/4.924, allocations: 0 / 0.7511 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/4.924, allocations: 0 / 0.7511 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.946e-06/4.924, allocations: 4 kB / 0.7511 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/4.924, allocations: 0 / 0.7511 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/4.924, allocations: 0 / 0.7511 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001435/4.924, allocations: 72.97 kB / 0.7512 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002676/4.924, allocations: 453.8 kB / 0.7516 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.243e-05/4.925, allocations: 89.12 kB / 0.7517 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/4.925, allocations: 4 kB / 0.7517 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/4.925, allocations: 4 kB / 0.7517 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.693e-05/4.925, allocations: 11.98 kB / 0.7517 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/4.925, allocations: 0 / 0.7517 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.303e-05/4.925, allocations: 83.28 kB / 0.7518 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001051/4.926, allocations: 7.906 kB / 0.7518 GB, free: 10.85 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.0001692/4.926, allocations: 106.1 kB / 0.7519 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001269/4.926, allocations: 19.92 kB / 0.7519 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/4.926, allocations: 0 / 0.7519 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.134e-05/4.926, allocations: 8 kB / 0.7519 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/4.927, allocations: 8 kB / 0.7519 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002971/4.927, allocations: 67.78 kB / 0.752 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003561/4.927, allocations: 0.6915 MB / 0.7527 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of SimCode: time 1.162e-06/4.927, allocations: 0 / 0.7527 GB, free: 9.895 MB / 0.6355 GB