Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.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.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",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.002/4.002, allocations: 433 MB / 440.3 MB, free: 4.82 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5228/4.525, allocations: 104.3 MB / 0.5319 GB, free: 13.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/4.745, allocations: 98.72 MB / 0.6283 GB, free: 9.797 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2523/4.998, allocations: 123.9 MB / 0.7493 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004575/4.998, allocations: 87.58 kB / 0.7494 GB, free: 13.62 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.02422/5.022, allocations: 3.774 MB / 0.7531 GB, free: 9.797 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.873e-05/5.023, allocations: 8 kB / 0.7531 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.939e-05/5.023, allocations: 4 kB / 0.7531 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/5.023, allocations: 163.1 kB / 0.7532 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.924e-05/5.023, allocations: 8 kB / 0.7533 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.959e-05/5.023, allocations: 4 kB / 0.7533 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.685e-05/5.023, allocations: 8 kB / 0.7533 GB, free: 9.566 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/5.023, allocations: 53.58 kB / 0.7533 GB, free: 9.508 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/5.023, allocations: 7.984 kB / 0.7533 GB, free: 9.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.54e-05/5.023, allocations: 4 kB / 0.7533 GB, free: 9.496 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/5.023, allocations: 0 / 0.7533 GB, free: 9.496 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002118/5.024, allocations: 130.2 kB / 0.7535 GB, free: 9.332 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/5.024, allocations: 26.58 kB / 0.7535 GB, free: 9.297 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.627e-05/5.024, allocations: 16.91 kB / 0.7535 GB, free: 9.277 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.959e-06/5.024, allocations: 3.938 kB / 0.7535 GB, free: 9.273 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.559e-05/5.024, allocations: 42.56 kB / 0.7535 GB, free: 9.223 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.824e-06/5.024, allocations: 0 / 0.7535 GB, free: 9.223 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0003136/5.024, allocations: 53.59 kB / 0.7536 GB, free: 9.164 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.517e-05/5.024, allocations: 81.11 kB / 0.7537 GB, free: 9.066 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.873e-05/5.024, allocations: 85 kB / 0.7537 GB, free: 8.977 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/5.024, allocations: 29.7 kB / 0.7538 GB, free: 8.941 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.781e-05/5.024, allocations: 88.08 kB / 0.7539 GB, free: 8.852 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.283e-05/5.024, allocations: 0 / 0.7539 GB, free: 8.852 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.436e-05/5.025, allocations: 12.09 kB / 0.7539 GB, free: 8.84 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001447/5.025, allocations: 314.8 kB / 0.7542 GB, free: 8.523 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.377e-05/5.025, allocations: 4 kB / 0.7542 GB, free: 8.52 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.475e-05/5.025, allocations: 12 kB / 0.7542 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.731e-05/5.025, allocations: 4 kB / 0.7542 GB, free: 8.504 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/5.025, allocations: 0 / 0.7542 GB, free: 8.504 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002602/5.025, allocations: 61.58 kB / 0.7543 GB, free: 8.438 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/5.025, allocations: 4 kB / 0.7543 GB, free: 8.434 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/5.025, allocations: 4.094 kB / 0.7543 GB, free: 8.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/5.025, allocations: 0 / 0.7543 GB, free: 8.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.004e-06/5.025, allocations: 0 / 0.7543 GB, free: 8.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/5.025, allocations: 4 kB / 0.7543 GB, free: 8.426 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000287/5.026, allocations: 4 kB / 0.7543 GB, free: 8.422 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.711e-05/5.026, allocations: 4 kB / 0.7543 GB, free: 8.418 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.000157/5.026, allocations: 146.5 kB / 0.7544 GB, free: 8.262 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.091e-05/5.026, allocations: 4 kB / 0.7544 GB, free: 8.258 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.617e-05/5.026, allocations: 3.156 kB / 0.7544 GB, free: 8.258 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/5.026, allocations: 4 kB / 0.7544 GB, free: 8.254 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/5.026, allocations: 0 / 0.7544 GB, free: 8.254 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/5.026, allocations: 3.938 kB / 0.7544 GB, free: 8.25 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/5.026, allocations: 134.1 kB / 0.7546 GB, free: 8.082 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/5.026, allocations: 0 / 0.7546 GB, free: 8.082 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.613e-06/5.026, allocations: 0 / 0.7546 GB, free: 8.082 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/5.026, allocations: 3.984 kB / 0.7546 GB, free: 8.078 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.343e-05/5.026, allocations: 8 kB / 0.7546 GB, free: 8.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/5.026, allocations: 0 / 0.7546 GB, free: 8.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/5.026, allocations: 0 / 0.7546 GB, free: 8.07 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002813/5.027, allocations: 96.97 kB / 0.7547 GB, free: 7.957 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004258/5.027, allocations: 457.5 kB / 0.7551 GB, free: 7.488 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.418e-05/5.027, allocations: 81.05 kB / 0.7552 GB, free: 7.391 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.608e-05/5.027, allocations: 7.906 kB / 0.7552 GB, free: 7.383 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002766/5.027, allocations: 16.05 kB / 0.7552 GB, free: 7.367 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.622e-05/5.027, allocations: 4 kB / 0.7552 GB, free: 7.363 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.279e-05/5.027, allocations: 4 kB / 0.7552 GB, free: 7.359 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.903e-05/5.028, allocations: 79.28 kB / 0.7553 GB, free: 7.281 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002074/5.03, allocations: 12 kB / 0.7553 GB, free: 7.27 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0003634/5.03, allocations: 136.3 kB / 0.7554 GB, free: 7.129 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002137/5.03, allocations: 45.7 kB / 0.7555 GB, free: 7.078 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/5.03, allocations: 0 / 0.7555 GB, free: 7.078 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001018/5.03, allocations: 41.7 kB / 0.7555 GB, free: 7.031 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001849/5.031, allocations: 3.938 kB / 0.7555 GB, free: 7.027 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009373/5.032, allocations: 155.8 kB / 0.7557 GB, free: 6.852 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003251/5.032, allocations: 0.6881 MB / 0.7563 GB, free: 6.137 MB / 0.6355 GB Notification: Performance of SimCode: time 8.32e-07/5.032, allocations: 0 / 0.7563 GB, free: 6.137 MB / 0.6355 GB