Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.256/1.256, allocations: 249.4 MB / 256.7 MB, free: 6.957 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.001006/0.001006, allocations: 185 kB / 316 MB, free: 3.531 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.231/1.231, allocations: 205.1 MB / 0.5667 GB, free: 15.7 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.0008961/0.0008961, allocations: 85.28 kB / 0.671 GB, free: 4.836 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3785/0.3794, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.5573, allocations: 106.3 MB / 0.8847 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.771/4.328, allocations: 2.182 GB / 3.067 GB, free: 219.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/4.328, allocations: 95.53 kB / 3.067 GB, free: 219.5 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 5.472/9.801, allocations: 1.914 GB / 4.981 GB, free: 209.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/9.801, allocations: 11.16 kB / 4.981 GB, free: 209.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001244/9.802, allocations: 203.7 kB / 4.982 GB, free: 209.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003945/9.806, allocations: 1.431 MB / 4.983 GB, free: 208.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.666e-05/9.806, allocations: 15.19 kB / 4.983 GB, free: 208.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001695/9.806, allocations: 42.03 kB / 4.983 GB, free: 208.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00108/9.808, allocations: 0.7259 MB / 4.984 GB, free: 208.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/9.809, allocations: 0.8757 MB / 4.985 GB, free: 208.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/9.809, allocations: 6.406 kB / 4.985 GB, free: 208.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.667e-05/9.809, allocations: 3.906 kB / 4.985 GB, free: 208.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/9.809, allocations: 10.94 kB / 4.985 GB, free: 208.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004139/9.813, allocations: 4.715 MB / 4.989 GB, free: 205.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006754/9.814, allocations: 0.5324 MB / 4.99 GB, free: 205.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003968/9.814, allocations: 441.1 kB / 4.99 GB, free: 205.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002619/9.814, allocations: 201 kB / 4.99 GB, free: 205.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003383/9.815, allocations: 307.7 kB / 4.991 GB, free: 205.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=35): time 2.635e-06/9.815, allocations: 0 / 4.991 GB, free: 205.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=35): time 0.001994/9.817, allocations: 0.9465 MB / 4.992 GB, free: 205.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/9.817, allocations: 80.89 kB / 4.992 GB, free: 205 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/9.818, allocations: 0.9146 MB / 4.993 GB, free: 204.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.218e-05/9.818, allocations: 28.48 kB / 4.993 GB, free: 204.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002219/9.818, allocations: 361.1 kB / 4.993 GB, free: 204.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.328e-05/9.818, allocations: 117 kB / 4.993 GB, free: 204.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.402e-05/9.818, allocations: 0 / 4.993 GB, free: 204.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 4.962e-05/9.818, allocations: 330.3 kB / 4.993 GB, free: 204.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002502/9.819, allocations: 218.9 kB / 4.994 GB, free: 204.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004129/9.819, allocations: 0.5567 MB / 4.994 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003613/9.819, allocations: 326 kB / 4.994 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/9.819, allocations: 0 / 4.994 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001725/9.821, allocations: 1.078 MB / 4.995 GB, free: 203.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003583/9.821, allocations: 2.103 MB / 4.997 GB, free: 201.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/9.821, allocations: 3.969 kB / 4.997 GB, free: 201.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006418/9.822, allocations: 339.9 kB / 4.998 GB, free: 201.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/9.822, allocations: 66.83 kB / 4.998 GB, free: 201.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/9.824, allocations: 1.348 MB / 4.999 GB, free: 201.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/9.825, allocations: 115.5 kB / 4.999 GB, free: 201.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-05/9.825, allocations: 29.75 kB / 4.999 GB, free: 201.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.053e-06/9.825, allocations: 3.844 kB / 4.999 GB, free: 201.1 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001163/9.826, allocations: 0.7509 MB / 5 GB, free: 201 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/9.826, allocations: 7.625 kB / 5 GB, free: 201 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007385/9.827, allocations: 313.5 kB / 5 GB, free: 201 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/9.827, allocations: 62.48 kB / 5 GB, free: 201 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003515/9.83, allocations: 3.439 MB / 5.004 GB, free: 199.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/9.832, allocations: 102.2 kB / 5.004 GB, free: 199.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.958e-05/9.832, allocations: 24.75 kB / 5.004 GB, free: 199.7 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 (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.0001867/9.832, allocations: 130 kB / 5.004 GB, free: 199.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002162/9.832, allocations: 97.84 kB / 5.004 GB, free: 199.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001331/9.833, allocations: 0.8525 MB / 5.005 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/9.833, allocations: 3.219 kB / 5.005 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/9.833, allocations: 3.281 kB / 5.005 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/9.833, allocations: 3.828 kB / 5.005 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002453/9.836, allocations: 1.79 MB / 5.007 GB, free: 199 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.383e-05/9.836, allocations: 6.672 kB / 5.007 GB, free: 199 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/9.836, allocations: 31.42 kB / 5.007 GB, free: 199 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005054/9.837, allocations: 284.9 kB / 5.007 GB, free: 199 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/9.837, allocations: 7.094 kB / 5.007 GB, free: 199 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008924/9.837, allocations: 1.198 MB / 5.008 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/9.837, allocations: 7.312 kB / 5.008 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001078/9.839, allocations: 1.032 MB / 5.009 GB, free: 198.1 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001279/9.84, allocations: 1.482 MB / 5.011 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004638/9.84, allocations: 228.5 kB / 5.011 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001988/9.841, allocations: 6.812 kB / 5.011 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008035/9.841, allocations: 84.7 kB / 5.011 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.746e-05/9.841, allocations: 23.98 kB / 5.011 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.628e-05/9.841, allocations: 14.91 kB / 5.011 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.000894/9.842, allocations: 0.7133 MB / 5.012 GB, free: 197 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003459/9.846, allocations: 0.7908 MB / 5.012 GB, free: 197 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 (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.001429/9.847, allocations: 1.223 MB / 5.014 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001603/9.849, allocations: 1.073 MB / 5.015 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/9.849, allocations: 3.719 kB / 5.015 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004007/9.849, allocations: 269 kB / 5.015 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002769/9.852, allocations: 0.5699 MB / 5.016 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/9.855, allocations: 1.483 MB / 5.017 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006975/9.855, allocations: 1.297 MB / 5.018 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of SimCode: time 5.31e-07/9.855, allocations: 0 / 5.018 GB, free: 195.4 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)