Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2",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.1-maint.8.0.x/package.mo): time 1.403/1.403, allocations: 285.5 MB / 292.8 MB, free: 9.867 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.001099/0.001099, allocations: 186.8 kB / 361.1 MB, free: 344 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.19/1.19, allocations: 205.1 MB / 0.6195 GB, free: 2.922 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009388/0.0009388, allocations: 84.58 kB / 0.7326 GB, free: 1.062 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4369/0.4379, allocations: 121.5 MB / 0.8512 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.6254, allocations: 115.3 MB / 0.9638 GB, free: 56.24 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7299/1.355, allocations: 408.3 MB / 1.362 GB, free: 15.04 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/1.356, allocations: 97.44 kB / 1.363 GB, free: 14.98 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 746 * Number of variables: 746 Notification: Performance of Generate backend data structure: time 4.973/6.329, allocations: 1.62 GB / 2.983 GB, free: 186.9 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/6.329, allocations: 11.41 kB / 2.983 GB, free: 186.9 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003946/6.333, allocations: 0.5171 MB / 2.983 GB, free: 186.7 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04086/6.374, allocations: 17.87 MB / 3.001 GB, free: 185.4 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001887/6.374, allocations: 89.69 kB / 3.001 GB, free: 185.4 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001399/6.375, allocations: 179.2 kB / 3.001 GB, free: 185.4 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007626/6.383, allocations: 3.607 MB / 3.005 GB, free: 185.4 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008654/6.392, allocations: 3.936 MB / 3.008 GB, free: 184.9 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001321/6.392, allocations: 17.59 kB / 3.008 GB, free: 184.9 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008471/6.393, allocations: 9.312 kB / 3.008 GB, free: 184.9 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001215/6.393, allocations: 143.6 kB / 3.009 GB, free: 184.9 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02639/6.419, allocations: 19.63 MB / 3.028 GB, free: 174.2 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003968/6.423, allocations: 2.622 MB / 3.03 GB, free: 173.3 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001748/6.425, allocations: 1.363 MB / 3.032 GB, free: 172.9 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000516/6.426, allocations: 0.5334 MB / 3.032 GB, free: 172.3 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.463e-05/6.426, allocations: 63.95 kB / 3.032 GB, free: 172.2 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=184): time 4.869e-06/6.426, allocations: 3.062 kB / 3.032 GB, free: 172.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=184): time 0.006963/6.433, allocations: 3.074 MB / 3.035 GB, free: 171.2 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/6.433, allocations: 76.94 kB / 3.035 GB, free: 171.1 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005784/6.439, allocations: 2.916 MB / 3.038 GB, free: 170 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0006463/6.439, allocations: 32.14 kB / 3.038 GB, free: 170 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001343/6.441, allocations: 1.199 MB / 3.039 GB, free: 169.2 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.001247/6.442, allocations: 0.6054 MB / 3.04 GB, free: 168.7 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004159/6.442, allocations: 0 / 3.04 GB, free: 168.7 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002112/6.443, allocations: 404.1 kB / 3.04 GB, free: 168.4 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001905/6.445, allocations: 1.268 MB / 3.042 GB, free: 167.9 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002136/6.447, allocations: 1.916 MB / 3.043 GB, free: 166.7 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002966/6.45, allocations: 1.674 MB / 3.045 GB, free: 166.1 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.586e-05/6.45, allocations: 5.766 kB / 3.045 GB, free: 166.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.008349/6.458, allocations: 4.025 MB / 3.049 GB, free: 164.8 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.001301/6.459, allocations: 7.233 MB / 3.056 GB, free: 157.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.113e-05/6.459, allocations: 18.41 kB / 3.056 GB, free: 157.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003316/6.463, allocations: 1.042 MB / 3.057 GB, free: 156.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002494/6.465, allocations: 0.5049 MB / 3.058 GB, free: 156.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006149/6.471, allocations: 4.954 MB / 3.062 GB, free: 153.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005651/6.477, allocations: 366.2 kB / 3.063 GB, free: 153.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001013/6.478, allocations: 122.9 kB / 3.063 GB, free: 153.3 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/6.478, allocations: 7.625 kB / 3.063 GB, free: 153.3 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008738/6.487, allocations: 3.458 MB / 3.066 GB, free: 152.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.275e-05/6.487, allocations: 21.53 kB / 3.066 GB, free: 152.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004261/6.491, allocations: 1.114 MB / 3.067 GB, free: 151.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002212/6.494, allocations: 476.4 kB / 3.068 GB, free: 151.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005428/6.499, allocations: 3.587 MB / 3.071 GB, free: 149.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004169/6.503, allocations: 301.6 kB / 3.072 GB, free: 149.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005792/6.504, allocations: 115.5 kB / 3.072 GB, free: 149.6 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (247): * Single equations (assignments): 242 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {5 6,5 40,5 6} Notification: Performance of prepare postOptimizeDAE: time 0.001196/6.505, allocations: 170.9 kB / 3.072 GB, free: 149.4 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001797/6.507, allocations: 330.7 kB / 3.072 GB, free: 149.3 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007921/6.515, allocations: 3.187 MB / 3.075 GB, free: 148.1 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.215e-05/6.515, allocations: 21.22 kB / 3.075 GB, free: 148.1 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.492e-05/6.515, allocations: 4.75 kB / 3.075 GB, free: 148.1 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004357/6.519, allocations: 2.59 MB / 3.078 GB, free: 147.2 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01434/6.534, allocations: 6.624 MB / 3.084 GB, free: 144.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.978e-06/6.534, allocations: 2.281 kB / 3.084 GB, free: 144.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001406/6.535, allocations: 277.6 kB / 3.085 GB, free: 144.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003322/6.538, allocations: 0.9777 MB / 3.086 GB, free: 144.4 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001803/6.539, allocations: 22.36 kB / 3.086 GB, free: 144.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007154/6.546, allocations: 9.725 MB / 3.095 GB, free: 135.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/6.546, allocations: 2.031 kB / 3.095 GB, free: 135.9 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008097/6.554, allocations: 4.703 MB / 3.1 GB, free: 134 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009788/6.564, allocations: 6.762 MB / 3.106 GB, free: 131.1 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002649/6.566, allocations: 0.8314 MB / 3.107 GB, free: 130.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00111/6.568, allocations: 7.719 kB / 3.107 GB, free: 130.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002976/6.571, allocations: 182.7 kB / 3.107 GB, free: 130.5 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002169/6.571, allocations: 96.5 kB / 3.107 GB, free: 130.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00029/6.571, allocations: 86.31 kB / 3.107 GB, free: 130.5 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.004715/6.576, allocations: 2.228 MB / 3.11 GB, free: 129.3 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01263/6.588, allocations: 2.334 MB / 3.112 GB, free: 128.8 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (rad1.vol[1].dynBal.U,rad1.vol[2].dynBal.U,rad1.vol[3].dynBal.U,rad1.vol[4].dynBal.U,rad1.vol[5].dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {5 45} Notification: Performance of Backend phase and start with SimCode phase: time 0.001801/6.59, allocations: 0.683 MB / 3.113 GB, free: 128.5 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.008229/6.599, allocations: 4.863 MB / 3.117 GB, free: 123.9 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/6.599, allocations: 4 kB / 3.117 GB, free: 123.9 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002278/6.601, allocations: 1.78 MB / 3.119 GB, free: 122 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00782/6.609, allocations: 1.642 MB / 3.121 GB, free: 120.5 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0131/6.622, allocations: 6.567 MB / 3.127 GB, free: 114.1 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003525/6.625, allocations: 3.298 MB / 3.13 GB, free: 110.8 MB / 0.9636 GB Notification: Performance of SimCode: time 7.21e-07/6.625, allocations: 0 / 3.13 GB, free: 110.8 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe 2>&1)