Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",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 9.1.1-maint.9.1.x/package.mo): time 2.085/2.085, allocations: 387.2 MB / 394.5 MB, free: 13.66 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 169.3 kB / 487 MB, free: 5.398 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 221.3 MB / 0.7819 GB, free: 1.402 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009352/0.0009343, allocations: 94.98 kB / 0.9213 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6742/0.6751, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.9751, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.841/5.816, allocations: 1.869 GB / 3.074 GB, free: 436.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003041/5.817, allocations: 88.98 kB / 3.074 GB, free: 436.7 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 6.252/12.07, allocations: 1.999 GB / 5.073 GB, free: 210.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/12.07, allocations: 15.98 kB / 5.073 GB, free: 210.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/12.07, allocations: 198.4 kB / 5.074 GB, free: 210.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003652/12.07, allocations: 1.433 MB / 5.075 GB, free: 208.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.01e-05/12.07, allocations: 19.94 kB / 5.075 GB, free: 208.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/12.07, allocations: 40 kB / 5.075 GB, free: 208.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001002/12.08, allocations: 0.7209 MB / 5.076 GB, free: 207.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/12.08, allocations: 0.8741 MB / 5.077 GB, free: 206.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/12.08, allocations: 3.938 kB / 5.077 GB, free: 206.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.935e-05/12.08, allocations: 4 kB / 5.077 GB, free: 206.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/12.08, allocations: 12 kB / 5.077 GB, free: 206.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004266/12.08, allocations: 4.73 MB / 5.081 GB, free: 201.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007252/12.08, allocations: 0.5229 MB / 5.082 GB, free: 201.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004119/12.08, allocations: 450.5 kB / 5.082 GB, free: 200.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000316/12.08, allocations: 194.5 kB / 5.082 GB, free: 200.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003321/12.08, allocations: 309 kB / 5.083 GB, free: 200.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=35): time 2.244e-06/12.08, allocations: 0 / 5.083 GB, free: 200.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=35): time 0.001943/12.08, allocations: 0.9493 MB / 5.084 GB, free: 199.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/12.08, allocations: 85.11 kB / 5.084 GB, free: 199.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009582/12.09, allocations: 0.9217 MB / 5.084 GB, free: 198.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.63e-05/12.09, allocations: 29.7 kB / 5.085 GB, free: 198.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/12.09, allocations: 352.3 kB / 5.085 GB, free: 198 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.329e-05/12.09, allocations: 118.3 kB / 5.085 GB, free: 197.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.326e-05/12.09, allocations: 0 / 5.085 GB, free: 197.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.451e-05/12.09, allocations: 329.9 kB / 5.085 GB, free: 197.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002491/12.09, allocations: 224.9 kB / 5.085 GB, free: 197.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004302/12.09, allocations: 0.5576 MB / 5.086 GB, free: 196.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003257/12.09, allocations: 317.6 kB / 5.086 GB, free: 196.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/12.09, allocations: 4 kB / 5.086 GB, free: 196.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001684/12.09, allocations: 1.074 MB / 5.087 GB, free: 195.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003783/12.09, allocations: 2.1 MB / 5.089 GB, free: 192.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/12.09, allocations: 4 kB / 5.089 GB, free: 192.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006457/12.09, allocations: 328.6 kB / 5.09 GB, free: 192.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000236/12.09, allocations: 71.84 kB / 5.09 GB, free: 192.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/12.09, allocations: 1.355 MB / 5.091 GB, free: 191.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/12.09, allocations: 115.7 kB / 5.091 GB, free: 191 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.768e-05/12.09, allocations: 24 kB / 5.091 GB, free: 191 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/12.09, allocations: 8.688 kB / 5.091 GB, free: 191 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001163/12.09, allocations: 0.7573 MB / 5.092 GB, free: 190.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/12.09, allocations: 7.984 kB / 5.092 GB, free: 190.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007282/12.09, allocations: 311.3 kB / 5.092 GB, free: 189.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/12.09, allocations: 63.91 kB / 5.092 GB, free: 189.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003659/12.1, allocations: 3.431 MB / 5.096 GB, free: 186.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/12.1, allocations: 99.64 kB / 5.096 GB, free: 186.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.67e-05/12.1, allocations: 28 kB / 5.096 GB, free: 186.2 MB / 1.151 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 (34): * Single equations (assignments): 32 * 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 {2 22} Notification: Performance of prepare postOptimizeDAE: time 0.00018/12.1, allocations: 117.2 kB / 5.096 GB, free: 186.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/12.1, allocations: 114.7 kB / 5.096 GB, free: 186 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001346/12.1, allocations: 0.847 MB / 5.097 GB, free: 185.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/12.1, allocations: 4 kB / 5.097 GB, free: 185.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/12.1, allocations: 3.984 kB / 5.097 GB, free: 185.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/12.1, allocations: 7.906 kB / 5.097 GB, free: 185.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002307/12.1, allocations: 1.789 MB / 5.099 GB, free: 183.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/12.1, allocations: 0 / 5.099 GB, free: 183.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/12.1, allocations: 31.98 kB / 5.099 GB, free: 183.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005131/12.1, allocations: 285.7 kB / 5.099 GB, free: 182.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/12.1, allocations: 8 kB / 5.099 GB, free: 182.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009376/12.11, allocations: 1.202 MB / 5.1 GB, free: 181.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/12.11, allocations: 4 kB / 5.1 GB, free: 181.7 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001126/12.11, allocations: 1.043 MB / 5.101 GB, free: 180.6 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001427/12.11, allocations: 1.464 MB / 5.103 GB, free: 179 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004854/12.11, allocations: 231.8 kB / 5.103 GB, free: 178.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001846/12.11, allocations: 15.98 kB / 5.103 GB, free: 178.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007795/12.11, allocations: 71.77 kB / 5.103 GB, free: 178.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/12.11, allocations: 39.86 kB / 5.103 GB, free: 178.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.958e-05/12.11, allocations: 15.98 kB / 5.103 GB, free: 178.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0008716/12.11, allocations: 0.71 MB / 5.104 GB, free: 177.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003578/12.11, allocations: 0.7922 MB / 5.104 GB, free: 177.1 MB / 1.151 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 (12): * Single equations (assignments): 9 * 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 {2 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.001899/12.12, allocations: 1.201 MB / 5.106 GB, free: 175.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002004/12.12, allocations: 1.078 MB / 5.107 GB, free: 174.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/12.12, allocations: 3.938 kB / 5.107 GB, free: 174.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.00043/12.12, allocations: 263.1 kB / 5.107 GB, free: 174.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002863/12.12, allocations: 0.5702 MB / 5.107 GB, free: 174 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002535/12.12, allocations: 1.487 MB / 5.109 GB, free: 172.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007115/12.12, allocations: 1.3 MB / 5.11 GB, free: 171.1 MB / 1.151 GB Notification: Performance of SimCode: time 5.21e-07/12.12, allocations: 0 / 5.11 GB, free: 171.1 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)