Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",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.0.0/package.mo): time 2.459/2.459, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.0017/0.001699, allocations: 179.8 kB / 360.3 MB, free: 7.559 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.781/1.781, allocations: 205.1 MB / 0.6187 GB, free: 13.22 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.001327/0.001326, allocations: 94.34 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2813/0.2827, allocations: 121.4 MB / 0.8502 GB, free: 3.922 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6764/0.9591, allocations: 115.2 MB / 0.9628 GB, free: 78.57 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.57/5.529, allocations: 2.065 GB / 3.028 GB, free: 55.44 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/5.529, allocations: 97.83 kB / 3.028 GB, free: 55.39 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 4.866/10.4, allocations: 1.082 GB / 4.111 GB, free: 84.88 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/10.4, allocations: 8 kB / 4.111 GB, free: 84.88 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002835/10.4, allocations: 206.3 kB / 4.111 GB, free: 84.67 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01086/10.41, allocations: 1.449 MB / 4.112 GB, free: 83.16 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.864e-05/10.41, allocations: 20 kB / 4.112 GB, free: 83.14 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003487/10.41, allocations: 43.94 kB / 4.112 GB, free: 83.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002849/10.41, allocations: 0.717 MB / 4.113 GB, free: 82.39 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002871/10.42, allocations: 0.8681 MB / 4.114 GB, free: 81.45 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.953e-05/10.42, allocations: 0 / 4.114 GB, free: 81.45 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001523/10.42, allocations: 7.906 kB / 4.114 GB, free: 81.44 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.637e-05/10.42, allocations: 15.94 kB / 4.114 GB, free: 81.42 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01034/10.43, allocations: 4.702 MB / 4.118 GB, free: 76.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001852/10.43, allocations: 0.5073 MB / 4.119 GB, free: 75.89 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001096/10.43, allocations: 433.2 kB / 4.119 GB, free: 75.46 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000592/10.43, allocations: 190.5 kB / 4.119 GB, free: 75.24 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009461/10.43, allocations: 316 kB / 4.12 GB, free: 74.91 MB / 0.948 GB Notification: Performance of pre-optimization done (n=35): time 6.332e-06/10.43, allocations: 0 / 4.12 GB, free: 74.91 MB / 0.948 GB Notification: Performance of matching and sorting (n=35): time 0.005139/10.44, allocations: 0.8762 MB / 4.121 GB, free: 74.03 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.533e-05/10.44, allocations: 85.09 kB / 4.121 GB, free: 73.93 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002835/10.44, allocations: 0.9181 MB / 4.122 GB, free: 72.99 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002126/10.44, allocations: 33.64 kB / 4.122 GB, free: 72.95 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005158/10.44, allocations: 356.3 kB / 4.122 GB, free: 72.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002451/10.44, allocations: 118.2 kB / 4.122 GB, free: 72.48 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.871e-05/10.44, allocations: 4 kB / 4.122 GB, free: 72.48 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001024/10.44, allocations: 326 kB / 4.122 GB, free: 72.16 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007323/10.44, allocations: 212.9 kB / 4.123 GB, free: 71.95 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/10.44, allocations: 0.5459 MB / 4.123 GB, free: 71.25 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/10.44, allocations: 329.8 kB / 4.123 GB, free: 70.93 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.227e-05/10.44, allocations: 0 / 4.123 GB, free: 70.93 MB / 0.948 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.005171/10.45, allocations: 1.004 MB / 4.124 GB, free: 69.91 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005875/10.45, allocations: 2.101 MB / 4.126 GB, free: 67.65 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.661e-05/10.45, allocations: 7.984 kB / 4.126 GB, free: 67.64 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00157/10.45, allocations: 310.8 kB / 4.127 GB, free: 67.34 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009092/10.45, allocations: 71.89 kB / 4.127 GB, free: 67.27 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004799/10.46, allocations: 1.299 MB / 4.128 GB, free: 65.95 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003104/10.46, allocations: 115.4 kB / 4.128 GB, free: 65.83 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001906/10.46, allocations: 24 kB / 4.128 GB, free: 65.81 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/10.46, allocations: 4 kB / 4.128 GB, free: 65.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003225/10.46, allocations: 0.6959 MB / 4.129 GB, free: 65.11 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/10.46, allocations: 8.125 kB / 4.129 GB, free: 65.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001646/10.47, allocations: 244.6 kB / 4.129 GB, free: 64.86 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008955/10.47, allocations: 83.77 kB / 4.129 GB, free: 64.77 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008926/10.47, allocations: 2.934 MB / 4.132 GB, free: 61.71 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002903/10.48, allocations: 107.5 kB / 4.132 GB, free: 61.61 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001723/10.48, allocations: 24 kB / 4.132 GB, free: 61.59 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 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003331/10.48, allocations: 120.2 kB / 4.132 GB, free: 61.46 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004086/10.48, allocations: 110.7 kB / 4.132 GB, free: 61.36 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002884/10.48, allocations: 0.7814 MB / 4.133 GB, free: 60.57 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.796e-05/10.48, allocations: 4 kB / 4.133 GB, free: 60.56 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.852e-06/10.48, allocations: 0 / 4.133 GB, free: 60.56 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/10.48, allocations: 4 kB / 4.133 GB, free: 60.56 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005962/10.49, allocations: 1.693 MB / 4.135 GB, free: 58.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.454e-05/10.49, allocations: 0 / 4.135 GB, free: 58.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005185/10.49, allocations: 44.12 kB / 4.135 GB, free: 58.76 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001039/10.49, allocations: 265.1 kB / 4.135 GB, free: 58.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-05/10.49, allocations: 8 kB / 4.135 GB, free: 58.49 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00251/10.49, allocations: 1.142 MB / 4.136 GB, free: 57.32 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-05/10.49, allocations: 0 / 4.136 GB, free: 57.32 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002792/10.5, allocations: 0.9753 MB / 4.137 GB, free: 56.27 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003307/10.5, allocations: 1.409 MB / 4.139 GB, free: 54.77 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001143/10.5, allocations: 223.8 kB / 4.139 GB, free: 54.54 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005782/10.5, allocations: 8 kB / 4.139 GB, free: 54.53 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002351/10.5, allocations: 83.66 kB / 4.139 GB, free: 54.45 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002458/10.5, allocations: 35.88 kB / 4.139 GB, free: 54.41 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.227e-05/10.5, allocations: 16 kB / 4.139 GB, free: 54.39 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.002083/10.51, allocations: 0.718 MB / 4.14 GB, free: 53.67 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.007446/10.51, allocations: 0.7922 MB / 4.14 GB, free: 52.88 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 {11 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.002197/10.52, allocations: 1.283 MB / 4.142 GB, free: 51.57 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004056/10.52, allocations: 1.153 MB / 4.143 GB, free: 50.39 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/10.52, allocations: 0 / 4.143 GB, free: 50.39 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001004/10.52, allocations: 319.9 kB / 4.143 GB, free: 50.08 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005837/10.53, allocations: 0.571 MB / 4.144 GB, free: 49.52 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003934/10.53, allocations: 1.484 MB / 4.145 GB, free: 47.98 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001154/10.53, allocations: 1.296 MB / 4.146 GB, free: 46.66 MB / 0.948 GB Notification: Performance of SimCode: time 1.673e-06/10.53, allocations: 4 kB / 4.146 GB, free: 46.65 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)