Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.355/2.355, allocations: 390.4 MB / 397.7 MB, free: 11.19 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.001214/0.001214, allocations: 178.1 kB / 490.8 MB, free: 1.875 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.386/1.386, allocations: 221.4 MB / 0.7863 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008928/0.0008928, allocations: 91.16 kB / 0.9264 GB, free: 14.14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.6103/0.6112, allocations: 149.1 MB / 1.072 GB, free: 182.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.9097, allocations: 143 MB / 1.212 GB, free: 39.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.408/5.318, allocations: 1.869 GB / 3.081 GB, free: 432.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/5.318, allocations: 86.31 kB / 3.081 GB, free: 432.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 7.748/13.07, allocations: 1.999 GB / 5.08 GB, free: 204.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.275e-05/13.07, allocations: 8 kB / 5.08 GB, free: 204.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001426/13.07, allocations: 210.3 kB / 5.081 GB, free: 204.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003902/13.07, allocations: 1.437 MB / 5.082 GB, free: 203.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.784e-05/13.07, allocations: 20 kB / 5.082 GB, free: 203 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/13.07, allocations: 40 kB / 5.082 GB, free: 203 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001198/13.07, allocations: 0.7287 MB / 5.083 GB, free: 202.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/13.07, allocations: 0.8604 MB / 5.084 GB, free: 201.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.761e-05/13.07, allocations: 7.938 kB / 5.084 GB, free: 201.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.106e-05/13.07, allocations: 0 / 5.084 GB, free: 201.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.248e-05/13.07, allocations: 16 kB / 5.084 GB, free: 201.3 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004542/13.08, allocations: 4.715 MB / 5.088 GB, free: 196.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007108/13.08, allocations: 0.5229 MB / 5.089 GB, free: 195.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004234/13.08, allocations: 450.4 kB / 5.089 GB, free: 195.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003124/13.08, allocations: 202.5 kB / 5.089 GB, free: 195.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000338/13.08, allocations: 302.4 kB / 5.09 GB, free: 194.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=35): time 2.285e-06/13.08, allocations: 0 / 5.09 GB, free: 194.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=35): time 0.001928/13.08, allocations: 0.9571 MB / 5.091 GB, free: 193.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/13.08, allocations: 81.11 kB / 5.091 GB, free: 193.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009806/13.08, allocations: 0.9178 MB / 5.092 GB, free: 192.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.617e-05/13.08, allocations: 33.7 kB / 5.092 GB, free: 192.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001963/13.08, allocations: 344.4 kB / 5.092 GB, free: 192.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.967e-05/13.08, allocations: 122.2 kB / 5.092 GB, free: 192.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.34e-05/13.08, allocations: 0 / 5.092 GB, free: 192.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.47e-05/13.08, allocations: 326 kB / 5.092 GB, free: 191.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002557/13.08, allocations: 232.9 kB / 5.093 GB, free: 191.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004442/13.09, allocations: 0.5475 MB / 5.093 GB, free: 191 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00035/13.09, allocations: 323 kB / 5.093 GB, free: 190.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/13.09, allocations: 0 / 5.093 GB, free: 190.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001733/13.09, allocations: 1.082 MB / 5.095 GB, free: 189.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004421/13.09, allocations: 2.097 MB / 5.097 GB, free: 187.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/13.09, allocations: 12 kB / 5.097 GB, free: 187.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006722/13.09, allocations: 336.5 kB / 5.097 GB, free: 187 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/13.09, allocations: 63.91 kB / 5.097 GB, free: 186.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001247/13.09, allocations: 1.345 MB / 5.098 GB, free: 185.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/13.09, allocations: 107.5 kB / 5.098 GB, free: 185.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.135e-05/13.09, allocations: 35.97 kB / 5.098 GB, free: 185.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/13.09, allocations: 6.812 kB / 5.098 GB, free: 185.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00118/13.09, allocations: 0.7469 MB / 5.099 GB, free: 184.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/13.09, allocations: 8.062 kB / 5.099 GB, free: 184.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007524/13.09, allocations: 317.7 kB / 5.099 GB, free: 184.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/13.09, allocations: 63.91 kB / 5.1 GB, free: 184.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00376/13.1, allocations: 3.443 MB / 5.103 GB, free: 180.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/13.1, allocations: 103.6 kB / 5.103 GB, free: 180.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.297e-05/13.1, allocations: 27.98 kB / 5.103 GB, free: 180.6 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.0001835/13.1, allocations: 125 kB / 5.103 GB, free: 180.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/13.1, allocations: 102.7 kB / 5.103 GB, free: 180.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001377/13.1, allocations: 0.851 MB / 5.104 GB, free: 179.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/13.1, allocations: 4 kB / 5.104 GB, free: 179.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/13.1, allocations: 0 / 5.104 GB, free: 179.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/13.1, allocations: 7.984 kB / 5.104 GB, free: 179.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002343/13.1, allocations: 1.781 MB / 5.106 GB, free: 177.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/13.1, allocations: 4.094 kB / 5.106 GB, free: 177.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/13.1, allocations: 31.92 kB / 5.106 GB, free: 177.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005337/13.1, allocations: 288.8 kB / 5.106 GB, free: 177.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.873e-05/13.1, allocations: 8 kB / 5.106 GB, free: 177.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00094/13.1, allocations: 1.19 MB / 5.107 GB, free: 176.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/13.1, allocations: 8 kB / 5.107 GB, free: 176.1 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001108/13.11, allocations: 1.051 MB / 5.108 GB, free: 175 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001377/13.11, allocations: 1.471 MB / 5.11 GB, free: 173.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004174/13.11, allocations: 231.8 kB / 5.11 GB, free: 173.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/13.11, allocations: 0 / 5.11 GB, free: 173.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007274/13.11, allocations: 79.75 kB / 5.11 GB, free: 173.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.803e-05/13.11, allocations: 35.86 kB / 5.11 GB, free: 173.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.237e-05/13.11, allocations: 19.94 kB / 5.11 GB, free: 173 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0007782/13.11, allocations: 0.7139 MB / 5.111 GB, free: 172.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003322/13.11, allocations: 0.7883 MB / 5.112 GB, free: 171.5 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.001974/13.11, allocations: 1.21 MB / 5.113 GB, free: 170.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001952/13.12, allocations: 1.071 MB / 5.114 GB, free: 169.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/13.12, allocations: 4.062 kB / 5.114 GB, free: 169.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004261/13.12, allocations: 262.9 kB / 5.114 GB, free: 169 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002897/13.12, allocations: 0.5665 MB / 5.115 GB, free: 168.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002568/13.12, allocations: 1.473 MB / 5.116 GB, free: 166.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007379/13.12, allocations: 1.3 MB / 5.117 GB, free: 165.5 MB / 1.151 GB Notification: Performance of SimCode: time 7.62e-07/13.12, allocations: 3.938 kB / 5.117 GB, free: 165.5 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)