Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.228/2.228, allocations: 390.4 MB / 397.7 MB, free: 11.24 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 182.4 kB / 490.8 MB, free: 1.922 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.637/1.637, allocations: 221.3 MB / 0.7863 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 97.86 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.78/0.7813, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/1.151, allocations: 143 MB / 1.212 GB, free: 40 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.312/2.463, allocations: 421.1 MB / 1.623 GB, free: 10.57 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003102/2.463, allocations: 97.94 kB / 1.623 GB, free: 10.52 MB / 1.042 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.489/8.952, allocations: 1.673 GB / 3.296 GB, free: 198.7 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/8.952, allocations: 7.438 kB / 3.296 GB, free: 198.7 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0059/8.958, allocations: 0.5337 MB / 3.297 GB, free: 198.5 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05367/9.012, allocations: 18.32 MB / 3.314 GB, free: 188.3 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003808/9.012, allocations: 91.5 kB / 3.315 GB, free: 188.3 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002576/9.015, allocations: 177.5 kB / 3.315 GB, free: 188.3 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0143/9.029, allocations: 3.607 MB / 3.318 GB, free: 186.6 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01431/9.044, allocations: 3.946 MB / 3.322 GB, free: 184.3 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002004/9.044, allocations: 7.594 kB / 3.322 GB, free: 184.3 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001189/9.045, allocations: 17.42 kB / 3.322 GB, free: 184.3 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002262/9.045, allocations: 150.5 kB / 3.322 GB, free: 184.3 MB / 1.182 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03682/9.082, allocations: 19.64 MB / 3.341 GB, free: 168.1 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005891/9.088, allocations: 2.605 MB / 3.344 GB, free: 166.9 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002744/9.091, allocations: 1.357 MB / 3.345 GB, free: 166.2 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007005/9.092, allocations: 0.5383 MB / 3.346 GB, free: 165.6 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.281e-05/9.092, allocations: 59.88 kB / 3.346 GB, free: 165.6 MB / 1.182 GB Notification: Performance of pre-optimization done (n=184): time 4.478e-06/9.092, allocations: 3.938 kB / 3.346 GB, free: 165.6 MB / 1.182 GB Notification: Performance of matching and sorting (n=184): time 0.01118/9.103, allocations: 3.085 MB / 3.349 GB, free: 164.1 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.178e-05/9.103, allocations: 74.34 kB / 3.349 GB, free: 164 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01191/9.115, allocations: 2.979 MB / 3.352 GB, free: 162.5 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.001139/9.116, allocations: 32.8 kB / 3.352 GB, free: 162.5 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.002399/9.119, allocations: 1.198 MB / 3.353 GB, free: 161.5 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.002355/9.121, allocations: 0.604 MB / 3.354 GB, free: 160.9 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008726/9.122, allocations: 0.625 kB / 3.354 GB, free: 160.9 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0004091/9.122, allocations: 412.2 kB / 3.354 GB, free: 160.6 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003419/9.126, allocations: 1.26 MB / 3.355 GB, free: 160 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0038/9.13, allocations: 1.924 MB / 3.357 GB, free: 158.4 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003846/9.134, allocations: 1.674 MB / 3.359 GB, free: 156.8 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.352e-05/9.134, allocations: 4 kB / 3.359 GB, free: 156.8 MB / 1.182 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.0115/9.145, allocations: 4.039 MB / 3.363 GB, free: 152.8 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001596/9.147, allocations: 7.267 MB / 3.37 GB, free: 145.1 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-05/9.147, allocations: 23.06 kB / 3.37 GB, free: 145.1 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003392/9.15, allocations: 1.038 MB / 3.371 GB, free: 144 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00269/9.153, allocations: 0.5025 MB / 3.371 GB, free: 143.5 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005875/9.159, allocations: 4.939 MB / 3.376 GB, free: 138.5 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005756/9.165, allocations: 367.1 kB / 3.377 GB, free: 138.1 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005861/9.165, allocations: 123.9 kB / 3.377 GB, free: 138 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/9.165, allocations: 0 / 3.377 GB, free: 138 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007373/9.173, allocations: 3.465 MB / 3.38 GB, free: 134.5 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.242e-05/9.173, allocations: 23.31 kB / 3.38 GB, free: 134.5 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003957/9.177, allocations: 1.115 MB / 3.381 GB, free: 133.4 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002107/9.179, allocations: 482.5 kB / 3.382 GB, free: 132.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004328/9.183, allocations: 3.585 MB / 3.385 GB, free: 129.3 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004461/9.188, allocations: 300.2 kB / 3.385 GB, free: 129 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003831/9.188, allocations: 119.9 kB / 3.386 GB, free: 128.9 MB / 1.182 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.0009236/9.189, allocations: 171.8 kB / 3.386 GB, free: 128.7 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001542/9.191, allocations: 339.9 kB / 3.386 GB, free: 128.4 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00598/9.197, allocations: 3.179 MB / 3.389 GB, free: 125.2 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.222e-05/9.197, allocations: 23.03 kB / 3.389 GB, free: 125.2 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.417e-05/9.197, allocations: 3.906 kB / 3.389 GB, free: 125.2 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003668/9.2, allocations: 2.586 MB / 3.392 GB, free: 122.6 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01384/9.214, allocations: 6.655 MB / 3.398 GB, free: 115.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/9.214, allocations: 0 / 3.398 GB, free: 115.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001322/9.216, allocations: 275.6 kB / 3.398 GB, free: 115.6 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003095/9.219, allocations: 0.9835 MB / 3.399 GB, free: 114.6 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001905/9.219, allocations: 19.98 kB / 3.399 GB, free: 114.6 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006373/9.225, allocations: 9.708 MB / 3.409 GB, free: 104.3 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/9.225, allocations: 0 / 3.409 GB, free: 104.3 MB / 1.182 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007232/9.233, allocations: 4.729 MB / 3.413 GB, free: 99.51 MB / 1.182 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008865/9.241, allocations: 6.773 MB / 3.42 GB, free: 92.69 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002907/9.244, allocations: 0.8245 MB / 3.421 GB, free: 91.84 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008306/9.245, allocations: 8 kB / 3.421 GB, free: 91.84 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00245/9.248, allocations: 189.4 kB / 3.421 GB, free: 91.67 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002166/9.248, allocations: 93.84 kB / 3.421 GB, free: 91.58 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002145/9.248, allocations: 87.94 kB / 3.421 GB, free: 91.49 MB / 1.182 GB Notification: Performance of sort global known variables: time 0.003221/9.251, allocations: 2.275 MB / 3.423 GB, free: 89.23 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.01114/9.263, allocations: 2.33 MB / 3.426 GB, free: 86.89 MB / 1.182 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.001774/9.264, allocations: 0.6771 MB / 3.426 GB, free: 86.34 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.008982/9.273, allocations: 4.877 MB / 3.431 GB, free: 81.49 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/9.273, allocations: 0 / 3.431 GB, free: 81.49 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.002527/9.276, allocations: 1.778 MB / 3.433 GB, free: 79.67 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009368/9.285, allocations: 1.652 MB / 3.435 GB, free: 78.16 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01501/9.3, allocations: 6.624 MB / 3.441 GB, free: 71.65 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003497/9.304, allocations: 3.321 MB / 3.444 GB, free: 68.31 MB / 1.182 GB Notification: Performance of SimCode: time 1.092e-06/9.304, allocations: 0 / 3.444 GB, free: 68.31 MB / 1.182 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe 2>&1)