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.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.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_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 4.042/4.042, allocations: 433 MB / 440.3 MB, free: 4.812 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5018/4.543, allocations: 104.4 MB / 0.5319 GB, free: 12.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/4.788, allocations: 98.72 MB / 0.6283 GB, free: 9.723 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2696/5.058, allocations: 122.9 MB / 0.7483 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/5.058, allocations: 71.59 kB / 0.7484 GB, free: 14.57 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.000753/5.059, allocations: 358.5 kB / 0.7488 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/5.059, allocations: 8 kB / 0.7488 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.403e-05/5.059, allocations: 7.906 kB / 0.7488 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/5.059, allocations: 163.1 kB / 0.7489 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/5.059, allocations: 0 / 0.7489 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/5.059, allocations: 4 kB / 0.7489 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.738e-05/5.059, allocations: 7.938 kB / 0.7489 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.441e-05/5.059, allocations: 25.7 kB / 0.749 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/5.059, allocations: 0 / 0.749 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/5.059, allocations: 3.906 kB / 0.749 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/5.059, allocations: 4 kB / 0.749 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002951/5.06, allocations: 352.1 kB / 0.7493 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.734e-05/5.06, allocations: 177.1 kB / 0.7495 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.176e-05/5.06, allocations: 84.17 kB / 0.7496 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.535e-05/5.06, allocations: 75.28 kB / 0.7496 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.911e-05/5.06, allocations: 109.8 kB / 0.7497 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.363e-06/5.06, allocations: 0 / 0.7497 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 8.439e-05/5.06, allocations: 29.61 kB / 0.7498 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/5.06, allocations: 55.41 kB / 0.7498 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.929e-05/5.06, allocations: 89 kB / 0.7499 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/5.06, allocations: 25.7 kB / 0.7499 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.716e-05/5.06, allocations: 84.14 kB / 0.75 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.804e-06/5.06, allocations: 3.938 kB / 0.75 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-07/5.06, allocations: 0 / 0.75 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001327/5.06, allocations: 314.8 kB / 0.7503 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.132e-06/5.06, allocations: 3.938 kB / 0.7503 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.767e-06/5.06, allocations: 4.125 kB / 0.7503 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.448e-05/5.061, allocations: 75.28 kB / 0.7504 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-05/5.061, allocations: 79.28 kB / 0.7505 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.173e-05/5.061, allocations: 33.62 kB / 0.7505 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/5.061, allocations: 4 kB / 0.7505 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.915e-05/5.061, allocations: 80 kB / 0.7506 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.766e-05/5.061, allocations: 158.4 kB / 0.7507 GB, free: 12 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.511e-05/5.061, allocations: 75.28 kB / 0.7508 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-05/5.061, allocations: 159.8 kB / 0.7509 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.051e-05/5.061, allocations: 79.22 kB / 0.751 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.895e-05/5.061, allocations: 79.28 kB / 0.7511 GB, free: 11.61 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.0001352/5.061, allocations: 258.6 kB / 0.7513 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.633e-05/5.061, allocations: 101 kB / 0.7514 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.732e-05/5.061, allocations: 115.7 kB / 0.7516 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.513e-05/5.062, allocations: 180.3 kB / 0.7517 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.444e-05/5.062, allocations: 188.2 kB / 0.7519 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.624e-05/5.062, allocations: 180.2 kB / 0.7521 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003025/5.062, allocations: 377.8 kB / 0.7524 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.743e-05/5.062, allocations: 113 kB / 0.7525 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.354e-05/5.062, allocations: 104.9 kB / 0.7526 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.417e-05/5.062, allocations: 176.3 kB / 0.7528 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.26e-05/5.062, allocations: 176.3 kB / 0.753 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.4e-05/5.062, allocations: 184.2 kB / 0.7532 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.38e-05/5.063, allocations: 176.3 kB / 0.7533 GB, free: 9.207 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001911/5.063, allocations: 316 kB / 0.7536 GB, free: 8.875 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003227/5.063, allocations: 0.6682 MB / 0.7543 GB, free: 8.18 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/5.063, allocations: 185.9 kB / 0.7545 GB, free: 7.973 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.698e-05/5.063, allocations: 180.3 kB / 0.7546 GB, free: 7.789 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/5.063, allocations: 101 kB / 0.7547 GB, free: 7.684 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/5.064, allocations: 184.2 kB / 0.7549 GB, free: 7.496 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.794e-05/5.064, allocations: 105 kB / 0.755 GB, free: 7.387 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.708e-05/5.064, allocations: 75.28 kB / 0.7551 GB, free: 7.312 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001123/5.065, allocations: 0 / 0.7551 GB, free: 7.312 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.0002096/5.065, allocations: 178.6 kB / 0.7552 GB, free: 7.125 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 4.16e-05/5.065, allocations: 4 kB / 0.7552 GB, free: 7.121 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/5.065, allocations: 0 / 0.7552 GB, free: 7.121 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.658e-06/5.065, allocations: 3.938 kB / 0.7552 GB, free: 7.117 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000428/5.066, allocations: 0.534 MB / 0.7558 GB, free: 6.578 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002767/5.066, allocations: 123.1 kB / 0.7559 GB, free: 6.434 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000325/5.066, allocations: 0.684 MB / 0.7566 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of SimCode: time 1.012e-06/5.066, allocations: 0 / 0.7566 GB, free: 5.723 MB / 0.6355 GB