Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.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.Example3,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example3,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example3",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.379/1.379, allocations: 285.5 MB / 292.8 MB, free: 10.37 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.0009698/0.0009698, allocations: 193.2 kB / 361.1 MB, free: 7.027 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.128/1.128, allocations: 205.1 MB / 0.6195 GB, free: 10.23 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.0008402/0.0008402, allocations: 86.33 kB / 0.7325 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1884/0.1893, allocations: 121.4 MB / 0.8511 GB, free: 2.824 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4297/0.619, allocations: 115.3 MB / 0.9637 GB, free: 77.95 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6232/1.242, allocations: 403.5 MB / 1.358 GB, free: 162.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/1.243, allocations: 87.59 kB / 1.358 GB, free: 162.3 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: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 1.97/3.212, allocations: 0.6881 GB / 2.046 GB, free: 178.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/3.213, allocations: 14.31 kB / 2.046 GB, free: 178.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001453/3.214, allocations: 292.8 kB / 2.046 GB, free: 178.7 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005906/3.22, allocations: 2.559 MB / 2.049 GB, free: 178.3 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.224e-05/3.22, allocations: 28.97 kB / 2.049 GB, free: 178.3 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002752/3.22, allocations: 65.47 kB / 2.049 GB, free: 178.3 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00164/3.222, allocations: 0.8548 MB / 2.05 GB, free: 178.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001584/3.224, allocations: 1.078 MB / 2.051 GB, free: 178 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.047e-05/3.224, allocations: 3.75 kB / 2.051 GB, free: 178 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-05/3.224, allocations: 7.125 kB / 2.051 GB, free: 178 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/3.224, allocations: 22.34 kB / 2.051 GB, free: 178 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007607/3.231, allocations: 6.553 MB / 2.057 GB, free: 174.1 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009087/3.232, allocations: 0.5758 MB / 2.058 GB, free: 174.1 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004627/3.233, allocations: 369.6 kB / 2.058 GB, free: 174.1 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003071/3.236, allocations: 1.67 MB / 2.06 GB, free: 173.2 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004013/3.236, allocations: 322 kB / 2.06 GB, free: 173.1 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=47): time 3.336e-06/3.236, allocations: 0 / 2.06 GB, free: 173.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=47): time 0.002031/3.238, allocations: 0.8347 MB / 2.061 GB, free: 173 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.737e-05/3.238, allocations: 59.17 kB / 2.061 GB, free: 172.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001881/3.24, allocations: 1.382 MB / 2.062 GB, free: 172.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 6.984e-05/3.24, allocations: 30.73 kB / 2.062 GB, free: 172.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004197/3.241, allocations: 0.5436 MB / 2.063 GB, free: 172.4 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/3.241, allocations: 159.9 kB / 2.063 GB, free: 172.3 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.649e-05/3.241, allocations: 3.391 kB / 2.063 GB, free: 172.3 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.22e-05/3.241, allocations: 342.8 kB / 2.063 GB, free: 172 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003546/3.241, allocations: 261 kB / 2.064 GB, free: 172 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005069/3.242, allocations: 0.6882 MB / 2.064 GB, free: 171.5 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009502/3.243, allocations: 429.9 kB / 2.065 GB, free: 171.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.094e-06/3.243, allocations: 3.844 kB / 2.065 GB, free: 171.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002138/3.245, allocations: 1.133 MB / 2.066 GB, free: 171.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007432/3.246, allocations: 4.074 MB / 2.07 GB, free: 167.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.556e-05/3.246, allocations: 11.19 kB / 2.07 GB, free: 167.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003046/3.246, allocations: 123.4 kB / 2.07 GB, free: 167 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006752/3.247, allocations: 177.9 kB / 2.07 GB, free: 167 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005432/3.247, allocations: 0.8017 MB / 2.071 GB, free: 166.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/3.249, allocations: 127.5 kB / 2.071 GB, free: 166.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.611e-05/3.249, allocations: 47.41 kB / 2.071 GB, free: 166.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 8.146e-06/3.249, allocations: 3.469 kB / 2.071 GB, free: 166.5 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001659/3.25, allocations: 0.941 MB / 2.072 GB, free: 166.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/3.25, allocations: 11.7 kB / 2.072 GB, free: 166.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000187/3.251, allocations: 118.7 kB / 2.072 GB, free: 166.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005711/3.251, allocations: 170.4 kB / 2.072 GB, free: 166.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001647/3.253, allocations: 1.987 MB / 2.074 GB, free: 165.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/3.254, allocations: 106.1 kB / 2.074 GB, free: 165 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-05/3.254, allocations: 48.25 kB / 2.074 GB, free: 165 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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,mergeDp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0001823/3.254, allocations: 138 kB / 2.074 GB, free: 164.9 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002146/3.254, allocations: 166.9 kB / 2.075 GB, free: 164.8 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001844/3.256, allocations: 0.9884 MB / 2.076 GB, free: 164.8 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/3.256, allocations: 7.906 kB / 2.076 GB, free: 164.8 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/3.256, allocations: 0 / 2.076 GB, free: 164.8 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001041/3.257, allocations: 0.9048 MB / 2.076 GB, free: 164.4 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003087/3.26, allocations: 1.937 MB / 2.078 GB, free: 164.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/3.26, allocations: 7.312 kB / 2.078 GB, free: 164.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004706/3.261, allocations: 92.11 kB / 2.078 GB, free: 164.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002014/3.261, allocations: 92.81 kB / 2.079 GB, free: 164 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.64e-05/3.261, allocations: 16.14 kB / 2.079 GB, free: 164 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005062/3.262, allocations: 0.7589 MB / 2.079 GB, free: 163.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/3.262, allocations: 0 / 2.079 GB, free: 163.5 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001877/3.264, allocations: 1.307 MB / 2.081 GB, free: 163.2 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002366/3.266, allocations: 2.086 MB / 2.083 GB, free: 162.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007366/3.267, allocations: 309.4 kB / 2.083 GB, free: 162.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003231/3.267, allocations: 7.734 kB / 2.083 GB, free: 162.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008941/3.268, allocations: 72.59 kB / 2.083 GB, free: 162.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.322e-05/3.268, allocations: 38.02 kB / 2.083 GB, free: 162.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.379e-05/3.268, allocations: 23.67 kB / 2.083 GB, free: 162.3 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.001448/3.27, allocations: 1.065 MB / 2.084 GB, free: 162.2 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004291/3.274, allocations: 1.025 MB / 2.085 GB, free: 162.1 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.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 (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001442/3.275, allocations: 0.7657 MB / 2.086 GB, free: 161.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001966/3.277, allocations: 1.301 MB / 2.087 GB, free: 161.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/3.277, allocations: 3.906 kB / 2.087 GB, free: 161.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0004624/3.278, allocations: 307.9 kB / 2.087 GB, free: 161.7 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002511/3.28, allocations: 0.5965 MB / 2.088 GB, free: 161.7 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00438/3.285, allocations: 2.286 MB / 2.09 GB, free: 161.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001484/3.286, allocations: 1.675 MB / 2.092 GB, free: 160.4 MB / 0.9323 GB Notification: Performance of SimCode: time 5.81e-07/3.286, allocations: 0 / 2.092 GB, free: 160.4 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example3_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example3.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1)