Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_7_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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.15/2.15, allocations: 248.6 MB / 255.9 MB, free: 7.172 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001729/0.001728, allocations: 191.4 kB / 315.1 MB, free: 4.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.986/1.986, allocations: 205.1 MB / 0.5658 GB, free: 364 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001211/0.00121, allocations: 91.28 kB / 0.67 GB, free: 5.566 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4495/0.4507, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.6504, allocations: 106.2 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7704/1.421, allocations: 131.9 MB / 1.012 GB, free: 8.312 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00035/1.421, allocations: 86.55 kB / 1.012 GB, free: 8.258 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.018/1.439, allocations: 3.781 MB / 1.016 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/1.439, allocations: 12 kB / 1.016 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.403e-05/1.439, allocations: 4.531 kB / 1.016 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/1.44, allocations: 170.3 kB / 1.016 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/1.44, allocations: 0 / 1.016 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/1.44, allocations: 4 kB / 1.016 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.023e-05/1.44, allocations: 8 kB / 1.016 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/1.44, allocations: 45.55 kB / 1.016 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/1.44, allocations: 0 / 1.016 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/1.44, allocations: 7.906 kB / 1.016 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/1.44, allocations: 0 / 1.016 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001508/1.44, allocations: 137.5 kB / 1.016 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.615e-05/1.44, allocations: 34.36 kB / 1.016 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.638e-05/1.44, allocations: 8.922 kB / 1.016 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.943e-06/1.44, allocations: 0 / 1.016 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/1.44, allocations: 34.56 kB / 1.017 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.403e-06/1.44, allocations: 0 / 1.017 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0002257/1.44, allocations: 52.81 kB / 1.017 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.574e-05/1.441, allocations: 85.05 kB / 1.017 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.813e-05/1.441, allocations: 100.9 kB / 1.017 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/1.441, allocations: 25.7 kB / 1.017 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.266e-05/1.441, allocations: 83.02 kB / 1.017 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.111e-05/1.441, allocations: 7.938 kB / 1.017 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.009e-05/1.441, allocations: 0 / 1.017 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000134/1.441, allocations: 310.8 kB / 1.017 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.893e-05/1.441, allocations: 15.12 kB / 1.017 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.859e-05/1.441, allocations: 4 kB / 1.017 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.831e-05/1.441, allocations: 15.55 kB / 1.017 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/1.441, allocations: 0 / 1.017 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002735/1.441, allocations: 57.53 kB / 1.017 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.124e-05/1.441, allocations: 4 kB / 1.017 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.475e-06/1.442, allocations: 3.938 kB / 1.017 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/1.442, allocations: 4 kB / 1.017 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.274e-06/1.442, allocations: 0 / 1.017 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/1.442, allocations: 0 / 1.017 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003383/1.442, allocations: 7.984 kB / 1.017 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.053e-05/1.442, allocations: 8.031 kB / 1.017 GB, free: 3.719 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.0001772/1.442, allocations: 134 kB / 1.017 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.572e-05/1.442, allocations: 7.906 kB / 1.017 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.39e-05/1.442, allocations: 7.109 kB / 1.017 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/1.442, allocations: 0 / 1.017 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/1.442, allocations: 3.984 kB / 1.017 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/1.442, allocations: 0 / 1.017 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/1.443, allocations: 134.2 kB / 1.018 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/1.443, allocations: 0 / 1.018 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.831e-06/1.443, allocations: 0 / 1.018 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.625e-06/1.443, allocations: 11.84 kB / 1.018 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.611e-05/1.443, allocations: 7.25 kB / 1.018 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/1.443, allocations: 0 / 1.018 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.443, allocations: 0 / 1.018 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002922/1.443, allocations: 83.42 kB / 1.018 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004338/1.443, allocations: 464.6 kB / 1.018 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.155e-05/1.443, allocations: 85.09 kB / 1.018 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.813e-05/1.444, allocations: 0 / 1.018 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002919/1.444, allocations: 11.89 kB / 1.018 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/1.444, allocations: 4 kB / 1.018 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/1.444, allocations: 3.938 kB / 1.018 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.871e-05/1.444, allocations: 82.84 kB / 1.018 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001774/1.446, allocations: 16.12 kB / 1.018 GB, free: 2.605 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.0003315/1.446, allocations: 124 kB / 1.018 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002267/1.446, allocations: 45.33 kB / 1.018 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.446, allocations: 0 / 1.018 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.649e-05/1.447, allocations: 45.25 kB / 1.018 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/1.447, allocations: 7.938 kB / 1.018 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008052/1.447, allocations: 157.6 kB / 1.019 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002901/1.448, allocations: 0.6841 MB / 1.019 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of SimCode: time 1.042e-06/1.448, allocations: 0 / 1.019 GB, free: 1.504 MB / 0.6355 GB