Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",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.1.4-maint.8.1.x/package.mo): time 1.604/1.604, allocations: 289.8 MB / 297.1 MB, free: 6.66 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.001275/0.001275, allocations: 185.2 kB / 366.3 MB, free: 1.949 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.815/1.815, allocations: 205.2 MB / 0.6256 GB, free: 5.812 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.001021/0.001021, allocations: 82.67 kB / 0.7395 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3214/0.3224, allocations: 122.4 MB / 0.8591 GB, free: 13.18 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8186/1.141, allocations: 116.3 MB / 0.9726 GB, free: 68.41 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.876/6.017, allocations: 2.066 GB / 3.039 GB, free: 5.664 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/6.017, allocations: 87.94 kB / 3.039 GB, free: 5.578 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 7.6/13.62, allocations: 1.994 GB / 5.034 GB, free: 189.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/13.62, allocations: 12 kB / 5.034 GB, free: 189.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001248/13.62, allocations: 214.2 kB / 5.034 GB, free: 189.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003742/13.62, allocations: 1.457 MB / 5.035 GB, free: 187.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/13.62, allocations: 16 kB / 5.035 GB, free: 187.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/13.62, allocations: 43.98 kB / 5.035 GB, free: 187.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001027/13.62, allocations: 0.7248 MB / 5.036 GB, free: 186.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/13.62, allocations: 0.8642 MB / 5.037 GB, free: 185.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/13.62, allocations: 3.984 kB / 5.037 GB, free: 185.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.588e-05/13.62, allocations: 4 kB / 5.037 GB, free: 185.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.139e-05/13.62, allocations: 12 kB / 5.037 GB, free: 185.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004177/13.63, allocations: 4.691 MB / 5.041 GB, free: 180.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006095/13.63, allocations: 0.5034 MB / 5.042 GB, free: 180.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004134/13.63, allocations: 434.8 kB / 5.042 GB, free: 180 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002994/13.63, allocations: 206.4 kB / 5.043 GB, free: 179.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003345/13.63, allocations: 296.9 kB / 5.043 GB, free: 179.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=35): time 2.806e-06/13.63, allocations: 4 kB / 5.043 GB, free: 179.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=35): time 0.001889/13.63, allocations: 0.8758 MB / 5.044 GB, free: 178.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/13.63, allocations: 85.09 kB / 5.044 GB, free: 178.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/13.63, allocations: 0.9182 MB / 5.045 GB, free: 177.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.668e-05/13.63, allocations: 25.7 kB / 5.045 GB, free: 177.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002608/13.63, allocations: 357.2 kB / 5.045 GB, free: 177.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.764e-05/13.63, allocations: 122.2 kB / 5.045 GB, free: 177 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.544e-05/13.63, allocations: 0 / 5.045 GB, free: 177 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.965e-05/13.63, allocations: 326 kB / 5.045 GB, free: 176.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002664/13.63, allocations: 224.8 kB / 5.046 GB, free: 176.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004764/13.64, allocations: 0.542 MB / 5.046 GB, free: 175.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003327/13.64, allocations: 305.7 kB / 5.047 GB, free: 175.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/13.64, allocations: 4 kB / 5.047 GB, free: 175.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001661/13.64, allocations: 0.9967 MB / 5.048 GB, free: 174.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003772/13.64, allocations: 2.096 MB / 5.05 GB, free: 172.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/13.64, allocations: 4 kB / 5.05 GB, free: 172.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005378/13.64, allocations: 274.5 kB / 5.05 GB, free: 171.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003136/13.64, allocations: 75.83 kB / 5.05 GB, free: 171.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/13.64, allocations: 1.218 MB / 5.051 GB, free: 170.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/13.64, allocations: 111.5 kB / 5.051 GB, free: 170.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.989e-05/13.64, allocations: 27.94 kB / 5.051 GB, free: 170.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.727e-06/13.64, allocations: 4 kB / 5.051 GB, free: 170.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001078/13.64, allocations: 0.6955 MB / 5.052 GB, free: 169.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/13.64, allocations: 4 kB / 5.052 GB, free: 169.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006356/13.64, allocations: 249.2 kB / 5.052 GB, free: 169.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002988/13.64, allocations: 75.89 kB / 5.052 GB, free: 169.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003163/13.65, allocations: 2.903 MB / 5.055 GB, free: 166.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/13.65, allocations: 103.6 kB / 5.055 GB, free: 166.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.77e-05/13.65, allocations: 24 kB / 5.055 GB, free: 166.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * Array equations: 0 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0002125/13.65, allocations: 127.8 kB / 5.055 GB, free: 166.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/13.65, allocations: 110.8 kB / 5.055 GB, free: 166 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00127/13.65, allocations: 0.7807 MB / 5.056 GB, free: 165.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/13.65, allocations: 4 kB / 5.056 GB, free: 165.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/13.65, allocations: 0 / 5.056 GB, free: 165.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/13.65, allocations: 0 / 5.056 GB, free: 165.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002165/13.65, allocations: 1.694 MB / 5.058 GB, free: 163.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/13.65, allocations: 4 kB / 5.058 GB, free: 163.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002044/13.65, allocations: 32.19 kB / 5.058 GB, free: 163.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003999/13.65, allocations: 232.5 kB / 5.058 GB, free: 163.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.508e-05/13.65, allocations: 4 kB / 5.058 GB, free: 163.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008264/13.65, allocations: 1.073 MB / 5.059 GB, free: 162.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/13.65, allocations: 0 / 5.059 GB, free: 162.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001003/13.65, allocations: 0.9717 MB / 5.06 GB, free: 161.1 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001353/13.66, allocations: 1.414 MB / 5.061 GB, free: 159.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004645/13.66, allocations: 231.8 kB / 5.062 GB, free: 159.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001376/13.66, allocations: 3.984 kB / 5.062 GB, free: 159.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007865/13.66, allocations: 87.66 kB / 5.062 GB, free: 159.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/13.66, allocations: 23.97 kB / 5.062 GB, free: 159.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.21e-05/13.66, allocations: 15.98 kB / 5.062 GB, free: 159.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0008065/13.66, allocations: 0.718 MB / 5.063 GB, free: 158.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0033/13.66, allocations: 0.7922 MB / 5.063 GB, free: 157.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.001689/13.66, allocations: 1.294 MB / 5.065 GB, free: 156.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001543/13.66, allocations: 1.014 MB / 5.066 GB, free: 155.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/13.66, allocations: 5.375 kB / 5.066 GB, free: 155.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003694/13.66, allocations: 243.3 kB / 5.066 GB, free: 155.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002808/13.67, allocations: 0.5758 MB / 5.066 GB, free: 154.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002551/13.67, allocations: 1.476 MB / 5.068 GB, free: 153 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007981/13.67, allocations: 1.296 MB / 5.069 GB, free: 151.7 MB / 0.948 GB Notification: Performance of SimCode: time 6.71e-07/13.67, allocations: 0 / 5.069 GB, free: 151.7 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)