Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.SingleUTubeResistances,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",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.287/2.287, allocations: 284.8 MB / 292.1 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001694/0.001694, allocations: 181.2 kB / 360.3 MB, free: 7.555 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.953/1.953, allocations: 205.1 MB / 0.6187 GB, free: 13.22 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001271/0.00127, allocations: 96.52 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2664/0.2677, allocations: 121.4 MB / 0.8502 GB, free: 3.938 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6461/0.9138, allocations: 115.2 MB / 0.9628 GB, free: 78.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2341/1.148, allocations: 140.1 MB / 1.1 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003181/1.148, allocations: 90.67 kB / 1.1 GB, free: 0.6992 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.02388/1.172, allocations: 3.434 MB / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.757e-05/1.172, allocations: 12.5 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/1.173, allocations: 79.19 kB / 1.103 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004324/1.173, allocations: 270.2 kB / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.651e-05/1.173, allocations: 150.6 kB / 1.104 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.94e-05/1.173, allocations: 157.2 kB / 1.104 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7e-05/1.173, allocations: 154.6 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.311e-05/1.173, allocations: 101 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.696e-05/1.173, allocations: 75.28 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.856e-05/1.173, allocations: 154.5 kB / 1.104 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.9e-05/1.174, allocations: 154.6 kB / 1.104 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003994/1.174, allocations: 447.8 kB / 1.105 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.158e-05/1.174, allocations: 169.1 kB / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.072e-05/1.174, allocations: 80.14 kB / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.502e-05/1.174, allocations: 79.28 kB / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.883e-05/1.174, allocations: 109.8 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 2.725e-06/1.174, allocations: 0 / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 0.0001036/1.174, allocations: 33.55 kB / 1.105 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/1.174, allocations: 55.41 kB / 1.105 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/1.175, allocations: 117.3 kB / 1.105 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/1.175, allocations: 25.7 kB / 1.105 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.353e-05/1.175, allocations: 92.06 kB / 1.105 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.176e-06/1.175, allocations: 4 kB / 1.105 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-06/1.175, allocations: 0 / 1.105 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001349/1.175, allocations: 326.7 kB / 1.106 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.659e-05/1.175, allocations: 4 kB / 1.106 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.671e-05/1.175, allocations: 0 / 1.106 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002188/1.175, allocations: 27.97 kB / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.175, allocations: 0 / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003175/1.175, allocations: 65.58 kB / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/1.175, allocations: 4 kB / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.943e-05/1.176, allocations: 9.969 kB / 1.106 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/1.176, allocations: 0 / 1.106 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.264e-06/1.176, allocations: 64 / 1.106 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/1.176, allocations: 4 kB / 1.106 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.302e-05/1.176, allocations: 0 / 1.106 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/1.176, allocations: 0 / 1.106 GB, free: 10.22 MB / 0.7136 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: 0 * Record equations: 1 * 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.0001657/1.176, allocations: 195.9 kB / 1.106 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/1.176, allocations: 104.9 kB / 1.106 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.366e-05/1.176, allocations: 108.6 kB / 1.106 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001111/1.176, allocations: 186.9 kB / 1.106 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001157/1.176, allocations: 177.7 kB / 1.107 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001211/1.177, allocations: 185 kB / 1.107 GB, free: 9.242 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002824/1.177, allocations: 393.7 kB / 1.107 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.136e-05/1.177, allocations: 101 kB / 1.107 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.487e-05/1.177, allocations: 105 kB / 1.107 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.3e-05/1.177, allocations: 188.2 kB / 1.108 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.413e-05/1.177, allocations: 180.2 kB / 1.108 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.606e-05/1.177, allocations: 176.3 kB / 1.108 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.639e-05/1.177, allocations: 188.1 kB / 1.108 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00022/1.178, allocations: 315.4 kB / 1.108 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002894/1.178, allocations: 0.672 MB / 1.109 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.22e-05/1.178, allocations: 182 kB / 1.109 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.222e-05/1.178, allocations: 188.2 kB / 1.109 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/1.178, allocations: 109 kB / 1.109 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.262e-05/1.178, allocations: 176.3 kB / 1.11 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.307e-05/1.178, allocations: 105.3 kB / 1.11 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.624e-05/1.178, allocations: 106 kB / 1.11 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001267/1.18, allocations: 39.94 kB / 1.11 GB, free: 5.887 MB / 0.7136 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.0004526/1.18, allocations: 242.3 kB / 1.11 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001165/1.18, allocations: 37.72 kB / 1.11 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.18, allocations: 0 / 1.11 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.315e-06/1.18, allocations: 0 / 1.11 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004811/1.181, allocations: 0.5347 MB / 1.111 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00028/1.181, allocations: 139.9 kB / 1.111 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003253/1.181, allocations: 0.6958 MB / 1.111 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of SimCode: time 1.262e-06/1.181, allocations: 0 / 1.111 GB, free: 4.176 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1)