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.LogicalSwitch.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.LogicalSwitch,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_LogicalSwitch",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.167/4.167, allocations: 433 MB / 440.3 MB, free: 4.797 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5572/4.724, allocations: 104.3 MB / 0.5319 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/4.961, allocations: 98.73 MB / 0.6283 GB, free: 9.75 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2667/5.228, allocations: 123.5 MB / 0.7489 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/5.228, allocations: 75.59 kB / 0.749 GB, free: 13.99 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.006255/5.234, allocations: 1.261 MB / 0.7502 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.76e-05/5.234, allocations: 8 kB / 0.7502 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.486e-05/5.235, allocations: 7.906 kB / 0.7503 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/5.235, allocations: 179 kB / 0.7504 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/5.235, allocations: 3.984 kB / 0.7504 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/5.235, allocations: 11.91 kB / 0.7504 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001353/5.235, allocations: 31.94 kB / 0.7505 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/5.235, allocations: 53.67 kB / 0.7505 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/5.235, allocations: 0 / 0.7505 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/5.235, allocations: 0 / 0.7505 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/5.235, allocations: 4 kB / 0.7505 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004787/5.236, allocations: 273.3 kB / 0.7508 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/5.236, allocations: 42.58 kB / 0.7508 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.977e-05/5.236, allocations: 24.86 kB / 0.7508 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/5.236, allocations: 0 / 0.7508 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001506/5.236, allocations: 67.55 kB / 0.7509 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.084e-06/5.236, allocations: 3.938 kB / 0.7509 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0002614/5.236, allocations: 81.62 kB / 0.751 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/5.236, allocations: 55.39 kB / 0.751 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/5.237, allocations: 120.9 kB / 0.7512 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/5.237, allocations: 25.7 kB / 0.7512 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.559e-05/5.237, allocations: 92.12 kB / 0.7513 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/5.237, allocations: 23.66 kB / 0.7513 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.336e-06/5.237, allocations: 0 / 0.7513 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001478/5.237, allocations: 318.8 kB / 0.7516 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.164e-05/5.237, allocations: 16 kB / 0.7516 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.94e-05/5.237, allocations: 51.38 kB / 0.7517 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.403e-05/5.237, allocations: 19.98 kB / 0.7517 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/5.237, allocations: 0 / 0.7517 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002133/5.237, allocations: 85.53 kB / 0.7518 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/5.237, allocations: 4 kB / 0.7518 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/5.237, allocations: 7.938 kB / 0.7518 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/5.237, allocations: 96 / 0.7518 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.977e-05/5.238, allocations: 8 kB / 0.7518 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/5.238, allocations: 4 kB / 0.7518 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002583/5.238, allocations: 27.88 kB / 0.7518 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/5.238, allocations: 8 kB / 0.7518 GB, free: 10.89 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart,logicalSwitch.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 0.0001096/5.238, allocations: 116.9 kB / 0.7519 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/5.238, allocations: 7.906 kB / 0.7519 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.132e-05/5.238, allocations: 12.36 kB / 0.752 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/5.238, allocations: 4.188 kB / 0.752 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/5.238, allocations: 0 / 0.752 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/5.238, allocations: 3.938 kB / 0.752 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002379/5.238, allocations: 162.1 kB / 0.7521 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/5.238, allocations: 0 / 0.7521 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.172e-05/5.238, allocations: 11.98 kB / 0.7521 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/5.239, allocations: 3.984 kB / 0.7521 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/5.239, allocations: 0 / 0.7521 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/5.239, allocations: 0 / 0.7521 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/5.239, allocations: 0 / 0.7521 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000239/5.239, allocations: 108.9 kB / 0.7522 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003584/5.239, allocations: 493.4 kB / 0.7527 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.779e-05/5.239, allocations: 85.02 kB / 0.7528 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.161e-05/5.239, allocations: 7.984 kB / 0.7528 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002371/5.24, allocations: 23.98 kB / 0.7528 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.708e-05/5.24, allocations: 11.97 kB / 0.7528 GB, free: 9.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/5.24, allocations: 8 kB / 0.7528 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.6e-05/5.24, allocations: 95.22 kB / 0.7529 GB, free: 9.648 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001084/5.241, allocations: 15.91 kB / 0.7529 GB, free: 9.633 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,booPul3.y,booPul3.pulseStart,logicalSwitch.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * 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.0001665/5.241, allocations: 103.2 kB / 0.753 GB, free: 9.523 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002189/5.241, allocations: 56.06 kB / 0.7531 GB, free: 9.469 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/5.241, allocations: 4.062 kB / 0.7531 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001137/5.241, allocations: 36.31 kB / 0.7531 GB, free: 9.43 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/5.242, allocations: 20.11 kB / 0.7532 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004436/5.242, allocations: 107.5 kB / 0.7533 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005087/5.243, allocations: 0.7191 MB / 0.754 GB, free: 8.535 MB / 0.6355 GB Notification: Performance of SimCode: time 1.202e-06/5.243, allocations: 0 / 0.754 GB, free: 8.535 MB / 0.6355 GB