Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example1v2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v2,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.223/1.223, allocations: 249.4 MB / 256.7 MB, free: 7.039 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009917/0.0009917, allocations: 185.2 kB / 316 MB, free: 3.547 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.105/1.105, allocations: 205.2 MB / 0.5667 GB, free: 15.67 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008211/0.0008211, allocations: 82.23 kB / 0.671 GB, free: 4.809 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2997/0.3005, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.4471, allocations: 106.3 MB / 0.8847 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8891/1.336, allocations: 415.6 MB / 1.291 GB, free: 318.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001905/1.336, allocations: 91.41 kB / 1.291 GB, free: 318.7 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 5.804/7.141, allocations: 2.287 GB / 3.577 GB, free: 59.42 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/7.141, allocations: 8 kB / 3.577 GB, free: 59.41 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007889/7.149, allocations: 1.257 MB / 3.579 GB, free: 58.15 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02835/7.177, allocations: 12.88 MB / 3.591 GB, free: 45.44 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003831/7.178, allocations: 183.8 kB / 3.591 GB, free: 45.26 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002603/7.18, allocations: 351.9 kB / 3.592 GB, free: 44.91 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02153/7.202, allocations: 18.13 MB / 3.609 GB, free: 26.77 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01708/7.219, allocations: 12.76 MB / 3.622 GB, free: 13.75 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001446/7.219, allocations: 23.77 kB / 3.622 GB, free: 13.72 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001285/7.22, allocations: 12 kB / 3.622 GB, free: 13.71 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-05/7.221, allocations: 140 kB / 3.622 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4357/7.656, allocations: 62.2 MB / 3.683 GB, free: 168.3 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008843/7.665, allocations: 8.477 MB / 3.691 GB, free: 168.2 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009859/7.675, allocations: 9.398 MB / 3.7 GB, free: 168 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05443/7.73, allocations: 29.53 MB / 3.729 GB, free: 161.3 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00882/7.738, allocations: 7.355 MB / 3.736 GB, free: 161.2 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=301): time 9.528e-06/7.738, allocations: 0 / 3.736 GB, free: 161.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=301): time 0.02522/7.764, allocations: 14.94 MB / 3.751 GB, free: 161 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/7.764, allocations: 86.19 kB / 3.751 GB, free: 161 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009391/7.773, allocations: 6.556 MB / 3.757 GB, free: 160.6 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.001822/7.775, allocations: 35.39 kB / 3.757 GB, free: 160.6 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002915/7.778, allocations: 2.563 MB / 3.76 GB, free: 159.7 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.00366/7.782, allocations: 1.045 MB / 3.761 GB, free: 159.2 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006676/7.782, allocations: 0 / 3.761 GB, free: 159.2 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001951/7.783, allocations: 493.6 kB / 3.761 GB, free: 158.9 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006155/7.789, allocations: 6.246 MB / 3.768 GB, free: 158.8 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007291/7.796, allocations: 8.023 MB / 3.775 GB, free: 156.7 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01043/7.806, allocations: 7.313 MB / 3.782 GB, free: 156.6 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.621e-05/7.807, allocations: 17.34 kB / 3.782 GB, free: 156.6 MB / 0.9167 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.03045/7.837, allocations: 16.73 MB / 3.799 GB, free: 156.1 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.003603/7.841, allocations: 24.46 MB / 3.823 GB, free: 130.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001017/7.841, allocations: 51.94 kB / 3.823 GB, free: 130.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004627/7.845, allocations: 1.599 MB / 3.824 GB, free: 130.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008038/7.853, allocations: 1.58 MB / 3.826 GB, free: 130.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007195/7.861, allocations: 4.634 MB / 3.83 GB, free: 128.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01138/7.872, allocations: 0.6957 MB / 3.831 GB, free: 128.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002817/7.875, allocations: 0.5435 MB / 3.832 GB, free: 128.7 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/7.875, allocations: 3.875 kB / 3.832 GB, free: 128.7 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02557/7.901, allocations: 15.9 MB / 3.847 GB, free: 128.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001789/7.901, allocations: 46.91 kB / 3.847 GB, free: 128.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004284/7.905, allocations: 1.47 MB / 3.849 GB, free: 128.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008431/7.914, allocations: 1.574 MB / 3.85 GB, free: 128.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0105/7.924, allocations: 7.88 MB / 3.858 GB, free: 125.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01113/7.935, allocations: 0.5906 MB / 3.858 GB, free: 125.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002297/7.938, allocations: 0.5339 MB / 3.859 GB, free: 125.2 MB / 0.9167 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.002142/7.94, allocations: 261.5 kB / 3.859 GB, free: 125.1 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002518/7.942, allocations: 0.6974 MB / 3.86 GB, free: 124.7 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02712/7.969, allocations: 14.43 MB / 3.874 GB, free: 124.4 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.748e-05/7.969, allocations: 38.38 kB / 3.874 GB, free: 124.4 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/7.969, allocations: 0 / 3.874 GB, free: 124.4 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01387/7.983, allocations: 10.33 MB / 3.884 GB, free: 120.7 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03437/8.018, allocations: 23.25 MB / 3.907 GB, free: 109.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/8.018, allocations: 3.875 kB / 3.907 GB, free: 109.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005014/8.023, allocations: 0.683 MB / 3.907 GB, free: 109.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002086/8.025, allocations: 0.8079 MB / 3.908 GB, free: 109.6 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007876/8.026, allocations: 64.7 kB / 3.908 GB, free: 109.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003834/8.03, allocations: 3.409 MB / 3.912 GB, free: 107.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/8.03, allocations: 5.719 kB / 3.912 GB, free: 107.4 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02239/8.052, allocations: 18.61 MB / 3.93 GB, free: 98.77 MB / 0.9167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03364/8.086, allocations: 26.51 MB / 3.956 GB, free: 85.39 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006174/8.092, allocations: 1.961 MB / 3.958 GB, free: 83.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003299/8.095, allocations: 23.89 kB / 3.958 GB, free: 83.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008693/8.104, allocations: 326.2 kB / 3.958 GB, free: 83.54 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001262/8.105, allocations: 196.3 kB / 3.958 GB, free: 83.43 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008158/8.106, allocations: 161.8 kB / 3.958 GB, free: 83.3 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.007458/8.114, allocations: 4.994 MB / 3.963 GB, free: 79.1 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.02276/8.136, allocations: 5.03 MB / 3.968 GB, free: 74.29 MB / 0.9167 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.003197/8.14, allocations: 1.182 MB / 3.969 GB, free: 73.42 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.03325/8.173, allocations: 23.14 MB / 3.992 GB, free: 53.34 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/8.173, allocations: 7.781 kB / 3.992 GB, free: 53.34 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.007868/8.181, allocations: 6.11 MB / 3.998 GB, free: 47.68 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01841/8.199, allocations: 3.809 MB / 4.002 GB, free: 44.91 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03134/8.231, allocations: 17.56 MB / 4.019 GB, free: 29.52 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01096/8.242, allocations: 6.533 MB / 4.025 GB, free: 24.73 MB / 0.9167 GB Notification: Performance of SimCode: time 2.876e-06/8.242, allocations: 4 kB / 4.025 GB, free: 24.73 MB / 0.9167 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example1v2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example1v2.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1)