Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.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.HeatExchangers.Radiators.Examples.RadiatorEN442_2,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.254/1.254, allocations: 249.4 MB / 256.7 MB, free: 7.059 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009903/0.0009906, allocations: 181.3 kB / 316 MB, free: 3.531 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.235/1.235, allocations: 205.1 MB / 0.5667 GB, free: 15.6 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.000874/0.0008738, allocations: 89.59 kB / 0.671 GB, free: 4.727 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3661/0.367, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.546, allocations: 106.3 MB / 0.8847 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.069/1.615, allocations: 401.7 MB / 1.277 GB, free: 327.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/1.615, allocations: 97.06 kB / 1.277 GB, free: 327.2 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.145/5.76, allocations: 1.579 GB / 2.856 GB, free: 74.09 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/5.76, allocations: 8 kB / 2.856 GB, free: 74.09 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003039/5.763, allocations: 0.5256 MB / 2.856 GB, free: 73.55 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03443/5.798, allocations: 17.5 MB / 2.873 GB, free: 56.09 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.761e-05/5.798, allocations: 92 kB / 2.873 GB, free: 56 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005686/5.798, allocations: 180 kB / 2.874 GB, free: 55.82 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005018/5.803, allocations: 3.603 MB / 2.877 GB, free: 52.21 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004903/5.808, allocations: 3.89 MB / 2.881 GB, free: 48.14 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.523e-05/5.808, allocations: 19.78 kB / 2.881 GB, free: 48.12 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000277/5.809, allocations: 4 kB / 2.881 GB, free: 48.12 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.874e-05/5.809, allocations: 141.5 kB / 2.881 GB, free: 47.98 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01896/5.828, allocations: 19.57 MB / 2.9 GB, free: 27.35 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003008/5.831, allocations: 2.615 MB / 2.903 GB, free: 24.73 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001342/5.832, allocations: 1.358 MB / 2.904 GB, free: 23.38 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003786/5.832, allocations: 0.5372 MB / 2.905 GB, free: 22.73 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/5.832, allocations: 56.75 kB / 2.905 GB, free: 22.67 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=184): time 3.587e-06/5.832, allocations: 0 / 2.905 GB, free: 22.67 MB / 0.8698 GB Notification: Performance of matching and sorting (n=184): time 0.005514/5.838, allocations: 3.082 MB / 2.908 GB, free: 19.57 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.47e-05/5.838, allocations: 81.39 kB / 2.908 GB, free: 19.47 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003241/5.841, allocations: 2.921 MB / 2.911 GB, free: 16.55 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003087/5.842, allocations: 25.7 kB / 2.911 GB, free: 16.52 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006624/5.842, allocations: 1.196 MB / 2.912 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000695/5.843, allocations: 0.6081 MB / 2.912 GB, free: 14.69 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/5.843, allocations: 0 / 2.912 GB, free: 14.69 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001025/5.843, allocations: 406.9 kB / 2.913 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001421/5.845, allocations: 1.266 MB / 2.914 GB, free: 13.02 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001599/5.846, allocations: 1.922 MB / 2.916 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002483/5.849, allocations: 1.668 MB / 2.917 GB, free: 9.137 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.296e-06/5.849, allocations: 4 kB / 2.917 GB, free: 9.133 MB / 0.8698 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.006497/5.855, allocations: 4.029 MB / 2.921 GB, free: 5.086 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001593/5.857, allocations: 7.238 MB / 2.928 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.115e-05/5.857, allocations: 20 kB / 2.928 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003197/5.86, allocations: 1.04 MB / 2.929 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002295/5.862, allocations: 0.4953 MB / 2.93 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005818/5.868, allocations: 4.95 MB / 2.935 GB, free: 6.684 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003813/5.872, allocations: 369.1 kB / 2.935 GB, free: 6.32 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003234/5.872, allocations: 119.9 kB / 2.935 GB, free: 6.203 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.266e-06/5.872, allocations: 4 kB / 2.935 GB, free: 6.199 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006007/5.878, allocations: 3.456 MB / 2.939 GB, free: 2.734 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.286e-05/5.878, allocations: 28.23 kB / 2.939 GB, free: 2.707 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003988/5.882, allocations: 1.12 MB / 2.94 GB, free: 1.578 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001909/5.884, allocations: 479.2 kB / 2.94 GB, free: 1.109 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2729/6.157, allocations: 3.577 MB / 2.944 GB, free: 222.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003385/6.161, allocations: 301.9 kB / 2.944 GB, free: 222.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002614/6.161, allocations: 119.5 kB / 2.944 GB, free: 222.8 MB / 0.8855 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.000577/6.162, allocations: 164.5 kB / 2.944 GB, free: 222.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000882/6.163, allocations: 324.6 kB / 2.945 GB, free: 222.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004856/6.167, allocations: 3.191 MB / 2.948 GB, free: 222.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/6.167, allocations: 19.03 kB / 2.948 GB, free: 222.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/6.167, allocations: 3.625 kB / 2.948 GB, free: 222.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003348/6.171, allocations: 2.586 MB / 2.95 GB, free: 222.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01275/6.184, allocations: 6.582 MB / 2.957 GB, free: 221.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/6.184, allocations: 3.781 kB / 2.957 GB, free: 221.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001248/6.185, allocations: 273.9 kB / 2.957 GB, free: 221.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002862/6.188, allocations: 0.985 MB / 2.958 GB, free: 221.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001605/6.188, allocations: 21.38 kB / 2.958 GB, free: 221.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005547/6.193, allocations: 9.731 MB / 2.967 GB, free: 214.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/6.193, allocations: 0 / 2.967 GB, free: 214.2 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006015/6.199, allocations: 4.704 MB / 2.972 GB, free: 213.7 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007633/6.207, allocations: 6.756 MB / 2.979 GB, free: 212.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002104/6.209, allocations: 0.8111 MB / 2.979 GB, free: 212.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009732/6.21, allocations: 12.22 kB / 2.979 GB, free: 212.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002692/6.213, allocations: 179.4 kB / 2.98 GB, free: 212.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002075/6.213, allocations: 99.88 kB / 2.98 GB, free: 212.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002246/6.213, allocations: 80.72 kB / 2.98 GB, free: 212.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.003164/6.217, allocations: 2.234 MB / 2.982 GB, free: 212.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.009901/6.227, allocations: 2.319 MB / 2.984 GB, free: 212.2 MB / 0.8855 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.001583/6.228, allocations: 0.6766 MB / 2.985 GB, free: 212.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.008335/6.236, allocations: 4.87 MB / 2.99 GB, free: 212 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/6.237, allocations: 192 / 2.99 GB, free: 212 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002373/6.239, allocations: 1.782 MB / 2.991 GB, free: 211.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008082/6.247, allocations: 1.635 MB / 2.993 GB, free: 211.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01424/6.261, allocations: 6.557 MB / 2.999 GB, free: 210.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003958/6.265, allocations: 3.303 MB / 3.003 GB, free: 209.5 MB / 0.8855 GB Notification: Performance of SimCode: time 7.82e-07/6.265, allocations: 0 / 3.003 GB, free: 209.5 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe 2>&1)