Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow",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 7.0.3-maint.7.0.x/package.mo): time 1.326/1.326, allocations: 249.4 MB / 256.7 MB, free: 6.992 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001059/0.001059, allocations: 196.2 kB / 316 MB, free: 3.543 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.28/1.28, allocations: 205.1 MB / 0.5667 GB, free: 15.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009266/0.0009267, allocations: 79.97 kB / 0.671 GB, free: 4.727 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3758/0.3768, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.5555, allocations: 106.3 MB / 0.8847 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.691/4.246, allocations: 2.182 GB / 3.067 GB, free: 223.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001789/4.246, allocations: 91.89 kB / 3.067 GB, free: 223.7 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 2.51/6.757, allocations: 0.9287 GB / 3.995 GB, free: 243.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/6.757, allocations: 7.75 kB / 3.995 GB, free: 243.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001305/6.758, allocations: 184.6 kB / 3.995 GB, free: 243.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00412/6.762, allocations: 1.375 MB / 3.997 GB, free: 242.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.047e-05/6.762, allocations: 18.25 kB / 3.997 GB, free: 242.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/6.762, allocations: 36.41 kB / 3.997 GB, free: 242.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008184/6.763, allocations: 0.5067 MB / 3.997 GB, free: 242.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008899/6.764, allocations: 0.7137 MB / 3.998 GB, free: 242.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/6.764, allocations: 7.828 kB / 3.998 GB, free: 242.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.55e-05/6.764, allocations: 3.094 kB / 3.998 GB, free: 242.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/6.764, allocations: 13.91 kB / 3.998 GB, free: 242.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003517/6.768, allocations: 4.144 MB / 4.002 GB, free: 239.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005029/6.768, allocations: 487.6 kB / 4.003 GB, free: 239.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003226/6.769, allocations: 346.8 kB / 4.003 GB, free: 239.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002683/6.769, allocations: 197.2 kB / 4.003 GB, free: 239.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002934/6.769, allocations: 290.4 kB / 4.003 GB, free: 239.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=33): time 2.204e-06/6.769, allocations: 3.812 kB / 4.003 GB, free: 239.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33): time 0.001801/6.771, allocations: 0.8245 MB / 4.004 GB, free: 239.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/6.771, allocations: 80.7 kB / 4.004 GB, free: 239.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009828/6.772, allocations: 0.8742 MB / 4.005 GB, free: 239.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.438e-05/6.772, allocations: 29.67 kB / 4.005 GB, free: 239.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001944/6.772, allocations: 341.2 kB / 4.006 GB, free: 239 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.788e-05/6.772, allocations: 113.1 kB / 4.006 GB, free: 238.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.258e-05/6.772, allocations: 3.656 kB / 4.006 GB, free: 238.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.117e-05/6.772, allocations: 327.7 kB / 4.006 GB, free: 238.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002363/6.773, allocations: 206.9 kB / 4.006 GB, free: 238.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003876/6.773, allocations: 0.5244 MB / 4.007 GB, free: 238.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003254/6.773, allocations: 302.6 kB / 4.007 GB, free: 238.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/6.773, allocations: 3.906 kB / 4.007 GB, free: 238.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001603/6.775, allocations: 0.9518 MB / 4.008 GB, free: 238.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003688/6.775, allocations: 2.1 MB / 4.01 GB, free: 235.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/6.775, allocations: 3.938 kB / 4.01 GB, free: 235.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004962/6.776, allocations: 275.7 kB / 4.01 GB, free: 235.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002573/6.776, allocations: 81.42 kB / 4.01 GB, free: 235.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001497/6.778, allocations: 1.259 MB / 4.011 GB, free: 235.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009679/6.779, allocations: 98.12 kB / 4.012 GB, free: 235.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.625e-05/6.779, allocations: 34 kB / 4.012 GB, free: 235.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.055e-06/6.779, allocations: 3.281 kB / 4.012 GB, free: 235.4 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001028/6.78, allocations: 0.6584 MB / 4.012 GB, free: 235.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/6.78, allocations: 3.906 kB / 4.012 GB, free: 235.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005056/6.78, allocations: 212.7 kB / 4.012 GB, free: 235.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002218/6.781, allocations: 75.23 kB / 4.013 GB, free: 235.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003053/6.784, allocations: 2.826 MB / 4.015 GB, free: 234 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008784/6.785, allocations: 87.91 kB / 4.015 GB, free: 234 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.222e-05/6.785, allocations: 29.05 kB / 4.015 GB, free: 234 MB / 0.8698 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 {10 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001357/6.785, allocations: 124 kB / 4.016 GB, free: 233.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/6.785, allocations: 95.19 kB / 4.016 GB, free: 233.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/6.786, allocations: 0.7251 MB / 4.016 GB, free: 233.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/6.786, allocations: 3.656 kB / 4.016 GB, free: 233.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/6.786, allocations: 3.156 kB / 4.016 GB, free: 233.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/6.786, allocations: 3.844 kB / 4.016 GB, free: 233.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002016/6.788, allocations: 1.606 MB / 4.018 GB, free: 233.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/6.788, allocations: 7.75 kB / 4.018 GB, free: 233.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/6.788, allocations: 38.75 kB / 4.018 GB, free: 233.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003299/6.789, allocations: 228.7 kB / 4.018 GB, free: 233.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.371e-05/6.789, allocations: 13.34 kB / 4.018 GB, free: 233.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008347/6.789, allocations: 1.108 MB / 4.019 GB, free: 232.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/6.789, allocations: 0 / 4.019 GB, free: 232.7 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009101/6.79, allocations: 0.9226 MB / 4.02 GB, free: 232.3 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001023/6.791, allocations: 1.335 MB / 4.021 GB, free: 231.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003224/6.792, allocations: 225.1 kB / 4.022 GB, free: 231.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001379/6.792, allocations: 3.625 kB / 4.022 GB, free: 231.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006086/6.792, allocations: 72.92 kB / 4.022 GB, free: 231.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.141e-05/6.793, allocations: 29.14 kB / 4.022 GB, free: 231.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/6.793, allocations: 11.47 kB / 4.022 GB, free: 231.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0006253/6.793, allocations: 0.6826 MB / 4.022 GB, free: 231.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002848/6.796, allocations: 0.6814 MB / 4.023 GB, free: 231.3 MB / 0.8698 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 {10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001295/6.797, allocations: 1.035 MB / 4.024 GB, free: 231.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002125/6.799, allocations: 1.084 MB / 4.025 GB, free: 230.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/6.8, allocations: 0 / 4.025 GB, free: 230.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004769/6.8, allocations: 282.9 kB / 4.025 GB, free: 230.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002669/6.803, allocations: 0.5257 MB / 4.026 GB, free: 230.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003257/6.806, allocations: 1.407 MB / 4.027 GB, free: 230.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001133/6.807, allocations: 1.27 MB / 4.029 GB, free: 229.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.021e-06/6.807, allocations: 0 / 4.029 GB, free: 229.8 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1)