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.Integers.Sources.Validation.Constant.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.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",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.959/3.959, allocations: 433 MB / 440.3 MB, free: 4.805 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5228/4.482, allocations: 104.3 MB / 0.5319 GB, free: 13.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/4.705, allocations: 98.73 MB / 0.6283 GB, free: 9.781 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2703/4.976, allocations: 122.9 MB / 0.7483 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/4.976, allocations: 75.59 kB / 0.7484 GB, free: 14.64 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0007571/4.977, allocations: 358.5 kB / 0.7487 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/4.977, allocations: 16 kB / 0.7488 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.205e-05/4.977, allocations: 3.906 kB / 0.7488 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/4.977, allocations: 159.1 kB / 0.7489 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/4.977, allocations: 0 / 0.7489 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/4.977, allocations: 0 / 0.7489 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.51e-05/4.977, allocations: 7.938 kB / 0.7489 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.865e-05/4.977, allocations: 33.69 kB / 0.749 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/4.977, allocations: 0 / 0.749 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/4.977, allocations: 3.906 kB / 0.749 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/4.977, allocations: 3.938 kB / 0.749 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002897/4.978, allocations: 356.1 kB / 0.7493 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.482e-05/4.978, allocations: 173.1 kB / 0.7495 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.583e-05/4.978, allocations: 84.08 kB / 0.7495 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.281e-05/4.978, allocations: 79.27 kB / 0.7496 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.718e-05/4.978, allocations: 109.8 kB / 0.7497 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.593e-06/4.978, allocations: 7.969 kB / 0.7497 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 7.617e-05/4.978, allocations: 29.61 kB / 0.7498 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/4.978, allocations: 51.41 kB / 0.7498 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.703e-05/4.978, allocations: 85 kB / 0.7499 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/4.978, allocations: 25.7 kB / 0.7499 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.906e-05/4.978, allocations: 84.27 kB / 0.75 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.938e-06/4.978, allocations: 8 kB / 0.75 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.31e-07/4.978, allocations: 0 / 0.75 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001075/4.978, allocations: 310.8 kB / 0.7503 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.446e-06/4.978, allocations: 0 / 0.7503 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.551e-06/4.978, allocations: 3.938 kB / 0.7503 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.912e-05/4.978, allocations: 79.27 kB / 0.7504 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-05/4.978, allocations: 75.28 kB / 0.7505 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.212e-05/4.978, allocations: 29.7 kB / 0.7505 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/4.979, allocations: 8 kB / 0.7505 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.014e-05/4.979, allocations: 79.91 kB / 0.7506 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.362e-05/4.979, allocations: 154.5 kB / 0.7507 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.066e-05/4.979, allocations: 79.28 kB / 0.7508 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-05/4.979, allocations: 155.8 kB / 0.7509 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.939e-05/4.979, allocations: 83.22 kB / 0.751 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.228e-05/4.979, allocations: 79.27 kB / 0.7511 GB, free: 11.68 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001168/4.979, allocations: 259.8 kB / 0.7513 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.267e-05/4.979, allocations: 105 kB / 0.7514 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.836e-05/4.979, allocations: 111.7 kB / 0.7515 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.235e-05/4.979, allocations: 180.2 kB / 0.7517 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.531e-05/4.979, allocations: 180.3 kB / 0.7519 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.712e-05/4.979, allocations: 192.2 kB / 0.7521 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002931/4.98, allocations: 373.8 kB / 0.7524 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-05/4.98, allocations: 105 kB / 0.7525 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.411e-05/4.98, allocations: 108.9 kB / 0.7526 GB, free: 10 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.236e-05/4.98, allocations: 180.3 kB / 0.7528 GB, free: 9.816 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.992e-05/4.98, allocations: 180.3 kB / 0.753 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-05/4.98, allocations: 180.2 kB / 0.7532 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.086e-05/4.98, allocations: 176.3 kB / 0.7533 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001483/4.98, allocations: 316 kB / 0.7536 GB, free: 8.938 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002686/4.981, allocations: 0.6682 MB / 0.7543 GB, free: 8.242 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.131e-05/4.981, allocations: 193.9 kB / 0.7545 GB, free: 8.027 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.7e-05/4.981, allocations: 180.3 kB / 0.7546 GB, free: 7.844 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.478e-05/4.981, allocations: 101 kB / 0.7547 GB, free: 7.738 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.499e-05/4.981, allocations: 184.2 kB / 0.7549 GB, free: 7.551 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.88e-05/4.981, allocations: 101 kB / 0.755 GB, free: 7.445 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.909e-05/4.981, allocations: 83.27 kB / 0.7551 GB, free: 7.363 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001446/4.983, allocations: 0 / 0.7551 GB, free: 7.363 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0002613/4.983, allocations: 174.5 kB / 0.7552 GB, free: 7.18 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 5.372e-05/4.983, allocations: 4 kB / 0.7552 GB, free: 7.176 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/4.983, allocations: 4.094 kB / 0.7553 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.397e-06/4.983, allocations: 0 / 0.7553 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/4.983, allocations: 0.53 MB / 0.7558 GB, free: 6.637 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002234/4.984, allocations: 123.2 kB / 0.7559 GB, free: 6.492 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003237/4.984, allocations: 0.6802 MB / 0.7566 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of SimCode: time 7.51e-07/4.984, allocations: 4 kB / 0.7566 GB, free: 5.781 MB / 0.6355 GB