Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1.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.Example1v1,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example1v1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v1,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example1v1",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.395/1.395, allocations: 285.5 MB / 292.8 MB, free: 9.91 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.00098/0.00098, allocations: 185.2 kB / 361.1 MB, free: 356 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.16/1.16, allocations: 205.1 MB / 0.6195 GB, free: 2.828 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.0008769/0.000877, allocations: 88.38 kB / 0.7326 GB, free: 1.023 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4348/0.4357, allocations: 121.4 MB / 0.8511 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.6031, allocations: 115.3 MB / 0.9638 GB, free: 56.27 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7181/1.321, allocations: 420.6 MB / 1.375 GB, free: 2.16 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/1.322, allocations: 90.64 kB / 1.375 GB, free: 2.117 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: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 3.804/5.125, allocations: 1.311 GB / 2.686 GB, free: 191.5 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/5.125, allocations: 9 kB / 2.686 GB, free: 191.5 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004025/5.129, allocations: 0.5544 MB / 2.686 GB, free: 191.3 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01431/5.144, allocations: 4.36 MB / 2.69 GB, free: 190.5 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/5.144, allocations: 50.09 kB / 2.69 GB, free: 190.5 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006197/5.145, allocations: 117 kB / 2.691 GB, free: 190.5 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003783/5.148, allocations: 1.637 MB / 2.692 GB, free: 190.1 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00382/5.152, allocations: 1.834 MB / 2.694 GB, free: 189.2 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.066e-05/5.152, allocations: 6.312 kB / 2.694 GB, free: 189.2 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002042/5.153, allocations: 4.312 kB / 2.694 GB, free: 189.2 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.513e-05/5.153, allocations: 40.19 kB / 2.694 GB, free: 189.2 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01502/5.168, allocations: 11.54 MB / 2.705 GB, free: 181.1 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0018/5.169, allocations: 1.204 MB / 2.706 GB, free: 180.6 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00109/5.171, allocations: 0.9163 MB / 2.707 GB, free: 180.3 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005221/5.176, allocations: 3.358 MB / 2.711 GB, free: 178 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007615/5.177, allocations: 0.6444 MB / 2.711 GB, free: 177.8 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=98): time 2.565e-06/5.177, allocations: 0 / 2.711 GB, free: 177.8 MB / 0.9636 GB Notification: Performance of matching and sorting (n=98): time 0.004111/5.181, allocations: 2.023 MB / 2.713 GB, free: 177.1 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/5.181, allocations: 63.72 kB / 2.713 GB, free: 177 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003851/5.185, allocations: 2.232 MB / 2.716 GB, free: 176.2 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001437/5.185, allocations: 29.39 kB / 2.716 GB, free: 176.2 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007253/5.185, allocations: 0.8504 MB / 2.716 GB, free: 175.6 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003344/5.186, allocations: 330.9 kB / 2.717 GB, free: 175.3 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.457e-05/5.186, allocations: 0 / 2.717 GB, free: 175.3 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.723e-05/5.186, allocations: 366.8 kB / 2.717 GB, free: 175 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007495/5.187, allocations: 0.5494 MB / 2.718 GB, free: 174.8 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/5.188, allocations: 1.303 MB / 2.719 GB, free: 173.6 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001822/5.19, allocations: 0.8559 MB / 2.72 GB, free: 173.3 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.23e-05/5.19, allocations: 3.531 kB / 2.72 GB, free: 173.3 MB / 0.9636 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.004649/5.194, allocations: 2.472 MB / 2.722 GB, free: 172.5 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.001146/5.195, allocations: 5.897 MB / 2.728 GB, free: 166.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.929e-05/5.195, allocations: 13.88 kB / 2.728 GB, free: 166.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009398/5.196, allocations: 449 kB / 2.728 GB, free: 166 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/5.198, allocations: 282.9 kB / 2.729 GB, free: 166 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001988/5.2, allocations: 2.076 MB / 2.731 GB, free: 164.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002521/5.202, allocations: 218.3 kB / 2.731 GB, free: 164.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001844/5.202, allocations: 85.5 kB / 2.731 GB, free: 164.5 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 8.126e-06/5.202, allocations: 2.875 kB / 2.731 GB, free: 164.5 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00383/5.206, allocations: 2.06 MB / 2.733 GB, free: 163.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.49e-05/5.206, allocations: 21.69 kB / 2.733 GB, free: 163.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000929/5.207, allocations: 411.4 kB / 2.733 GB, free: 163.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/5.208, allocations: 280.2 kB / 2.734 GB, free: 163.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006419/5.215, allocations: 5.388 MB / 2.739 GB, free: 160 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00217/5.217, allocations: 188 kB / 2.739 GB, free: 160 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002005/5.217, allocations: 75.41 kB / 2.739 GB, free: 160 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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 (133): * Single equations (assignments): 129 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003852/5.218, allocations: 153 kB / 2.739 GB, free: 159.8 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007305/5.218, allocations: 283 kB / 2.74 GB, free: 159.7 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005236/5.224, allocations: 2.337 MB / 2.742 GB, free: 158.9 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.169e-05/5.224, allocations: 19.66 kB / 2.742 GB, free: 158.9 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.237e-06/5.224, allocations: 3.969 kB / 2.742 GB, free: 158.9 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002829/5.226, allocations: 1.9 MB / 2.744 GB, free: 157.7 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007312/5.234, allocations: 3.93 MB / 2.748 GB, free: 154.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/5.234, allocations: 4 kB / 2.748 GB, free: 154.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008493/5.235, allocations: 177 kB / 2.748 GB, free: 154.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007343/5.235, allocations: 392.5 kB / 2.748 GB, free: 154.1 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.134e-05/5.235, allocations: 23.98 kB / 2.748 GB, free: 154 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001297/5.237, allocations: 1.908 MB / 2.75 GB, free: 152.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/5.237, allocations: 0 / 2.75 GB, free: 152.1 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003961/5.241, allocations: 2.904 MB / 2.753 GB, free: 149.2 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005037/5.246, allocations: 4.148 MB / 2.757 GB, free: 145 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001229/5.247, allocations: 0.4892 MB / 2.757 GB, free: 144.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007114/5.248, allocations: 4 kB / 2.757 GB, free: 144.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00173/5.25, allocations: 123.1 kB / 2.757 GB, free: 144.4 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/5.25, allocations: 77.12 kB / 2.758 GB, free: 144.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.45e-05/5.25, allocations: 55.88 kB / 2.758 GB, free: 144.3 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.002466/5.252, allocations: 1.708 MB / 2.759 GB, free: 142.6 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.00647/5.259, allocations: 1.642 MB / 2.761 GB, free: 140.9 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * 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 (84): * Single equations (assignments): 76 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.001978/5.261, allocations: 1.043 MB / 2.762 GB, free: 140.1 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.004256/5.265, allocations: 2.715 MB / 2.764 GB, free: 137.3 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/5.265, allocations: 0 / 2.764 GB, free: 137.3 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0009267/5.266, allocations: 0.6856 MB / 2.765 GB, free: 136.6 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004527/5.27, allocations: 1.026 MB / 2.766 GB, free: 135.6 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00758/5.278, allocations: 4.057 MB / 2.77 GB, free: 131.6 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002051/5.28, allocations: 2.346 MB / 2.772 GB, free: 129.2 MB / 0.9636 GB Notification: Performance of SimCode: time 4.61e-07/5.28, allocations: 0 / 2.772 GB, free: 129.2 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example1v1_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example1v1.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1)