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.OnOffController.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.OnOffController,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController",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.059/4.059, allocations: 433 MB / 440.3 MB, free: 4.797 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5671/4.626, allocations: 104.3 MB / 0.5319 GB, free: 12.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/4.871, allocations: 98.73 MB / 0.6283 GB, free: 9.762 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2395/5.111, allocations: 123.7 MB / 0.7491 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/5.111, allocations: 71.61 kB / 0.7492 GB, free: 13.79 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.005254/5.116, allocations: 1.053 MB / 0.7502 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/5.116, allocations: 8 kB / 0.7502 GB, free: 12.69 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.079e-05/5.116, allocations: 7.891 kB / 0.7502 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/5.117, allocations: 167 kB / 0.7504 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/5.117, allocations: 0 / 0.7504 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/5.117, allocations: 4 kB / 0.7504 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001279/5.117, allocations: 19.91 kB / 0.7504 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/5.117, allocations: 49.67 kB / 0.7505 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/5.117, allocations: 3.938 kB / 0.7505 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/5.117, allocations: 0 / 0.7505 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/5.117, allocations: 8 kB / 0.7505 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007614/5.118, allocations: 281.3 kB / 0.7508 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002465/5.118, allocations: 42.55 kB / 0.7508 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.864e-05/5.118, allocations: 16.92 kB / 0.7508 GB, free: 12 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/5.118, allocations: 0 / 0.7508 GB, free: 12 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/5.118, allocations: 38.5 kB / 0.7509 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.603e-06/5.118, allocations: 0 / 0.7509 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002049/5.118, allocations: 49.69 kB / 0.7509 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/5.118, allocations: 51.41 kB / 0.7509 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.94e-05/5.119, allocations: 97 kB / 0.751 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/5.119, allocations: 25.7 kB / 0.7511 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.023e-05/5.119, allocations: 88.12 kB / 0.7511 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/5.119, allocations: 11.81 kB / 0.7512 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.78e-06/5.119, allocations: 0 / 0.7512 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001222/5.119, allocations: 314.8 kB / 0.7515 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.127e-05/5.119, allocations: 8 kB / 0.7515 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.297e-05/5.119, allocations: 12 kB / 0.7515 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.865e-05/5.119, allocations: 11.98 kB / 0.7515 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/5.119, allocations: 3.938 kB / 0.7515 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001345/5.119, allocations: 45.64 kB / 0.7515 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/5.119, allocations: 11.91 kB / 0.7515 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/5.119, allocations: 0 / 0.7515 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/5.119, allocations: 0 / 0.7515 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/5.119, allocations: 15.98 kB / 0.7516 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/5.119, allocations: 0 / 0.7516 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000225/5.12, allocations: 27.97 kB / 0.7516 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/5.12, allocations: 0 / 0.7516 GB, free: 11.15 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.onOffController.y,onOffController.y) * 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.751e-05/5.12, allocations: 109 kB / 0.7517 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.646e-05/5.12, allocations: 3.906 kB / 0.7517 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001742/5.12, allocations: 53.62 kB / 0.7517 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/5.12, allocations: 0 / 0.7517 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/5.12, allocations: 7.922 kB / 0.7518 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/5.12, allocations: 0 / 0.7518 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001922/5.12, allocations: 150.1 kB / 0.7519 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/5.12, allocations: 4 kB / 0.7519 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/5.12, allocations: 8 kB / 0.7519 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/5.12, allocations: 4 kB / 0.7519 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/5.12, allocations: 3.984 kB / 0.7519 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/5.12, allocations: 0 / 0.7519 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/5.12, allocations: 0 / 0.7519 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001738/5.121, allocations: 147.5 kB / 0.7521 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003046/5.121, allocations: 0.5157 MB / 0.7526 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.465e-05/5.121, allocations: 81.05 kB / 0.7526 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.418e-05/5.121, allocations: 48 / 0.7526 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004473/5.122, allocations: 31.95 kB / 0.7527 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.638e-05/5.122, allocations: 11.89 kB / 0.7527 GB, free: 9.922 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/5.122, allocations: 0 / 0.7527 GB, free: 9.922 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.976e-05/5.122, allocations: 83.28 kB / 0.7528 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001154/5.123, allocations: 8 kB / 0.7528 GB, free: 9.832 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: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0001707/5.123, allocations: 103.2 kB / 0.7529 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001424/5.123, allocations: 20 kB / 0.7529 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/5.123, allocations: 0 / 0.7529 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.976e-05/5.123, allocations: 19.92 kB / 0.7529 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/5.124, allocations: 8 kB / 0.7529 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003111/5.124, allocations: 71.72 kB / 0.753 GB, free: 9.582 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003305/5.124, allocations: 0.6954 MB / 0.7537 GB, free: 8.863 MB / 0.6355 GB Notification: Performance of SimCode: time 7.42e-07/5.124, allocations: 4 kB / 0.7537 GB, free: 8.859 MB / 0.6355 GB