Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.588/1.588, allocations: 289.8 MB / 297 MB, free: 6.742 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.00127/0.00127, allocations: 185.3 kB / 366.3 MB, free: 2.012 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.556/1.556, allocations: 205.1 MB / 0.6256 GB, free: 5.852 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.0009151/0.0009151, allocations: 83.92 kB / 0.7395 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2962/0.2971, allocations: 122.4 MB / 0.8591 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8005/1.098, allocations: 116.3 MB / 0.9727 GB, free: 68.38 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.072/6.17, allocations: 2.064 GB / 3.036 GB, free: 0.9922 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/6.17, allocations: 89.28 kB / 3.036 GB, free: 0.9062 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 6.684/12.85, allocations: 1.791 GB / 4.828 GB, free: 23.34 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/12.85, allocations: 11.98 kB / 4.828 GB, free: 23.32 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/12.86, allocations: 186.5 kB / 4.828 GB, free: 23.14 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003397/12.86, allocations: 1.373 MB / 4.829 GB, free: 21.71 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/12.86, allocations: 16 kB / 4.829 GB, free: 21.69 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.917e-05/12.86, allocations: 40 kB / 4.829 GB, free: 21.65 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007543/12.86, allocations: 0.5017 MB / 4.83 GB, free: 21.15 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008076/12.86, allocations: 0.7084 MB / 4.831 GB, free: 20.36 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/12.86, allocations: 7.938 kB / 4.831 GB, free: 20.36 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.479e-05/12.86, allocations: 4 kB / 4.831 GB, free: 20.35 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/12.86, allocations: 16 kB / 4.831 GB, free: 20.34 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003327/12.86, allocations: 4.155 MB / 4.835 GB, free: 15.94 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005264/12.86, allocations: 485.8 kB / 4.835 GB, free: 15.46 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003377/12.86, allocations: 345.6 kB / 4.835 GB, free: 15.11 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003029/12.87, allocations: 194.2 kB / 4.836 GB, free: 14.89 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003218/12.87, allocations: 286.9 kB / 4.836 GB, free: 14.59 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 2.875e-06/12.87, allocations: 0 / 4.836 GB, free: 14.59 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.001765/12.87, allocations: 0.8103 MB / 4.837 GB, free: 13.77 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/12.87, allocations: 89.09 kB / 4.837 GB, free: 13.66 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009184/12.87, allocations: 0.8675 MB / 4.838 GB, free: 12.77 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.073e-05/12.87, allocations: 29.7 kB / 4.838 GB, free: 12.74 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001913/12.87, allocations: 344.2 kB / 4.838 GB, free: 12.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.089e-05/12.87, allocations: 110.4 kB / 4.838 GB, free: 12.29 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.387e-05/12.87, allocations: 0 / 4.838 GB, free: 12.29 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.359e-05/12.87, allocations: 333.9 kB / 4.838 GB, free: 11.96 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002383/12.87, allocations: 204.9 kB / 4.839 GB, free: 11.76 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003904/12.87, allocations: 0.5277 MB / 4.839 GB, free: 11.08 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000299/12.87, allocations: 294.4 kB / 4.839 GB, free: 10.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/12.87, allocations: 0 / 4.839 GB, free: 10.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001506/12.87, allocations: 0.9512 MB / 4.84 GB, free: 9.836 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005058/12.87, allocations: 2.096 MB / 4.842 GB, free: 7.578 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/12.87, allocations: 8 kB / 4.842 GB, free: 7.57 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005098/12.87, allocations: 255.4 kB / 4.843 GB, free: 7.32 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000271/12.87, allocations: 63.91 kB / 4.843 GB, free: 7.258 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001059/12.87, allocations: 1.184 MB / 4.844 GB, free: 6.047 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/12.87, allocations: 103.5 kB / 4.844 GB, free: 5.945 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.559e-05/12.87, allocations: 27.98 kB / 4.844 GB, free: 5.918 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.727e-06/12.87, allocations: 4 kB / 4.844 GB, free: 5.914 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001038/12.88, allocations: 0.6404 MB / 4.845 GB, free: 5.273 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/12.88, allocations: 8 kB / 4.845 GB, free: 5.266 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005726/12.88, allocations: 221.5 kB / 4.845 GB, free: 5.047 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/12.88, allocations: 67.89 kB / 4.845 GB, free: 4.98 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002816/12.88, allocations: 2.802 MB / 4.848 GB, free: 2.062 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009428/12.88, allocations: 87.67 kB / 4.848 GB, free: 1.977 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.482e-05/12.88, allocations: 31.92 kB / 4.848 GB, free: 1.945 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.0001671/12.88, allocations: 130.4 kB / 4.848 GB, free: 1.812 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/12.88, allocations: 98.86 kB / 4.848 GB, free: 1.715 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/12.88, allocations: 0.7219 MB / 4.849 GB, free: 0.9766 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/12.88, allocations: 4 kB / 4.849 GB, free: 0.9727 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/12.88, allocations: 4 kB / 4.849 GB, free: 0.9688 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/12.88, allocations: 0 / 4.849 GB, free: 0.9688 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4494/13.33, allocations: 1.602 MB / 4.85 GB, free: 360.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/13.33, allocations: 3.625 kB / 4.85 GB, free: 360.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/13.33, allocations: 29.19 kB / 4.85 GB, free: 360.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003688/13.33, allocations: 204 kB / 4.85 GB, free: 360.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.843e-05/13.33, allocations: 13.16 kB / 4.85 GB, free: 360.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007687/13.33, allocations: 1.04 MB / 4.851 GB, free: 360 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/13.33, allocations: 1.5 kB / 4.851 GB, free: 360 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001071/13.33, allocations: 0.919 MB / 4.852 GB, free: 359.7 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001139/13.33, allocations: 1.334 MB / 4.854 GB, free: 359 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004353/13.34, allocations: 216.3 kB / 4.854 GB, free: 358.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/13.34, allocations: 3.875 kB / 4.854 GB, free: 358.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006607/13.34, allocations: 72.8 kB / 4.854 GB, free: 358.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.196e-05/13.34, allocations: 32.77 kB / 4.854 GB, free: 358.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-05/13.34, allocations: 14.12 kB / 4.854 GB, free: 358.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0007782/13.34, allocations: 0.6802 MB / 4.855 GB, free: 358.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003173/13.34, allocations: 0.6819 MB / 4.855 GB, free: 358.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.001418/13.34, allocations: 1.046 MB / 4.856 GB, free: 358.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001579/13.34, allocations: 0.9606 MB / 4.857 GB, free: 358.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/13.34, allocations: 0 / 4.857 GB, free: 358.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003546/13.34, allocations: 230.4 kB / 4.857 GB, free: 358.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00262/13.35, allocations: 0.5245 MB / 4.858 GB, free: 358.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/13.35, allocations: 1.4 MB / 4.859 GB, free: 358 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007134/13.35, allocations: 1.264 MB / 4.861 GB, free: 357.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.573e-06/13.35, allocations: 0 / 4.861 GB, free: 357.3 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)