Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.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.ParallelFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.135/2.135, allocations: 390.4 MB / 397.7 MB, free: 10.7 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001461/0.001462, allocations: 177.6 kB / 490.8 MB, free: 11.22 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.818/1.818, allocations: 221.4 MB / 0.7863 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 87.72 kB / 0.9264 GB, free: 4.547 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.3993/0.4005, allocations: 149.2 MB / 1.072 GB, free: 15.47 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.14/1.541, allocations: 143 MB / 1.212 GB, free: 156 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.711/6.252, allocations: 1.869 GB / 3.081 GB, free: 207.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/6.252, allocations: 87.95 kB / 3.081 GB, free: 207.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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 3.346/9.599, allocations: 0.9695 GB / 4.05 GB, free: 99.74 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/9.599, allocations: 12 kB / 4.05 GB, free: 99.73 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/9.6, allocations: 194.4 kB / 4.051 GB, free: 99.54 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003599/9.603, allocations: 1.366 MB / 4.052 GB, free: 98.12 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/9.603, allocations: 16 kB / 4.052 GB, free: 98.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.939e-05/9.604, allocations: 39.91 kB / 4.052 GB, free: 98.06 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000691/9.604, allocations: 0.5056 MB / 4.053 GB, free: 97.56 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007267/9.605, allocations: 0.7217 MB / 4.053 GB, free: 96.76 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/9.605, allocations: 0 / 4.053 GB, free: 96.76 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.174e-05/9.605, allocations: 4 kB / 4.053 GB, free: 96.76 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/9.605, allocations: 12 kB / 4.053 GB, free: 96.75 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002919/9.608, allocations: 4.156 MB / 4.057 GB, free: 92.34 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004807/9.608, allocations: 486.2 kB / 4.058 GB, free: 91.86 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003069/9.609, allocations: 350.5 kB / 4.058 GB, free: 91.51 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002566/9.609, allocations: 190.2 kB / 4.058 GB, free: 91.29 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002901/9.609, allocations: 286.8 kB / 4.059 GB, free: 90.98 MB / 1.151 GB Notification: Performance of pre-optimization done (n=33): time 2.525e-06/9.609, allocations: 4 kB / 4.059 GB, free: 90.98 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.001644/9.611, allocations: 0.8307 MB / 4.059 GB, free: 90.14 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.432e-05/9.611, allocations: 85.11 kB / 4.059 GB, free: 90.04 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007805/9.612, allocations: 0.8713 MB / 4.06 GB, free: 89.15 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/9.612, allocations: 29.7 kB / 4.06 GB, free: 89.11 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/9.612, allocations: 336.2 kB / 4.061 GB, free: 88.78 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.022e-05/9.612, allocations: 106.5 kB / 4.061 GB, free: 88.68 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.195e-05/9.612, allocations: 3.938 kB / 4.061 GB, free: 88.67 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.12e-05/9.612, allocations: 330 kB / 4.061 GB, free: 88.34 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002236/9.612, allocations: 208.9 kB / 4.061 GB, free: 88.14 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003399/9.613, allocations: 0.5354 MB / 4.062 GB, free: 87.46 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000283/9.613, allocations: 298.7 kB / 4.062 GB, free: 87.17 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/9.613, allocations: 0 / 4.062 GB, free: 87.17 MB / 1.151 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001445/9.615, allocations: 0.9516 MB / 4.063 GB, free: 86.21 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002883/9.615, allocations: 2.104 MB / 4.065 GB, free: 83.95 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/9.615, allocations: 4 kB / 4.065 GB, free: 83.94 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004641/9.615, allocations: 280.3 kB / 4.065 GB, free: 83.67 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002533/9.616, allocations: 71.91 kB / 4.065 GB, free: 83.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/9.617, allocations: 1.262 MB / 4.067 GB, free: 82.31 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008638/9.618, allocations: 91.52 kB / 4.067 GB, free: 82.22 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.797e-05/9.618, allocations: 27.98 kB / 4.067 GB, free: 82.19 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.324e-06/9.618, allocations: 7.281 kB / 4.067 GB, free: 82.19 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001007/9.619, allocations: 0.6539 MB / 4.067 GB, free: 81.53 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/9.619, allocations: 4 kB / 4.067 GB, free: 81.53 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005187/9.62, allocations: 220.8 kB / 4.068 GB, free: 81.31 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/9.62, allocations: 76 kB / 4.068 GB, free: 81.24 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002816/9.623, allocations: 2.833 MB / 4.07 GB, free: 78.29 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007833/9.623, allocations: 91.66 kB / 4.071 GB, free: 78.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.314e-05/9.623, allocations: 27.98 kB / 4.071 GB, free: 78.17 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 (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.0001185/9.624, allocations: 124.6 kB / 4.071 GB, free: 78.05 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.874e-05/9.624, allocations: 98.78 kB / 4.071 GB, free: 77.95 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009938/9.625, allocations: 0.7219 MB / 4.071 GB, free: 77.21 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/9.625, allocations: 7.938 kB / 4.072 GB, free: 77.21 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/9.625, allocations: 4 kB / 4.072 GB, free: 77.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/9.625, allocations: 3.906 kB / 4.072 GB, free: 77.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001794/9.626, allocations: 1.597 MB / 4.073 GB, free: 75.53 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/9.626, allocations: 8.219 kB / 4.073 GB, free: 75.52 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/9.627, allocations: 27.92 kB / 4.073 GB, free: 75.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003448/9.627, allocations: 231.1 kB / 4.073 GB, free: 75.27 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.421e-05/9.627, allocations: 4 kB / 4.073 GB, free: 75.27 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008317/9.628, allocations: 1.121 MB / 4.074 GB, free: 74.12 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/9.628, allocations: 0 / 4.074 GB, free: 74.12 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008365/9.629, allocations: 0.9191 MB / 4.075 GB, free: 73.12 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009771/9.63, allocations: 1.331 MB / 4.077 GB, free: 71.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002569/9.63, allocations: 215.9 kB / 4.077 GB, free: 71.47 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/9.63, allocations: 0 / 4.077 GB, free: 71.47 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000615/9.631, allocations: 67.77 kB / 4.077 GB, free: 71.41 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.053e-05/9.631, allocations: 43.73 kB / 4.077 GB, free: 71.36 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-05/9.631, allocations: 8 kB / 4.077 GB, free: 71.36 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0006178/9.631, allocations: 0.6845 MB / 4.078 GB, free: 70.66 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002539/9.634, allocations: 0.6751 MB / 4.078 GB, free: 69.98 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 (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.001023/9.635, allocations: 1.039 MB / 4.079 GB, free: 68.95 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001816/9.637, allocations: 1.094 MB / 4.08 GB, free: 67.83 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/9.637, allocations: 0 / 4.08 GB, free: 67.83 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004393/9.637, allocations: 281.5 kB / 4.081 GB, free: 67.55 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002381/9.64, allocations: 0.5221 MB / 4.081 GB, free: 67.04 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/9.642, allocations: 1.41 MB / 4.083 GB, free: 65.58 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005542/9.642, allocations: 1.26 MB / 4.084 GB, free: 64.29 MB / 1.151 GB Notification: Performance of SimCode: time 5.21e-07/9.642, allocations: 0 / 4.084 GB, free: 64.29 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1)