Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.192/1.192, allocations: 249.4 MB / 256.7 MB, free: 15.8 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001016/0.001016, allocations: 191.7 kB / 316 MB, free: 7.168 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.358/1.358, allocations: 205.1 MB / 0.5667 GB, free: 23.53 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008985/0.0008985, allocations: 82.42 kB / 0.671 GB, free: 0.832 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2198/0.2207, allocations: 112.5 MB / 0.7808 GB, free: 240 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4351/0.6558, allocations: 106.3 MB / 0.8847 GB, free: 76.21 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1479/0.8037, allocations: 131 MB / 1.013 GB, free: 8.98 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/0.804, allocations: 83.94 kB / 1.013 GB, free: 8.898 MB / 0.6667 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.01/0.814, allocations: 3.792 MB / 1.016 GB, free: 5.055 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.8141, allocations: 8 kB / 1.016 GB, free: 5.047 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.891e-05/0.8141, allocations: 4 kB / 1.016 GB, free: 5.043 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.8143, allocations: 159.1 kB / 1.017 GB, free: 4.848 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.8143, allocations: 7.984 kB / 1.017 GB, free: 4.84 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.8143, allocations: 4 kB / 1.017 GB, free: 4.836 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.034e-05/0.8144, allocations: 12 kB / 1.017 GB, free: 4.824 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.777e-05/0.8145, allocations: 53.58 kB / 1.017 GB, free: 4.766 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.8145, allocations: 3.984 kB / 1.017 GB, free: 4.762 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.8145, allocations: 0 / 1.017 GB, free: 4.762 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.8145, allocations: 4 kB / 1.017 GB, free: 4.758 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000136/0.8147, allocations: 130.2 kB / 1.017 GB, free: 4.594 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 5.231e-05/0.8147, allocations: 26.61 kB / 1.017 GB, free: 4.559 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.105e-05/0.8148, allocations: 12.92 kB / 1.017 GB, free: 4.543 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 6.552e-06/0.8148, allocations: 4 kB / 1.017 GB, free: 4.539 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.8148, allocations: 30.56 kB / 1.017 GB, free: 4.5 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.8148, allocations: 0 / 1.017 GB, free: 4.5 MB / 0.6667 GB Notification: Performance of matching and sorting (n=1): time 0.0001822/0.815, allocations: 61.59 kB / 1.017 GB, free: 4.434 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.8151, allocations: 81.09 kB / 1.017 GB, free: 4.336 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.995e-05/0.8151, allocations: 89 kB / 1.017 GB, free: 4.242 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.8152, allocations: 33.8 kB / 1.017 GB, free: 4.203 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 2.736e-05/0.8152, allocations: 84.14 kB / 1.017 GB, free: 4.117 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/0.8152, allocations: 3.938 kB / 1.017 GB, free: 4.113 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.204e-06/0.8152, allocations: 4 kB / 1.017 GB, free: 4.109 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.716e-05/0.8153, allocations: 314.8 kB / 1.017 GB, free: 3.793 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.018e-05/0.8154, allocations: 4 kB / 1.017 GB, free: 3.789 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.244e-05/0.8154, allocations: 15.98 kB / 1.018 GB, free: 3.773 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.314e-05/0.8154, allocations: 4 kB / 1.018 GB, free: 3.77 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.8154, allocations: 0 / 1.018 GB, free: 3.77 MB / 0.6667 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.721e-05/0.8155, allocations: 61.66 kB / 1.018 GB, free: 3.703 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.8155, allocations: 4 kB / 1.018 GB, free: 3.699 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.8156, allocations: 0 / 1.018 GB, free: 3.699 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.8156, allocations: 0 / 1.018 GB, free: 3.699 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-06/0.8156, allocations: 0 / 1.018 GB, free: 3.699 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.8156, allocations: 0 / 1.018 GB, free: 3.699 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.8157, allocations: 11.92 kB / 1.018 GB, free: 3.688 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.8157, allocations: 4 kB / 1.018 GB, free: 3.684 MB / 0.6667 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 8.587e-05/0.8158, allocations: 144.7 kB / 1.018 GB, free: 3.531 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/0.8158, allocations: 7.984 kB / 1.018 GB, free: 3.523 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.231e-05/0.8159, allocations: 11.05 kB / 1.018 GB, free: 3.516 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.8159, allocations: 4 kB / 1.018 GB, free: 3.512 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.8159, allocations: 3.938 kB / 1.018 GB, free: 3.508 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.8159, allocations: 0 / 1.018 GB, free: 3.508 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.662e-05/0.816, allocations: 134.1 kB / 1.018 GB, free: 3.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.816, allocations: 0 / 1.018 GB, free: 3.34 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.816, allocations: 0 / 1.018 GB, free: 3.34 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.816, allocations: 0 / 1.018 GB, free: 3.34 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.816, allocations: 8 kB / 1.018 GB, free: 3.332 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.816, allocations: 4 kB / 1.018 GB, free: 3.328 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.816, allocations: 4 kB / 1.018 GB, free: 3.324 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001155/0.8161, allocations: 81.02 kB / 1.018 GB, free: 3.227 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002023/0.8163, allocations: 466 kB / 1.018 GB, free: 2.75 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 2.967e-05/0.8164, allocations: 85.09 kB / 1.018 GB, free: 2.648 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.8164, allocations: 7.906 kB / 1.019 GB, free: 2.641 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.926e-05/0.8165, allocations: 4 kB / 1.019 GB, free: 2.637 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.931e-05/0.8165, allocations: 0 / 1.019 GB, free: 2.637 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-06/0.8166, allocations: 4 kB / 1.019 GB, free: 2.633 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.977e-05/0.8166, allocations: 83.27 kB / 1.019 GB, free: 2.551 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007385/0.8173, allocations: 20 kB / 1.019 GB, free: 2.531 MB / 0.6667 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.000223/0.8176, allocations: 111.8 kB / 1.019 GB, free: 2.414 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 9.92e-05/0.8177, allocations: 49.69 kB / 1.019 GB, free: 2.359 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.8177, allocations: 4 kB / 1.019 GB, free: 2.355 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 4.448e-05/0.8177, allocations: 37.7 kB / 1.019 GB, free: 2.312 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.567e-05/0.8178, allocations: 4 kB / 1.019 GB, free: 2.309 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004584/0.8183, allocations: 164 kB / 1.019 GB, free: 2.125 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000277/0.8186, allocations: 0.6907 MB / 1.02 GB, free: 1.41 MB / 0.6667 GB Notification: Performance of SimCode: time 2.61e-07/0.8186, allocations: 0 / 1.02 GB, free: 1.41 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1)