Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.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.HeatExchangers.Radiators.Examples.RadiatorEN442_2,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.307/2.307, allocations: 284.8 MB / 292.1 MB, free: 10.79 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.001705/0.001704, allocations: 189.2 kB / 360.3 MB, free: 7.531 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.804/1.804, allocations: 205.1 MB / 0.6187 GB, free: 13.2 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.001304/0.001303, allocations: 87.52 kB / 0.7317 GB, free: 45.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2931/0.2944, allocations: 121.4 MB / 0.8502 GB, free: 3.926 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6489/0.9433, allocations: 115.2 MB / 0.9628 GB, free: 78.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.02/1.964, allocations: 408.1 MB / 1.361 GB, free: 159.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000355/1.964, allocations: 100.6 kB / 1.361 GB, free: 159.8 MB / 0.8542 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 7.428/9.392, allocations: 1.62 GB / 2.982 GB, free: 63.73 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/9.392, allocations: 12 kB / 2.982 GB, free: 63.72 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004765/9.397, allocations: 0.5178 MB / 2.982 GB, free: 63.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08017/9.477, allocations: 17.87 MB / 3 GB, free: 45.12 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003351/9.477, allocations: 92 kB / 3 GB, free: 45.03 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002022/9.48, allocations: 184 kB / 3 GB, free: 44.85 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01689/9.496, allocations: 3.6 MB / 3.003 GB, free: 41.24 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0193/9.516, allocations: 3.94 MB / 3.007 GB, free: 37.12 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001878/9.516, allocations: 11.94 kB / 3.007 GB, free: 37.11 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001056/9.517, allocations: 11.94 kB / 3.007 GB, free: 37.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002272/9.517, allocations: 141.4 kB / 3.007 GB, free: 36.96 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04953/9.567, allocations: 19.61 MB / 3.027 GB, free: 16.14 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007006/9.574, allocations: 2.613 MB / 3.029 GB, free: 13.52 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003417/9.578, allocations: 1.354 MB / 3.03 GB, free: 12.16 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007673/9.578, allocations: 0.5357 MB / 3.031 GB, free: 11.52 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.088e-05/9.578, allocations: 64.55 kB / 3.031 GB, free: 11.45 MB / 0.948 GB Notification: Performance of pre-optimization done (n=184): time 4.559e-06/9.578, allocations: 0 / 3.031 GB, free: 11.45 MB / 0.948 GB Notification: Performance of matching and sorting (n=184): time 0.01163/9.59, allocations: 3.1 MB / 3.034 GB, free: 8.316 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/9.59, allocations: 69.41 kB / 3.034 GB, free: 8.234 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007326/9.597, allocations: 2.925 MB / 3.037 GB, free: 5.309 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000803/9.598, allocations: 33.7 kB / 3.037 GB, free: 5.27 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001536/9.6, allocations: 1.19 MB / 3.038 GB, free: 4.062 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001624/9.602, allocations: 0.6043 MB / 3.039 GB, free: 3.449 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000324/9.602, allocations: 0 / 3.039 GB, free: 3.449 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002212/9.602, allocations: 410.8 kB / 3.039 GB, free: 3.043 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003345/9.605, allocations: 1.258 MB / 3.04 GB, free: 1.781 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.419/10.02, allocations: 1.921 MB / 3.042 GB, free: 228.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005649/10.03, allocations: 1.681 MB / 3.044 GB, free: 228.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.637e-05/10.03, allocations: 3.625 kB / 3.044 GB, free: 228.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.01446/10.04, allocations: 4.021 MB / 3.048 GB, free: 228.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001582/10.05, allocations: 7.239 MB / 3.055 GB, free: 221.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.472e-05/10.05, allocations: 19.47 kB / 3.055 GB, free: 221.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006155/10.05, allocations: 1.034 MB / 3.056 GB, free: 221.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004573/10.06, allocations: 0.4988 MB / 3.056 GB, free: 221.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009583/10.07, allocations: 4.948 MB / 3.061 GB, free: 218.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006778/10.07, allocations: 370.5 kB / 3.062 GB, free: 218.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009399/10.07, allocations: 116.4 kB / 3.062 GB, free: 218.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/10.07, allocations: 3.906 kB / 3.062 GB, free: 218.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01202/10.09, allocations: 3.467 MB / 3.065 GB, free: 218.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001571/10.09, allocations: 18.78 kB / 3.065 GB, free: 218.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008168/10.1, allocations: 1.114 MB / 3.066 GB, free: 218.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004042/10.1, allocations: 480.7 kB / 3.067 GB, free: 218.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007991/10.11, allocations: 3.59 MB / 3.07 GB, free: 216.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005918/10.11, allocations: 300.6 kB / 3.07 GB, free: 216.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009359/10.11, allocations: 115.6 kB / 3.071 GB, free: 216.9 MB / 0.948 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.001157/10.12, allocations: 170.3 kB / 3.071 GB, free: 216.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001721/10.12, allocations: 328.2 kB / 3.071 GB, free: 216.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01107/10.13, allocations: 3.19 MB / 3.074 GB, free: 216.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.953e-05/10.13, allocations: 21.77 kB / 3.074 GB, free: 216.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.919e-05/10.13, allocations: 7.844 kB / 3.074 GB, free: 216.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007658/10.14, allocations: 2.581 MB / 3.077 GB, free: 216.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02191/10.16, allocations: 6.633 MB / 3.083 GB, free: 215.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.423e-05/10.16, allocations: 0 / 3.083 GB, free: 215.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002892/10.16, allocations: 277.1 kB / 3.083 GB, free: 215.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005992/10.17, allocations: 0.9855 MB / 3.084 GB, free: 215.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005137/10.17, allocations: 23.88 kB / 3.084 GB, free: 215.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01019/10.18, allocations: 9.715 MB / 3.094 GB, free: 208 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/10.18, allocations: 0 / 3.094 GB, free: 208 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01264/10.19, allocations: 4.708 MB / 3.099 GB, free: 207.4 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01932/10.21, allocations: 6.762 MB / 3.105 GB, free: 206.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005852/10.22, allocations: 0.8202 MB / 3.106 GB, free: 206.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002484/10.22, allocations: 10.16 kB / 3.106 GB, free: 206.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008584/10.23, allocations: 186.9 kB / 3.106 GB, free: 206.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009677/10.23, allocations: 98.53 kB / 3.106 GB, free: 206.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006719/10.23, allocations: 87.14 kB / 3.106 GB, free: 206.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.008733/10.24, allocations: 2.23 MB / 3.108 GB, free: 206.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.02281/10.26, allocations: 2.332 MB / 3.111 GB, free: 206 MB / 0.948 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.002571/10.26, allocations: 0.6826 MB / 3.111 GB, free: 205.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01645/10.28, allocations: 4.863 MB / 3.116 GB, free: 205.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/10.28, allocations: 0 / 3.116 GB, free: 205.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004712/10.28, allocations: 1.78 MB / 3.118 GB, free: 205.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01513/10.3, allocations: 1.639 MB / 3.119 GB, free: 205.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02256/10.32, allocations: 6.567 MB / 3.126 GB, free: 204 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007173/10.33, allocations: 3.302 MB / 3.129 GB, free: 203.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.473e-06/10.33, allocations: 3.906 kB / 3.129 GB, free: 203.2 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe 2>&1)