Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.423/2.423, allocations: 284.8 MB / 292.1 MB, free: 1.477 MB / 227.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00172/0.001719, allocations: 188 kB / 360.3 MB, free: 15.67 MB / 291.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.923/1.923, allocations: 205.1 MB / 0.6187 GB, free: 6.672 MB / 467.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001328/0.001328, allocations: 88.41 kB / 0.7317 GB, free: 46.71 MB / 0.5186 GB Notification: Performance of FrontEnd - loaded program: time 0.2938/0.2951, allocations: 121.4 MB / 0.8502 GB, free: 13.68 MB / 0.5967 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7121/1.007, allocations: 115.2 MB / 0.9628 GB, free: 86.45 MB / 0.6749 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2342/1.242, allocations: 137.2 MB / 1.097 GB, free: 13.25 MB / 0.7061 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003301/1.242, allocations: 86.05 kB / 1.097 GB, free: 13.17 MB / 0.7061 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.01774/1.26, allocations: 3.769 MB / 1.1 GB, free: 9.387 MB / 0.7061 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/1.26, allocations: 12.75 kB / 1.1 GB, free: 9.375 MB / 0.7061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.339e-05/1.26, allocations: 5.172 kB / 1.101 GB, free: 9.371 MB / 0.7061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/1.26, allocations: 171 kB / 1.101 GB, free: 9.164 MB / 0.7061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/1.26, allocations: 0 / 1.101 GB, free: 9.164 MB / 0.7061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/1.26, allocations: 4.719 kB / 1.101 GB, free: 9.16 MB / 0.7061 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.438e-05/1.26, allocations: 11.94 kB / 1.101 GB, free: 9.148 MB / 0.7061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/1.26, allocations: 48.3 kB / 1.101 GB, free: 9.098 MB / 0.7061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/1.26, allocations: 4.562 kB / 1.101 GB, free: 9.094 MB / 0.7061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/1.26, allocations: 0 / 1.101 GB, free: 9.094 MB / 0.7061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/1.26, allocations: 0 / 1.101 GB, free: 9.094 MB / 0.7061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000154/1.261, allocations: 142.1 kB / 1.101 GB, free: 8.918 MB / 0.7061 GB Notification: Performance of preOpt comSubExp (simulation): time 7.283e-05/1.261, allocations: 23.33 kB / 1.101 GB, free: 8.887 MB / 0.7061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.155e-05/1.261, allocations: 17.66 kB / 1.101 GB, free: 8.867 MB / 0.7061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/1.261, allocations: 7.5 kB / 1.101 GB, free: 8.863 MB / 0.7061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/1.261, allocations: 30.56 kB / 1.101 GB, free: 8.824 MB / 0.7061 GB Notification: Performance of pre-optimization done (n=1): time 1.473e-06/1.261, allocations: 0.5938 kB / 1.101 GB, free: 8.824 MB / 0.7061 GB Notification: Performance of matching and sorting (n=1): time 0.000236/1.261, allocations: 58.56 kB / 1.101 GB, free: 8.762 MB / 0.7061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/1.261, allocations: 77.11 kB / 1.101 GB, free: 8.668 MB / 0.7061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.701e-05/1.261, allocations: 93.94 kB / 1.101 GB, free: 8.57 MB / 0.7061 GB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/1.261, allocations: 28.7 kB / 1.101 GB, free: 8.539 MB / 0.7061 GB Notification: Performance of collectInitialEqns (initialization): time 3.391e-05/1.261, allocations: 80.14 kB / 1.101 GB, free: 8.457 MB / 0.7061 GB Notification: Performance of collectInitialBindings (initialization): time 3.699e-05/1.261, allocations: 11.84 kB / 1.101 GB, free: 8.445 MB / 0.7061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.043e-05/1.261, allocations: 0 / 1.101 GB, free: 8.445 MB / 0.7061 GB Notification: Performance of setup shared object (initialization): time 0.0001333/1.261, allocations: 314.8 kB / 1.102 GB, free: 8.129 MB / 0.7061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.359e-05/1.261, allocations: 12 kB / 1.102 GB, free: 8.117 MB / 0.7061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.422e-05/1.262, allocations: 4 kB / 1.102 GB, free: 8.113 MB / 0.7061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.375e-05/1.262, allocations: 5.438 kB / 1.102 GB, free: 8.109 MB / 0.7061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.262, allocations: 0 / 1.102 GB, free: 8.109 MB / 0.7061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001888/1.262, allocations: 62.3 kB / 1.102 GB, free: 8.043 MB / 0.7061 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/1.262, allocations: 7.938 kB / 1.102 GB, free: 8.035 MB / 0.7061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/1.262, allocations: 5.875 kB / 1.102 GB, free: 8.031 MB / 0.7061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/1.262, allocations: 4.609 kB / 1.102 GB, free: 8.027 MB / 0.7061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.282e-06/1.262, allocations: 0 / 1.102 GB, free: 8.027 MB / 0.7061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/1.262, allocations: 4.75 kB / 1.102 GB, free: 8.023 MB / 0.7061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002097/1.262, allocations: 4 kB / 1.102 GB, free: 8.02 MB / 0.7061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.34e-05/1.262, allocations: 9.234 kB / 1.102 GB, free: 8.012 MB / 0.7061 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.0001245/1.262, allocations: 130.7 kB / 1.102 GB, free: 7.871 MB / 0.7061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/1.262, allocations: 8.844 kB / 1.102 GB, free: 7.867 MB / 0.7061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.783e-05/1.262, allocations: 3.156 kB / 1.102 GB, free: 7.863 MB / 0.7061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/1.262, allocations: 5.156 kB / 1.102 GB, free: 7.859 MB / 0.7061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/1.262, allocations: 0 / 1.102 GB, free: 7.859 MB / 0.7061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/1.262, allocations: 0 / 1.102 GB, free: 7.859 MB / 0.7061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/1.263, allocations: 135.9 kB / 1.102 GB, free: 7.691 MB / 0.7061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/1.263, allocations: 3.5 kB / 1.102 GB, free: 7.691 MB / 0.7061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.248e-06/1.263, allocations: 3.984 kB / 1.102 GB, free: 7.688 MB / 0.7061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/1.263, allocations: 0 / 1.102 GB, free: 7.688 MB / 0.7061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/1.263, allocations: 7.938 kB / 1.102 GB, free: 7.68 MB / 0.7061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/1.263, allocations: 0 / 1.102 GB, free: 7.68 MB / 0.7061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.263, allocations: 0 / 1.102 GB, free: 7.68 MB / 0.7061 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002022/1.263, allocations: 85.81 kB / 1.102 GB, free: 7.578 MB / 0.7061 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003339/1.263, allocations: 467.6 kB / 1.103 GB, free: 7.102 MB / 0.7061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.961e-05/1.263, allocations: 81.11 kB / 1.103 GB, free: 7.004 MB / 0.7061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/1.263, allocations: 4.312 kB / 1.103 GB, free: 7 MB / 0.7061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/1.264, allocations: 7.984 kB / 1.103 GB, free: 6.992 MB / 0.7061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.906e-05/1.264, allocations: 9.812 kB / 1.103 GB, free: 6.984 MB / 0.7061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/1.264, allocations: 4 kB / 1.103 GB, free: 6.98 MB / 0.7061 GB Notification: Performance of sort global known variables: time 4.22e-05/1.264, allocations: 75.28 kB / 1.103 GB, free: 6.906 MB / 0.7061 GB Notification: Performance of remove unused functions: time 0.002223/1.266, allocations: 15.91 kB / 1.103 GB, free: 6.891 MB / 0.7061 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.0004461/1.266, allocations: 114.3 kB / 1.103 GB, free: 6.773 MB / 0.7061 GB Notification: Performance of simCode: created initialization part: time 0.0002571/1.267, allocations: 45.7 kB / 1.103 GB, free: 6.723 MB / 0.7061 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/1.267, allocations: 0 / 1.103 GB, free: 6.723 MB / 0.7061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001141/1.267, allocations: 41.64 kB / 1.103 GB, free: 6.676 MB / 0.7061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/1.267, allocations: 7.984 kB / 1.103 GB, free: 6.668 MB / 0.7061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/1.268, allocations: 163.1 kB / 1.103 GB, free: 6.488 MB / 0.7061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005308/1.269, allocations: 0.6841 MB / 1.104 GB, free: 5.777 MB / 0.7061 GB Notification: Performance of SimCode: time 1.823e-06/1.269, allocations: 0 / 1.104 GB, free: 5.777 MB / 0.7061 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1)