Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.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.Examples.Performance.Example1v2,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_Example1v2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v2,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_Example1v2",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.755/1.755, allocations: 289.8 MB / 297.1 MB, free: 6.594 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.001967/0.001967, allocations: 177.3 kB / 366.3 MB, free: 1.949 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.468/1.468, allocations: 205.1 MB / 0.6256 GB, free: 5.797 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.0008988/0.0008987, allocations: 94.02 kB / 0.7396 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2604/0.2614, allocations: 122.4 MB / 0.8591 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6381/0.8995, allocations: 116.3 MB / 0.9726 GB, free: 68.42 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.044/1.944, allocations: 421.9 MB / 1.385 GB, free: 61.97 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/1.944, allocations: 89.45 kB / 1.385 GB, free: 61.93 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 8.829/10.77, allocations: 2.287 GB / 3.672 GB, free: 102.5 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/10.77, allocations: 12 kB / 3.672 GB, free: 102.4 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01093/10.78, allocations: 1.253 MB / 3.673 GB, free: 101.2 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04013/10.82, allocations: 12.89 MB / 3.685 GB, free: 88.47 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005101/10.82, allocations: 184 kB / 3.686 GB, free: 88.29 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004015/10.83, allocations: 351.9 kB / 3.686 GB, free: 87.95 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03121/10.86, allocations: 18.13 MB / 3.704 GB, free: 69.8 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0354/10.9, allocations: 12.77 MB / 3.716 GB, free: 56.78 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005592/10.9, allocations: 19.78 kB / 3.716 GB, free: 56.76 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004045/10.9, allocations: 12 kB / 3.716 GB, free: 56.75 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000164/10.9, allocations: 136 kB / 3.716 GB, free: 56.61 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1276/11.03, allocations: 62.2 MB / 3.777 GB, free: 9.781 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01346/11.04, allocations: 8.466 MB / 3.785 GB, free: 1.305 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.6389/11.68, allocations: 9.407 MB / 3.794 GB, free: 216.7 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06439/11.74, allocations: 29.53 MB / 3.823 GB, free: 210.1 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01235/11.76, allocations: 7.352 MB / 3.83 GB, free: 210 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=301): time 7.494e-06/11.76, allocations: 0 / 3.83 GB, free: 210 MB / 0.9948 GB Notification: Performance of matching and sorting (n=301): time 0.03795/11.8, allocations: 14.93 MB / 3.845 GB, free: 209.9 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.615e-05/11.8, allocations: 86.53 kB / 3.845 GB, free: 209.8 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02069/11.82, allocations: 6.564 MB / 3.852 GB, free: 209.5 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.003665/11.82, allocations: 32.83 kB / 3.852 GB, free: 209.4 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00608/11.83, allocations: 2.548 MB / 3.854 GB, free: 208.7 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.005253/11.83, allocations: 1.05 MB / 3.855 GB, free: 208.2 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00215/11.83, allocations: 0 / 3.855 GB, free: 208.2 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0005594/11.83, allocations: 490.9 kB / 3.856 GB, free: 207.9 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009757/11.84, allocations: 6.249 MB / 3.862 GB, free: 207.9 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01187/11.86, allocations: 8.021 MB / 3.87 GB, free: 205.7 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0141/11.87, allocations: 7.324 MB / 3.877 GB, free: 205.6 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001206/11.87, allocations: 13.69 kB / 3.877 GB, free: 205.6 MB / 0.9948 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.04139/11.91, allocations: 16.74 MB / 3.893 GB, free: 205.1 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.007275/11.92, allocations: 24.47 MB / 3.917 GB, free: 179.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002479/11.92, allocations: 48.31 kB / 3.917 GB, free: 179.5 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005244/11.92, allocations: 1.611 MB / 3.919 GB, free: 179.5 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009804/11.93, allocations: 1.566 MB / 3.92 GB, free: 179.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008464/11.94, allocations: 4.64 MB / 3.925 GB, free: 177.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0144/11.96, allocations: 0.6974 MB / 3.925 GB, free: 177.8 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003487/11.96, allocations: 0.5441 MB / 3.926 GB, free: 177.8 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/11.96, allocations: 3.719 kB / 3.926 GB, free: 177.8 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03613/12, allocations: 15.9 MB / 3.941 GB, free: 177.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002554/12, allocations: 47.31 kB / 3.941 GB, free: 177.5 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004726/12, allocations: 1.48 MB / 3.943 GB, free: 177.5 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009905/12.01, allocations: 1.56 MB / 3.944 GB, free: 177.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01344/12.03, allocations: 7.877 MB / 3.952 GB, free: 174.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01348/12.04, allocations: 0.5955 MB / 3.953 GB, free: 174.2 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003426/12.04, allocations: 0.5345 MB / 3.953 GB, free: 174.2 MB / 0.9948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: val.port_internal.h_outflow:VARIABLE(min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 protected = true ) "Specific thermodynamic enthalpy close to the connection point if m_flow < 0" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 215 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (524): * Single equations (assignments): 519 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {3 4,2 5,20 21} Notification: Performance of prepare postOptimizeDAE: time 0.005236/12.05, allocations: 248.5 kB / 3.953 GB, free: 174.1 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005297/12.05, allocations: 0.6996 MB / 3.954 GB, free: 173.7 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03687/12.09, allocations: 14.44 MB / 3.968 GB, free: 173.5 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.583e-05/12.09, allocations: 33.69 kB / 3.968 GB, free: 173.5 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-05/12.09, allocations: 0 / 3.968 GB, free: 173.5 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02155/12.11, allocations: 10.32 MB / 3.978 GB, free: 173 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05451/12.17, allocations: 23.27 MB / 4.001 GB, free: 168.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.873e-05/12.17, allocations: 3.062 kB / 4.001 GB, free: 168.8 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006312/12.17, allocations: 0.683 MB / 4.002 GB, free: 168.8 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002359/12.17, allocations: 0.8047 MB / 4.002 GB, free: 168.6 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001324/12.18, allocations: 73.14 kB / 4.003 GB, free: 168.6 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004676/12.18, allocations: 3.391 MB / 4.006 GB, free: 166.6 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/12.18, allocations: 0 / 4.006 GB, free: 166.6 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03597/12.22, allocations: 18.62 MB / 4.024 GB, free: 157.9 MB / 0.9948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04684/12.26, allocations: 26.5 MB / 4.05 GB, free: 145.2 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009187/12.27, allocations: 1.966 MB / 4.052 GB, free: 144.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005349/12.28, allocations: 20.98 kB / 4.052 GB, free: 144.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01076/12.29, allocations: 321.5 kB / 4.052 GB, free: 144.3 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001774/12.29, allocations: 196 kB / 4.052 GB, free: 144.3 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001706/12.29, allocations: 162.6 kB / 4.052 GB, free: 144.3 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.01656/12.31, allocations: 4.998 MB / 4.057 GB, free: 142.7 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.03597/12.35, allocations: 5.034 MB / 4.062 GB, free: 141.9 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (303): * Single equations (assignments): 294 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {3 4,20 21,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.005204/12.35, allocations: 1.187 MB / 4.063 GB, free: 141.7 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.04243/12.39, allocations: 23.14 MB / 4.086 GB, free: 130.4 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.621e-05/12.39, allocations: 0 / 4.086 GB, free: 130.4 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.009959/12.4, allocations: 6.118 MB / 4.092 GB, free: 124.8 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0243/12.43, allocations: 3.82 MB / 4.096 GB, free: 122.2 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04619/12.47, allocations: 17.54 MB / 4.113 GB, free: 106.8 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01083/12.48, allocations: 6.534 MB / 4.119 GB, free: 102.1 MB / 0.9948 GB Notification: Performance of SimCode: time 1.252e-06/12.48, allocations: 0 / 4.119 GB, free: 102.1 MB / 0.9948 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_Example1v2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_Example1v2.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1)