Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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.SeriesParallelDp,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.208/1.208, allocations: 249.4 MB / 256.7 MB, free: 6.93 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.0009338/0.0009338, allocations: 188.1 kB / 316 MB, free: 3.586 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.129/1.129, allocations: 205.2 MB / 0.5667 GB, free: 15.78 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.0008267/0.0008268, allocations: 102.6 kB / 0.671 GB, free: 4.895 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3348/0.3356, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.5062, allocations: 106.3 MB / 0.8847 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.138/4.644, allocations: 2.185 GB / 3.069 GB, free: 221 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/4.645, allocations: 95.81 kB / 3.069 GB, free: 220.9 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 3.019/7.663, allocations: 1.045 GB / 4.114 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/7.663, allocations: 8 kB / 4.114 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001233/7.665, allocations: 206.3 kB / 4.115 GB, free: 171.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00384/7.669, allocations: 1.454 MB / 4.116 GB, free: 170 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.273e-05/7.669, allocations: 19.91 kB / 4.116 GB, free: 170 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/7.669, allocations: 40 kB / 4.116 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009794/7.67, allocations: 0.7209 MB / 4.117 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009882/7.671, allocations: 0.8721 MB / 4.118 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/7.671, allocations: 4 kB / 4.118 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.8e-05/7.671, allocations: 0 / 4.118 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/7.671, allocations: 16 kB / 4.118 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003743/7.675, allocations: 4.693 MB / 4.122 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000632/7.675, allocations: 0.5146 MB / 4.123 GB, free: 162.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003763/7.676, allocations: 430.2 kB / 4.123 GB, free: 162.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002609/7.676, allocations: 194.5 kB / 4.123 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003017/7.676, allocations: 308.8 kB / 4.124 GB, free: 161.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=35): time 2.735e-06/7.676, allocations: 0 / 4.124 GB, free: 161.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=35): time 0.001816/7.678, allocations: 0.887 MB / 4.125 GB, free: 160.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/7.678, allocations: 81.11 kB / 4.125 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008825/7.679, allocations: 0.9259 MB / 4.126 GB, free: 159.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.763e-05/7.679, allocations: 25.7 kB / 4.126 GB, free: 159.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/7.679, allocations: 360.2 kB / 4.126 GB, free: 159.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.242e-05/7.679, allocations: 106.4 kB / 4.126 GB, free: 159.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.283e-05/7.679, allocations: 4 kB / 4.126 GB, free: 159.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.655e-05/7.679, allocations: 333.9 kB / 4.126 GB, free: 159 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/7.68, allocations: 216.9 kB / 4.127 GB, free: 158.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00036/7.68, allocations: 0.542 MB / 4.127 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002971/7.68, allocations: 317.6 kB / 4.127 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/7.68, allocations: 4 kB / 4.127 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001603/7.682, allocations: 1.012 MB / 4.128 GB, free: 156.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003507/7.682, allocations: 2.1 MB / 4.13 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/7.682, allocations: 4 kB / 4.13 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005147/7.683, allocations: 307.1 kB / 4.131 GB, free: 154.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002991/7.683, allocations: 71.91 kB / 4.131 GB, free: 154.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001516/7.685, allocations: 1.302 MB / 4.132 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009952/7.686, allocations: 115.4 kB / 4.132 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.425e-05/7.686, allocations: 24 kB / 4.132 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.123e-06/7.686, allocations: 8 kB / 4.132 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001068/7.687, allocations: 0.6866 MB / 4.133 GB, free: 152 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/7.687, allocations: 8.609 kB / 4.133 GB, free: 152 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005374/7.687, allocations: 241.3 kB / 4.133 GB, free: 151.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/7.688, allocations: 75.83 kB / 4.133 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003121/7.691, allocations: 2.946 MB / 4.136 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009762/7.692, allocations: 104 kB / 4.136 GB, free: 148.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.164e-05/7.692, allocations: 24 kB / 4.136 GB, free: 148.5 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 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.0001709/7.692, allocations: 130 kB / 4.136 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/7.692, allocations: 102.8 kB / 4.136 GB, free: 148.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001144/7.693, allocations: 0.7921 MB / 4.137 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/7.693, allocations: 4 kB / 4.137 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-06/7.693, allocations: 4 kB / 4.137 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/7.693, allocations: 0 / 4.137 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001992/7.695, allocations: 1.698 MB / 4.139 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/7.695, allocations: 0 / 4.139 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001955/7.696, allocations: 36.19 kB / 4.139 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000392/7.696, allocations: 260.8 kB / 4.139 GB, free: 145.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/7.696, allocations: 8 kB / 4.139 GB, free: 145.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008704/7.697, allocations: 1.146 MB / 4.14 GB, free: 144.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/7.697, allocations: 4 kB / 4.14 GB, free: 144.2 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008996/7.698, allocations: 0.9712 MB / 4.141 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001118/7.699, allocations: 1.417 MB / 4.143 GB, free: 141.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003268/7.699, allocations: 227.7 kB / 4.143 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001271/7.699, allocations: 4 kB / 4.143 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006848/7.7, allocations: 79.75 kB / 4.143 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.138e-05/7.7, allocations: 35.89 kB / 4.143 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.512e-05/7.7, allocations: 12 kB / 4.143 GB, free: 141.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0006619/7.701, allocations: 0.7219 MB / 4.144 GB, free: 140.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003037/7.704, allocations: 0.7922 MB / 4.144 GB, free: 139.8 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 {11 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001349/7.705, allocations: 1.277 MB / 4.146 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002008/7.707, allocations: 1.154 MB / 4.147 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/7.707, allocations: 0 / 4.147 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004616/7.708, allocations: 312.1 kB / 4.147 GB, free: 137.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002637/7.71, allocations: 0.5698 MB / 4.148 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002162/7.713, allocations: 1.477 MB / 4.149 GB, free: 135.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006197/7.713, allocations: 1.3 MB / 4.15 GB, free: 133.8 MB / 0.8698 GB Notification: Performance of SimCode: time 6.01e-07/7.713, allocations: 0 / 4.15 GB, free: 133.8 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)