Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",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.1-maint.8.0.x/package.mo): time 1.402/1.402, allocations: 285.5 MB / 292.8 MB, free: 10.42 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.001201/0.001201, allocations: 191.5 kB / 361.1 MB, free: 7.09 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.275/1.275, allocations: 205.1 MB / 0.6195 GB, free: 10.29 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.0009251/0.0009252, allocations: 86.75 kB / 0.7325 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2445/0.2455, allocations: 121.4 MB / 0.8511 GB, free: 2.891 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6467/0.8922, allocations: 115.3 MB / 0.9638 GB, free: 78.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.378/4.27, allocations: 2.063 GB / 3.027 GB, free: 93.21 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/4.27, allocations: 91.3 kB / 3.027 GB, free: 93.13 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 5.096/9.366, allocations: 1.791 GB / 4.818 GB, free: 141 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/9.366, allocations: 8 kB / 4.818 GB, free: 141 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/9.367, allocations: 194.4 kB / 4.818 GB, free: 140.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003484/9.371, allocations: 1.373 MB / 4.819 GB, free: 139.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/9.371, allocations: 20 kB / 4.819 GB, free: 139.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/9.371, allocations: 43.91 kB / 4.82 GB, free: 139.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006936/9.371, allocations: 0.5017 MB / 4.82 GB, free: 138.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007492/9.372, allocations: 0.709 MB / 4.821 GB, free: 138 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/9.372, allocations: 7.938 kB / 4.821 GB, free: 138 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.23e-05/9.372, allocations: 0 / 4.821 GB, free: 138 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/9.372, allocations: 16 kB / 4.821 GB, free: 138 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003387/9.376, allocations: 4.16 MB / 4.825 GB, free: 133.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004828/9.376, allocations: 483 kB / 4.825 GB, free: 133.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003042/9.377, allocations: 338 kB / 4.826 GB, free: 132.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00026/9.377, allocations: 198.7 kB / 4.826 GB, free: 132.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002835/9.377, allocations: 286.9 kB / 4.826 GB, free: 132.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 1.754e-06/9.377, allocations: 0 / 4.826 GB, free: 132.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.0017/9.379, allocations: 0.8142 MB / 4.827 GB, free: 131.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.402e-05/9.379, allocations: 81.11 kB / 4.827 GB, free: 131.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000883/9.38, allocations: 0.8752 MB / 4.828 GB, free: 130.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.961e-05/9.38, allocations: 29.64 kB / 4.828 GB, free: 130.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/9.38, allocations: 332.2 kB / 4.828 GB, free: 130.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.794e-05/9.38, allocations: 114.4 kB / 4.828 GB, free: 130 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.247e-05/9.38, allocations: 0 / 4.828 GB, free: 130 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 4.903e-05/9.38, allocations: 330 kB / 4.829 GB, free: 129.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002248/9.38, allocations: 208.9 kB / 4.829 GB, free: 129.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003367/9.381, allocations: 0.524 MB / 4.829 GB, free: 128.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002918/9.381, allocations: 294.6 kB / 4.83 GB, free: 128.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/9.381, allocations: 0 / 4.83 GB, free: 128.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001424/9.382, allocations: 0.9469 MB / 4.83 GB, free: 127.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002839/9.383, allocations: 2.096 MB / 4.832 GB, free: 125.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/9.383, allocations: 8 kB / 4.832 GB, free: 125.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004443/9.383, allocations: 255.2 kB / 4.833 GB, free: 125 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002481/9.383, allocations: 67.84 kB / 4.833 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008978/9.384, allocations: 1.18 MB / 4.834 GB, free: 123.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009435/9.385, allocations: 107.5 kB / 4.834 GB, free: 123.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.744e-05/9.385, allocations: 24 kB / 4.834 GB, free: 123.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.771e-06/9.385, allocations: 4 kB / 4.834 GB, free: 123.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009504/9.386, allocations: 0.6426 MB / 4.835 GB, free: 123 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/9.386, allocations: 4 kB / 4.835 GB, free: 122.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005373/9.387, allocations: 227.9 kB / 4.835 GB, free: 122.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/9.387, allocations: 72.69 kB / 4.835 GB, free: 122.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00272/9.39, allocations: 2.796 MB / 4.838 GB, free: 119.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008713/9.391, allocations: 95.61 kB / 4.838 GB, free: 119.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.774e-05/9.391, allocations: 27.98 kB / 4.838 GB, free: 119.6 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 {1 20} Notification: Performance of prepare postOptimizeDAE: time 0.0001299/9.391, allocations: 128.6 kB / 4.838 GB, free: 119.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/9.391, allocations: 94.78 kB / 4.838 GB, free: 119.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/9.392, allocations: 0.722 MB / 4.839 GB, free: 118.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/9.392, allocations: 4 kB / 4.839 GB, free: 118.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/9.392, allocations: 0 / 4.839 GB, free: 118.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/9.392, allocations: 0 / 4.839 GB, free: 118.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002092/9.394, allocations: 1.613 MB / 4.84 GB, free: 117 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/9.394, allocations: 0 / 4.84 GB, free: 117 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/9.394, allocations: 28.2 kB / 4.84 GB, free: 116.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003412/9.395, allocations: 209 kB / 4.841 GB, free: 116.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.512e-05/9.395, allocations: 4 kB / 4.841 GB, free: 116.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006847/9.396, allocations: 1.048 MB / 4.842 GB, free: 115.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/9.396, allocations: 11.95 kB / 4.842 GB, free: 115.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00086/9.396, allocations: 0.9151 MB / 4.842 GB, free: 114.7 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001102/9.398, allocations: 1.336 MB / 4.844 GB, free: 113.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003493/9.398, allocations: 215.8 kB / 4.844 GB, free: 113 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000161/9.398, allocations: 4 kB / 4.844 GB, free: 113 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006686/9.399, allocations: 63.77 kB / 4.844 GB, free: 112.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.551e-05/9.399, allocations: 31.95 kB / 4.844 GB, free: 112.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.52e-05/9.399, allocations: 19.91 kB / 4.844 GB, free: 112.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0006749/9.4, allocations: 0.6845 MB / 4.845 GB, free: 112.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003048/9.403, allocations: 0.679 MB / 4.845 GB, free: 111.5 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 {1 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.001065/9.404, allocations: 1.038 MB / 4.846 GB, free: 110.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001334/9.405, allocations: 0.972 MB / 4.847 GB, free: 109.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/9.405, allocations: 0 / 4.847 GB, free: 109.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003238/9.405, allocations: 222.3 kB / 4.848 GB, free: 109.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00243/9.408, allocations: 0.5343 MB / 4.848 GB, free: 108.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002203/9.41, allocations: 1.398 MB / 4.85 GB, free: 107.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006253/9.411, allocations: 1.259 MB / 4.851 GB, free: 106 MB / 0.948 GB Notification: Performance of SimCode: time 8.71e-07/9.411, allocations: 0 / 4.851 GB, free: 106 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)