Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.671/1.671, allocations: 289.8 MB / 297.1 MB, free: 9.004 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.001237/0.001237, allocations: 185.2 kB / 366.3 MB, free: 11.32 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.74/1.74, allocations: 205.1 MB / 0.6256 GB, free: 11.48 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009155/0.0009156, allocations: 92.95 kB / 0.7396 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.6631/0.664, allocations: 122.4 MB / 0.8591 GB, free: 148 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.9519, allocations: 116.3 MB / 0.9727 GB, free: 31.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.086/2.038, allocations: 409.3 MB / 1.372 GB, free: 6.25 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003228/2.038, allocations: 92.39 kB / 1.372 GB, free: 6.203 MB / 0.9011 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 6.465/8.503, allocations: 1.62 GB / 2.993 GB, free: 189.3 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/8.503, allocations: 13.62 kB / 2.993 GB, free: 189.3 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00464/8.508, allocations: 0.5219 MB / 2.993 GB, free: 189.1 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04401/8.552, allocations: 17.87 MB / 3.011 GB, free: 187.9 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002084/8.552, allocations: 90.12 kB / 3.011 GB, free: 187.9 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001384/8.554, allocations: 183 kB / 3.011 GB, free: 187.9 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008375/8.562, allocations: 3.604 MB / 3.014 GB, free: 187.9 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01072/8.573, allocations: 3.939 MB / 3.018 GB, free: 187.4 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001871/8.573, allocations: 11.53 kB / 3.018 GB, free: 187.4 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001096/8.574, allocations: 11.39 kB / 3.018 GB, free: 187.4 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001279/8.574, allocations: 146 kB / 3.018 GB, free: 187.3 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03016/8.605, allocations: 19.6 MB / 3.038 GB, free: 177.4 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004087/8.609, allocations: 2.623 MB / 3.04 GB, free: 177.3 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001816/8.611, allocations: 1.357 MB / 3.041 GB, free: 177.3 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005346/8.611, allocations: 0.5387 MB / 3.042 GB, free: 176.7 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.112e-05/8.611, allocations: 62.28 kB / 3.042 GB, free: 176.7 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=184): time 3.918e-06/8.611, allocations: 0 / 3.042 GB, free: 176.7 MB / 0.9792 GB Notification: Performance of matching and sorting (n=184): time 0.007289/8.619, allocations: 3.076 MB / 3.045 GB, free: 176.4 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/8.619, allocations: 76.62 kB / 3.045 GB, free: 176.3 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007397/8.626, allocations: 2.924 MB / 3.048 GB, free: 175.9 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.001023/8.627, allocations: 29.52 kB / 3.048 GB, free: 175.9 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001921/8.629, allocations: 1.205 MB / 3.049 GB, free: 175.1 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.001763/8.631, allocations: 0.6059 MB / 3.05 GB, free: 174.6 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005217/8.631, allocations: 0 / 3.05 GB, free: 174.6 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002715/8.632, allocations: 407.6 kB / 3.05 GB, free: 174.2 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002356/8.634, allocations: 1.256 MB / 3.051 GB, free: 173.8 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002634/8.637, allocations: 1.92 MB / 3.053 GB, free: 172.6 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003425/8.64, allocations: 1.67 MB / 3.055 GB, free: 172 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.177e-05/8.64, allocations: 3.844 kB / 3.055 GB, free: 172 MB / 0.9792 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.008339/8.648, allocations: 4.037 MB / 3.059 GB, free: 170.7 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.00205/8.651, allocations: 7.239 MB / 3.066 GB, free: 163 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.101e-05/8.651, allocations: 15.59 kB / 3.066 GB, free: 163 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003415/8.654, allocations: 1.049 MB / 3.067 GB, free: 162.8 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002634/8.657, allocations: 499.2 kB / 3.067 GB, free: 162.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005695/8.662, allocations: 4.947 MB / 3.072 GB, free: 159.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004933/8.667, allocations: 368 kB / 3.073 GB, free: 159.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003528/8.668, allocations: 125 kB / 3.073 GB, free: 159.1 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/8.668, allocations: 3.719 kB / 3.073 GB, free: 159.1 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005747/8.673, allocations: 3.462 MB / 3.076 GB, free: 158.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/8.674, allocations: 21.59 kB / 3.076 GB, free: 158 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003973/8.678, allocations: 1.114 MB / 3.077 GB, free: 157.8 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001942/8.679, allocations: 476.9 kB / 3.078 GB, free: 157.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00446/8.684, allocations: 3.593 MB / 3.081 GB, free: 155.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004316/8.688, allocations: 301.8 kB / 3.081 GB, free: 155.5 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005896/8.689, allocations: 112.8 kB / 3.082 GB, free: 155.5 MB / 0.9792 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.001119/8.69, allocations: 167 kB / 3.082 GB, free: 155.3 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001794/8.692, allocations: 330.8 kB / 3.082 GB, free: 155.2 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007121/8.699, allocations: 3.198 MB / 3.085 GB, free: 154 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.741e-05/8.699, allocations: 18.56 kB / 3.085 GB, free: 154 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-05/8.699, allocations: 2.281 kB / 3.085 GB, free: 154 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00459/8.704, allocations: 2.588 MB / 3.088 GB, free: 153.1 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01791/8.722, allocations: 6.616 MB / 3.094 GB, free: 150.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/8.722, allocations: 5.078 kB / 3.094 GB, free: 150.6 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001464/8.723, allocations: 275 kB / 3.094 GB, free: 150.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003555/8.727, allocations: 0.9774 MB / 3.095 GB, free: 150.3 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002345/8.727, allocations: 19.42 kB / 3.095 GB, free: 150.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007731/8.735, allocations: 9.728 MB / 3.105 GB, free: 141.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/8.735, allocations: 1.984 kB / 3.105 GB, free: 141.8 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009421/8.744, allocations: 4.717 MB / 3.11 GB, free: 139.8 MB / 0.9792 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01034/8.755, allocations: 6.758 MB / 3.116 GB, free: 136.1 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002976/8.758, allocations: 0.83 MB / 3.117 GB, free: 135.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001284/8.759, allocations: 4.281 kB / 3.117 GB, free: 135.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003429/8.762, allocations: 181.6 kB / 3.117 GB, free: 135.5 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002424/8.763, allocations: 96.28 kB / 3.117 GB, free: 135.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003123/8.763, allocations: 86.97 kB / 3.117 GB, free: 135.4 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.004541/8.767, allocations: 2.232 MB / 3.119 GB, free: 134.2 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.01375/8.781, allocations: 2.33 MB / 3.122 GB, free: 133.7 MB / 0.9792 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.002051/8.783, allocations: 0.6797 MB / 3.122 GB, free: 133.4 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01034/8.794, allocations: 4.867 MB / 3.127 GB, free: 129.4 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/8.794, allocations: 4 kB / 3.127 GB, free: 129.4 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.002482/8.796, allocations: 1.778 MB / 3.129 GB, free: 127.5 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008711/8.805, allocations: 1.639 MB / 3.131 GB, free: 126 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01187/8.817, allocations: 6.577 MB / 3.137 GB, free: 119.6 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002927/8.82, allocations: 3.299 MB / 3.14 GB, free: 116.3 MB / 0.9792 GB Notification: Performance of SimCode: time 1.062e-06/8.82, allocations: 0 / 3.14 GB, free: 116.3 MB / 0.9792 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe 2>&1)