Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.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.Examples.Performance.Example1v2,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example1v2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v2,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.552/2.552, allocations: 284.8 MB / 292.1 MB, free: 10.81 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.001612/0.001612, allocations: 181.3 kB / 360.3 MB, free: 7.57 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.86/1.86, allocations: 205.1 MB / 0.6187 GB, free: 13.25 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.001252/0.001252, allocations: 88.17 kB / 0.7317 GB, free: 45.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.283/0.2843, allocations: 121.4 MB / 0.8502 GB, free: 3.988 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6045/0.8888, allocations: 115.2 MB / 0.9627 GB, free: 78.61 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.195/2.084, allocations: 420.7 MB / 1.374 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000712/2.085, allocations: 91.72 kB / 1.374 GB, free: 147.4 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: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 11.17/13.26, allocations: 2.287 GB / 3.661 GB, free: 96.98 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/13.26, allocations: 8.938 kB / 3.661 GB, free: 96.98 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01227/13.27, allocations: 1.256 MB / 3.662 GB, free: 96.37 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05388/13.32, allocations: 12.89 MB / 3.674 GB, free: 89.32 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004852/13.32, allocations: 177.2 kB / 3.675 GB, free: 89.32 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00409/13.33, allocations: 353.3 kB / 3.675 GB, free: 89.31 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.046/13.37, allocations: 18.14 MB / 3.693 GB, free: 72.12 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04231/13.42, allocations: 12.77 MB / 3.705 GB, free: 59.1 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004416/13.42, allocations: 23.78 kB / 3.705 GB, free: 59.07 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004032/13.42, allocations: 8 kB / 3.705 GB, free: 59.07 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001553/13.42, allocations: 140 kB / 3.705 GB, free: 58.93 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1826/13.6, allocations: 62.2 MB / 3.766 GB, free: 12.12 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02159/13.63, allocations: 8.482 MB / 3.774 GB, free: 3.629 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.4837/14.11, allocations: 9.398 MB / 3.783 GB, free: 215.2 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09554/14.2, allocations: 29.52 MB / 3.812 GB, free: 208.6 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01747/14.22, allocations: 7.356 MB / 3.819 GB, free: 208.5 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=301): time 8.686e-06/14.22, allocations: 3.688 kB / 3.819 GB, free: 208.5 MB / 0.9792 GB Notification: Performance of matching and sorting (n=301): time 0.05128/14.27, allocations: 14.93 MB / 3.834 GB, free: 208.4 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.504e-05/14.27, allocations: 86.16 kB / 3.834 GB, free: 208.3 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01839/14.29, allocations: 6.565 MB / 3.841 GB, free: 208 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.002264/14.29, allocations: 33.33 kB / 3.841 GB, free: 207.9 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.005359/14.3, allocations: 2.557 MB / 3.843 GB, free: 207.2 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.006148/14.31, allocations: 1.041 MB / 3.844 GB, free: 206.7 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001563/14.31, allocations: 0 / 3.844 GB, free: 206.7 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0005009/14.31, allocations: 0.4897 MB / 3.845 GB, free: 206.4 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01495/14.32, allocations: 6.247 MB / 3.851 GB, free: 206.4 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01705/14.34, allocations: 8.019 MB / 3.859 GB, free: 204.2 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02007/14.36, allocations: 7.319 MB / 3.866 GB, free: 204.1 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.947e-05/14.36, allocations: 13.88 kB / 3.866 GB, free: 204.1 MB / 0.9792 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.0561/14.42, allocations: 16.74 MB / 3.882 GB, free: 203.6 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.005717/14.42, allocations: 24.46 MB / 3.906 GB, free: 178 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000248/14.42, allocations: 54.52 kB / 3.906 GB, free: 178 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009342/14.43, allocations: 1.61 MB / 3.908 GB, free: 178 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01756/14.45, allocations: 1.568 MB / 3.909 GB, free: 178 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01528/14.46, allocations: 4.652 MB / 3.914 GB, free: 176.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02007/14.49, allocations: 0.6968 MB / 3.914 GB, free: 176.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003409/14.49, allocations: 0.5447 MB / 3.915 GB, free: 176.2 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/14.49, allocations: 3.938 kB / 3.915 GB, free: 176.2 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05103/14.54, allocations: 15.89 MB / 3.93 GB, free: 176 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002163/14.54, allocations: 48.75 kB / 3.93 GB, free: 176 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009105/14.55, allocations: 1.478 MB / 3.932 GB, free: 176 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01678/14.57, allocations: 1.56 MB / 3.933 GB, free: 176 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02087/14.59, allocations: 7.879 MB / 3.941 GB, free: 172.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01914/14.61, allocations: 0.5898 MB / 3.942 GB, free: 172.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003443/14.61, allocations: 0.5299 MB / 3.942 GB, free: 172.7 MB / 0.9792 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.004434/14.61, allocations: 262.7 kB / 3.942 GB, free: 172.6 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004731/14.62, allocations: 0.6942 MB / 3.943 GB, free: 172.2 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05283/14.67, allocations: 14.43 MB / 3.957 GB, free: 172 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.664e-05/14.67, allocations: 35.78 kB / 3.957 GB, free: 172 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/14.67, allocations: 0 / 3.957 GB, free: 172 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0272/14.7, allocations: 10.33 MB / 3.967 GB, free: 171.5 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06158/14.76, allocations: 23.26 MB / 3.99 GB, free: 168.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.6e-05/14.76, allocations: 1.188 kB / 3.99 GB, free: 168.4 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01108/14.77, allocations: 0.6795 MB / 3.991 GB, free: 168.4 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00412/14.78, allocations: 0.8086 MB / 3.991 GB, free: 168.4 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001454/14.78, allocations: 66.86 kB / 3.991 GB, free: 168.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009786/14.79, allocations: 3.404 MB / 3.995 GB, free: 166.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.04e-05/14.79, allocations: 1.219 kB / 3.995 GB, free: 166.8 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05481/14.84, allocations: 18.61 MB / 4.013 GB, free: 158.8 MB / 0.9792 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.06469/14.91, allocations: 26.51 MB / 4.039 GB, free: 146.1 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009158/14.92, allocations: 1.959 MB / 4.041 GB, free: 145.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004346/14.92, allocations: 22.52 kB / 4.041 GB, free: 145.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01371/14.93, allocations: 327.8 kB / 4.041 GB, free: 145.2 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001848/14.94, allocations: 197.8 kB / 4.041 GB, free: 145.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001413/14.94, allocations: 159.8 kB / 4.041 GB, free: 145.2 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.0141/14.95, allocations: 4.994 MB / 4.046 GB, free: 143.6 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.03272/14.98, allocations: 5.038 MB / 4.051 GB, free: 142.8 MB / 0.9792 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.0043/14.99, allocations: 1.182 MB / 4.052 GB, free: 142.5 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.06056/15.05, allocations: 23.14 MB / 4.075 GB, free: 124.9 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.391e-05/15.05, allocations: 4 kB / 4.075 GB, free: 124.9 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.01527/15.06, allocations: 6.117 MB / 4.081 GB, free: 119.2 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03538/15.1, allocations: 3.812 MB / 4.085 GB, free: 116.7 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06093/15.16, allocations: 17.54 MB / 4.102 GB, free: 101.4 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02/15.18, allocations: 6.532 MB / 4.108 GB, free: 96.59 MB / 0.9792 GB Notification: Performance of SimCode: time 1.974e-06/15.18, allocations: 0 / 4.108 GB, free: 96.59 MB / 0.9792 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example1v2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example1v2.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1)