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.Continuous.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.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_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.466/4.466, allocations: 433 MB / 440.3 MB, free: 4.805 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5167/4.983, allocations: 104.4 MB / 0.5319 GB, free: 13.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/5.226, allocations: 98.72 MB / 0.6283 GB, free: 9.738 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2945/5.521, allocations: 122.9 MB / 0.7484 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003813/5.521, allocations: 75.58 kB / 0.7484 GB, free: 14.59 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.001051/5.522, allocations: 366.8 kB / 0.7488 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.209e-05/5.523, allocations: 11.94 kB / 0.7488 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.98e-05/5.523, allocations: 11.84 kB / 0.7488 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/5.523, allocations: 163.1 kB / 0.749 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/5.523, allocations: 0 / 0.749 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/5.523, allocations: 0 / 0.749 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.193e-05/5.523, allocations: 0 / 0.749 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.819e-05/5.523, allocations: 29.7 kB / 0.749 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/5.523, allocations: 4 kB / 0.749 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/5.523, allocations: 3.906 kB / 0.749 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/5.523, allocations: 0 / 0.749 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000463/5.524, allocations: 360.1 kB / 0.7493 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/5.524, allocations: 169.1 kB / 0.7495 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.835e-05/5.524, allocations: 84.14 kB / 0.7496 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.541e-05/5.524, allocations: 75.28 kB / 0.7496 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.953e-05/5.524, allocations: 105.8 kB / 0.7497 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 3.005e-06/5.524, allocations: 0 / 0.7497 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 0.0001248/5.524, allocations: 33.61 kB / 0.7498 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.994e-05/5.524, allocations: 51.41 kB / 0.7498 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/5.524, allocations: 100.9 kB / 0.7499 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/5.524, allocations: 25.7 kB / 0.7499 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.493e-05/5.525, allocations: 80.14 kB / 0.75 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-06/5.525, allocations: 0 / 0.75 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.82e-07/5.525, allocations: 0 / 0.75 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002266/5.525, allocations: 314.8 kB / 0.7503 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.112e-06/5.525, allocations: 0 / 0.7503 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.931e-06/5.525, allocations: 0 / 0.7503 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.268e-05/5.525, allocations: 75.28 kB / 0.7504 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.428e-05/5.525, allocations: 79.41 kB / 0.7505 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.000119/5.525, allocations: 29.64 kB / 0.7505 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/5.525, allocations: 8 kB / 0.7505 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.562e-05/5.525, allocations: 79.94 kB / 0.7506 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001109/5.525, allocations: 154.5 kB / 0.7507 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.841e-05/5.525, allocations: 79.27 kB / 0.7508 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001049/5.526, allocations: 163.8 kB / 0.751 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/5.526, allocations: 79.28 kB / 0.751 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-05/5.526, allocations: 75.28 kB / 0.7511 GB, free: 11.62 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.0002006/5.526, allocations: 254.1 kB / 0.7514 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/5.526, allocations: 108.9 kB / 0.7515 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.298e-05/5.526, allocations: 111.8 kB / 0.7516 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001061/5.526, allocations: 180.3 kB / 0.7517 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000105/5.527, allocations: 188.1 kB / 0.7519 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001061/5.527, allocations: 176.3 kB / 0.7521 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003974/5.527, allocations: 389.7 kB / 0.7525 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.451e-05/5.527, allocations: 104.9 kB / 0.7526 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.348e-05/5.527, allocations: 105 kB / 0.7527 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001015/5.527, allocations: 180.3 kB / 0.7528 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001146/5.528, allocations: 184.2 kB / 0.753 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001105/5.528, allocations: 176.3 kB / 0.7532 GB, free: 9.395 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001055/5.528, allocations: 180.2 kB / 0.7533 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002403/5.528, allocations: 312 kB / 0.7536 GB, free: 8.883 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004423/5.528, allocations: 0.6721 MB / 0.7543 GB, free: 8.184 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/5.529, allocations: 182 kB / 0.7545 GB, free: 7.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/5.529, allocations: 180.3 kB / 0.7546 GB, free: 7.797 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005399/5.529, allocations: 112.9 kB / 0.7547 GB, free: 7.68 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/5.53, allocations: 176.3 kB / 0.7549 GB, free: 7.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001095/5.53, allocations: 101 kB / 0.755 GB, free: 7.395 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001208/5.53, allocations: 79.28 kB / 0.7551 GB, free: 7.316 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002336/5.532, allocations: 4 kB / 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.0002271/5.533, allocations: 182.6 kB / 0.7553 GB, free: 7.121 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 5.538e-05/5.533, allocations: 7.938 kB / 0.7553 GB, free: 7.113 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/5.533, allocations: 0 / 0.7553 GB, free: 7.113 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.054e-06/5.533, allocations: 0 / 0.7553 GB, free: 7.113 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/5.533, allocations: 0.5146 MB / 0.7558 GB, free: 6.594 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002683/5.533, allocations: 135 kB / 0.7559 GB, free: 6.438 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002949/5.534, allocations: 0.6841 MB / 0.7566 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of SimCode: time 1.032e-06/5.534, allocations: 0 / 0.7566 GB, free: 5.727 MB / 0.6355 GB