Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.ParallelFlowOptimised,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.545/2.545, allocations: 284.8 MB / 292.1 MB, free: 10.81 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.001549/0.001549, allocations: 183.8 kB / 360.3 MB, free: 7.547 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.845/1.845, allocations: 205.2 MB / 0.6187 GB, free: 13.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.001207/0.001206, allocations: 79.5 kB / 0.7317 GB, free: 45.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2722/0.2735, allocations: 121.4 MB / 0.8502 GB, free: 3.969 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.633/0.9066, allocations: 115.2 MB / 0.9628 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.043/5.949, allocations: 2.063 GB / 3.025 GB, free: 273.2 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003745/5.95, allocations: 92.47 kB / 3.025 GB, free: 273.2 MB / 0.9323 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 8.281/14.23, allocations: 1.791 GB / 4.817 GB, free: 18.86 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.975e-05/14.23, allocations: 12 kB / 4.817 GB, free: 18.85 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002894/14.23, allocations: 186.5 kB / 4.817 GB, free: 18.67 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006779/14.24, allocations: 1.37 MB / 4.818 GB, free: 17.24 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.579e-05/14.24, allocations: 16 kB / 4.818 GB, free: 17.23 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001731/14.24, allocations: 36 kB / 4.818 GB, free: 17.19 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001365/14.24, allocations: 0.5133 MB / 4.819 GB, free: 16.68 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/14.24, allocations: 0.709 MB / 4.82 GB, free: 15.89 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/14.24, allocations: 0 / 4.82 GB, free: 15.89 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.76e-05/14.24, allocations: 4 kB / 4.82 GB, free: 15.89 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/14.24, allocations: 20 kB / 4.82 GB, free: 15.87 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00561/14.25, allocations: 4.163 MB / 4.824 GB, free: 11.46 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/14.25, allocations: 478.4 kB / 4.824 GB, free: 10.98 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006436/14.25, allocations: 347.6 kB / 4.824 GB, free: 10.64 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004394/14.25, allocations: 190.7 kB / 4.825 GB, free: 10.41 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005452/14.25, allocations: 282.9 kB / 4.825 GB, free: 10.12 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 4.989e-06/14.25, allocations: 96 / 4.825 GB, free: 10.12 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.004894/14.26, allocations: 0.8135 MB / 4.826 GB, free: 9.293 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.964e-05/14.26, allocations: 85.11 kB / 4.826 GB, free: 9.191 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002026/14.26, allocations: 0.8713 MB / 4.827 GB, free: 8.301 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001395/14.26, allocations: 29.7 kB / 4.827 GB, free: 8.266 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000309/14.26, allocations: 336.2 kB / 4.827 GB, free: 7.93 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/14.26, allocations: 106.4 kB / 4.827 GB, free: 7.824 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.812e-05/14.26, allocations: 4 kB / 4.827 GB, free: 7.82 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.506e-05/14.26, allocations: 329.9 kB / 4.827 GB, free: 7.492 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000466/14.26, allocations: 208.9 kB / 4.828 GB, free: 7.289 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006856/14.26, allocations: 0.5279 MB / 4.828 GB, free: 6.617 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006145/14.26, allocations: 294.6 kB / 4.828 GB, free: 6.332 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/14.26, allocations: 0 / 4.828 GB, free: 6.332 MB / 0.948 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.003077/14.27, allocations: 0.9548 MB / 4.829 GB, free: 5.367 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004354/14.27, allocations: 2.092 MB / 4.831 GB, free: 3.113 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/14.27, allocations: 4 kB / 4.831 GB, free: 3.109 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009465/14.27, allocations: 255 kB / 4.832 GB, free: 2.859 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005407/14.27, allocations: 72.06 kB / 4.832 GB, free: 2.789 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001951/14.27, allocations: 1.18 MB / 4.833 GB, free: 1.582 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001982/14.27, allocations: 107.5 kB / 4.833 GB, free: 1.477 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/14.27, allocations: 31.92 kB / 4.833 GB, free: 1.445 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/14.27, allocations: 4 kB / 4.833 GB, free: 1.441 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001909/14.27, allocations: 0.6346 MB / 4.834 GB, free: 0.8047 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/14.27, allocations: 8 kB / 4.834 GB, free: 0.7969 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/14.27, allocations: 223.8 kB / 4.834 GB, free: 0.5781 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004755/14.28, allocations: 75.83 kB / 4.834 GB, free: 0.5039 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3362/14.61, allocations: 2.783 MB / 4.837 GB, free: 362.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/14.61, allocations: 91.97 kB / 4.837 GB, free: 362.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/14.61, allocations: 29.09 kB / 4.837 GB, free: 362.2 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.0002342/14.61, allocations: 134.2 kB / 4.837 GB, free: 362.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002196/14.61, allocations: 97 kB / 4.837 GB, free: 362.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002103/14.62, allocations: 0.7255 MB / 4.838 GB, free: 362 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/14.62, allocations: 3.969 kB / 4.838 GB, free: 362 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/14.62, allocations: 0 / 4.838 GB, free: 362 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/14.62, allocations: 0 / 4.838 GB, free: 362 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004005/14.62, allocations: 1.608 MB / 4.839 GB, free: 361.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/14.62, allocations: 0 / 4.839 GB, free: 361.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002828/14.62, allocations: 38.95 kB / 4.839 GB, free: 361.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000662/14.62, allocations: 208.8 kB / 4.839 GB, free: 361.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.089e-05/14.62, allocations: 6.688 kB / 4.839 GB, free: 361.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001374/14.62, allocations: 1.043 MB / 4.84 GB, free: 361.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/14.62, allocations: 0 / 4.84 GB, free: 361.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001925/14.62, allocations: 0.9211 MB / 4.841 GB, free: 360.7 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002179/14.63, allocations: 1.335 MB / 4.843 GB, free: 360 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007106/14.63, allocations: 218.3 kB / 4.843 GB, free: 359.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002035/14.63, allocations: 3.812 kB / 4.843 GB, free: 359.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001311/14.63, allocations: 70.59 kB / 4.843 GB, free: 359.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/14.63, allocations: 33.23 kB / 4.843 GB, free: 359.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.952e-05/14.63, allocations: 14.55 kB / 4.843 GB, free: 359.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.00131/14.63, allocations: 0.681 MB / 4.844 GB, free: 359.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004886/14.64, allocations: 0.6846 MB / 4.844 GB, free: 359.7 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.001811/14.64, allocations: 1.031 MB / 4.845 GB, free: 359.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002564/14.64, allocations: 0.9611 MB / 4.846 GB, free: 359.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.984e-06/14.64, allocations: 3.281 kB / 4.846 GB, free: 359.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006449/14.64, allocations: 217.3 kB / 4.846 GB, free: 359.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005391/14.65, allocations: 0.5379 MB / 4.847 GB, free: 359.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003794/14.65, allocations: 1.399 MB / 4.848 GB, free: 359 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00112/14.65, allocations: 1.26 MB / 4.85 GB, free: 358.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.353e-06/14.65, allocations: 0 / 4.85 GB, free: 358.3 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)