Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v2,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example1v2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v2,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.392/1.392, allocations: 285.5 MB / 292.8 MB, free: 9.797 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.001075/0.001075, allocations: 183.5 kB / 361.1 MB, free: 392 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.171/1.171, allocations: 205.1 MB / 0.6195 GB, free: 2.844 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008278/0.0008276, allocations: 98.27 kB / 0.7326 GB, free: 1.062 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4258/0.4267, allocations: 121.4 MB / 0.8511 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.5978, allocations: 115.3 MB / 0.9638 GB, free: 56.3 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7078/1.306, allocations: 420.9 MB / 1.375 GB, free: 1.719 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/1.306, allocations: 90.02 kB / 1.375 GB, free: 1.676 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: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 6.976/8.282, allocations: 2.287 GB / 3.662 GB, free: 153.8 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/8.282, allocations: 11.53 kB / 3.662 GB, free: 153.8 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00905/8.291, allocations: 1.26 MB / 3.663 GB, free: 153.3 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02965/8.321, allocations: 12.88 MB / 3.676 GB, free: 152 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002746/8.321, allocations: 177 kB / 3.676 GB, free: 152 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002346/8.324, allocations: 354.8 kB / 3.676 GB, free: 152 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02327/8.347, allocations: 18.13 MB / 3.694 GB, free: 152 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02238/8.369, allocations: 12.77 MB / 3.706 GB, free: 151.2 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000178/8.369, allocations: 19.45 kB / 3.706 GB, free: 151.2 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001576/8.371, allocations: 14.38 kB / 3.706 GB, free: 151.2 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.748e-05/8.371, allocations: 137.8 kB / 3.706 GB, free: 151.2 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09847/8.47, allocations: 62.2 MB / 3.767 GB, free: 131.1 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01003/8.48, allocations: 8.479 MB / 3.775 GB, free: 131 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01029/8.49, allocations: 9.4 MB / 3.785 GB, free: 130.8 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05326/8.543, allocations: 29.53 MB / 3.813 GB, free: 123 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01025/8.554, allocations: 7.355 MB / 3.821 GB, free: 122.9 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=301): time 6.081e-06/8.554, allocations: 4.25 kB / 3.821 GB, free: 122.9 MB / 0.9792 GB Notification: Performance of matching and sorting (n=301): time 0.03139/8.585, allocations: 14.94 MB / 3.835 GB, free: 122.3 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.635e-05/8.585, allocations: 82.75 kB / 3.835 GB, free: 122.2 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01698/8.602, allocations: 6.566 MB / 3.842 GB, free: 121.8 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.001908/8.604, allocations: 33.11 kB / 3.842 GB, free: 121.8 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.004429/8.609, allocations: 2.558 MB / 3.844 GB, free: 120.5 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.004334/8.613, allocations: 1.047 MB / 3.845 GB, free: 119.8 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001735/8.615, allocations: 4 kB / 3.845 GB, free: 119.8 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0003385/8.615, allocations: 495.9 kB / 3.846 GB, free: 119.5 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008721/8.624, allocations: 6.246 MB / 3.852 GB, free: 118.9 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009838/8.634, allocations: 8.022 MB / 3.86 GB, free: 114.1 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01203/8.646, allocations: 7.315 MB / 3.867 GB, free: 111.4 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.487e-05/8.646, allocations: 17.59 kB / 3.867 GB, free: 111.4 MB / 0.9792 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.03515/8.681, allocations: 16.73 MB / 3.883 GB, free: 101.7 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.004302/8.685, allocations: 24.47 MB / 3.907 GB, free: 75.51 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000141/8.685, allocations: 48 kB / 3.907 GB, free: 75.46 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004446/8.69, allocations: 1.609 MB / 3.909 GB, free: 74.23 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008065/8.698, allocations: 1.567 MB / 3.91 GB, free: 73.25 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006919/8.705, allocations: 4.639 MB / 3.915 GB, free: 69.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01134/8.716, allocations: 0.6938 MB / 3.915 GB, free: 68.6 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002158/8.718, allocations: 0.5452 MB / 3.916 GB, free: 68.28 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/8.719, allocations: 6.438 kB / 3.916 GB, free: 68.27 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02655/8.745, allocations: 15.91 MB / 3.932 GB, free: 55.39 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001355/8.745, allocations: 46.16 kB / 3.932 GB, free: 55.35 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004173/8.749, allocations: 1.472 MB / 3.933 GB, free: 54.26 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007695/8.757, allocations: 1.574 MB / 3.935 GB, free: 53.27 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01054/8.768, allocations: 7.871 MB / 3.942 GB, free: 46.13 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0101/8.778, allocations: 0.5833 MB / 3.943 GB, free: 45.64 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001953/8.78, allocations: 0.5419 MB / 3.943 GB, free: 45.31 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.002771/8.783, allocations: 259.1 kB / 3.944 GB, free: 45.12 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003093/8.786, allocations: 0.6981 MB / 3.944 GB, free: 44.42 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02893/8.815, allocations: 14.43 MB / 3.958 GB, free: 32.42 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.558e-05/8.815, allocations: 35.94 kB / 3.958 GB, free: 32.39 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.427e-06/8.815, allocations: 3.906 kB / 3.958 GB, free: 32.39 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01263/8.827, allocations: 10.34 MB / 3.968 GB, free: 23.07 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03074/8.858, allocations: 23.24 MB / 3.991 GB, free: 3.426 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/8.858, allocations: 8.062 kB / 3.991 GB, free: 3.418 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004819/8.863, allocations: 0.6713 MB / 3.992 GB, free: 2.887 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00195/8.865, allocations: 0.8168 MB / 3.993 GB, free: 2.188 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005077/8.865, allocations: 65.67 kB / 3.993 GB, free: 2.141 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004894/8.87, allocations: 3.456 MB / 3.996 GB, free: 15.04 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/8.87, allocations: 8 kB / 3.996 GB, free: 15.04 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.3898/9.26, allocations: 18.96 MB / 4.015 GB, free: 230 MB / 0.9948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03041/9.291, allocations: 26.5 MB / 4.04 GB, free: 229.1 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005712/9.296, allocations: 1.966 MB / 4.042 GB, free: 229 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002051/9.298, allocations: 27.41 kB / 4.042 GB, free: 229 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005848/9.304, allocations: 327 kB / 4.043 GB, free: 229 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006885/9.305, allocations: 198.6 kB / 4.043 GB, free: 229 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005651/9.306, allocations: 157.1 kB / 4.043 GB, free: 229 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.006415/9.312, allocations: 4.999 MB / 4.048 GB, free: 228.8 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.01795/9.33, allocations: 5.034 MB / 4.053 GB, free: 228.6 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.002619/9.333, allocations: 1.173 MB / 4.054 GB, free: 228.5 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.03272/9.365, allocations: 23.15 MB / 4.077 GB, free: 228.1 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/9.365, allocations: 6.531 kB / 4.077 GB, free: 228.1 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.009243/9.375, allocations: 6.11 MB / 4.083 GB, free: 228 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02097/9.396, allocations: 3.813 MB / 4.086 GB, free: 228 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03413/9.43, allocations: 17.55 MB / 4.103 GB, free: 225.5 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009487/9.439, allocations: 6.537 MB / 4.11 GB, free: 224.6 MB / 0.9948 GB Notification: Performance of SimCode: time 8.92e-07/9.439, allocations: 0 / 4.11 GB, free: 224.6 MB / 0.9948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example1v2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example1v2.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1)