Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.ParallelFlowOptimised,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.241/1.241, allocations: 249.4 MB / 256.7 MB, free: 7.031 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.0009487/0.0009489, allocations: 193.2 kB / 316 MB, free: 3.465 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.308/1.308, allocations: 205.2 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.0009545/0.0009545, allocations: 86.16 kB / 0.671 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3985/0.3995, allocations: 112.5 MB / 0.7808 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.5864, allocations: 106.3 MB / 0.8847 GB, free: 12.49 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.06/4.647, allocations: 2.182 GB / 3.067 GB, free: 180.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002044/4.647, allocations: 91.75 kB / 3.067 GB, free: 180.3 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 4.792/9.439, allocations: 1.728 GB / 4.795 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/9.439, allocations: 12 kB / 4.795 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008496/9.44, allocations: 190.5 kB / 4.795 GB, free: 114 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003006/9.443, allocations: 1.366 MB / 4.797 GB, free: 112.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/9.443, allocations: 27.86 kB / 4.797 GB, free: 112.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.174e-05/9.443, allocations: 36 kB / 4.797 GB, free: 112.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000638/9.444, allocations: 0.5017 MB / 4.797 GB, free: 112.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007321/9.444, allocations: 0.7085 MB / 4.798 GB, free: 111.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/9.444, allocations: 3.938 kB / 4.798 GB, free: 111.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.219e-05/9.444, allocations: 4 kB / 4.798 GB, free: 111.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/9.444, allocations: 15.91 kB / 4.798 GB, free: 111.3 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002728/9.447, allocations: 4.167 MB / 4.802 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004654/9.448, allocations: 495.7 kB / 4.802 GB, free: 106.4 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003049/9.448, allocations: 341.2 kB / 4.803 GB, free: 106.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002628/9.448, allocations: 194.2 kB / 4.803 GB, free: 105.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002837/9.449, allocations: 290.8 kB / 4.803 GB, free: 105.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=33): time 1.853e-06/9.449, allocations: 0 / 4.803 GB, free: 105.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=33): time 0.00155/9.45, allocations: 0.8143 MB / 4.804 GB, free: 104.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/9.45, allocations: 85.02 kB / 4.804 GB, free: 104.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008041/9.451, allocations: 0.8675 MB / 4.805 GB, free: 103.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.619e-05/9.451, allocations: 33.7 kB / 4.805 GB, free: 103.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000148/9.451, allocations: 336.2 kB / 4.805 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.98e-05/9.451, allocations: 106.4 kB / 4.805 GB, free: 103.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.25e-05/9.451, allocations: 4 kB / 4.805 GB, free: 103.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.315e-05/9.451, allocations: 333.9 kB / 4.806 GB, free: 102.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/9.452, allocations: 208.9 kB / 4.806 GB, free: 102.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000336/9.452, allocations: 0.5201 MB / 4.806 GB, free: 102 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002933/9.452, allocations: 298.4 kB / 4.807 GB, free: 101.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/9.452, allocations: 4 kB / 4.807 GB, free: 101.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001367/9.454, allocations: 0.9405 MB / 4.808 GB, free: 100.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003194/9.454, allocations: 2.107 MB / 4.81 GB, free: 98.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/9.454, allocations: 4 kB / 4.81 GB, free: 98.54 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004534/9.454, allocations: 252.5 kB / 4.81 GB, free: 98.29 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002544/9.455, allocations: 75.89 kB / 4.81 GB, free: 98.22 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000906/9.456, allocations: 1.175 MB / 4.811 GB, free: 97.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008521/9.456, allocations: 99.56 kB / 4.811 GB, free: 96.92 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-05/9.456, allocations: 27.98 kB / 4.811 GB, free: 96.89 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.269e-06/9.456, allocations: 4 kB / 4.811 GB, free: 96.89 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009136/9.457, allocations: 0.6419 MB / 4.812 GB, free: 96.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/9.457, allocations: 8 kB / 4.812 GB, free: 96.24 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005216/9.458, allocations: 225 kB / 4.812 GB, free: 96.02 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/9.458, allocations: 68.98 kB / 4.812 GB, free: 95.95 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002676/9.461, allocations: 2.793 MB / 4.815 GB, free: 93.04 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008582/9.462, allocations: 91.66 kB / 4.815 GB, free: 92.95 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/9.462, allocations: 24 kB / 4.815 GB, free: 92.93 MB / 0.8855 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.0001356/9.462, allocations: 128.7 kB / 4.815 GB, free: 92.79 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.044e-05/9.462, allocations: 94.88 kB / 4.815 GB, free: 92.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/9.463, allocations: 0.716 MB / 4.816 GB, free: 91.98 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/9.463, allocations: 7.984 kB / 4.816 GB, free: 91.97 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/9.463, allocations: 0 / 4.816 GB, free: 91.97 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/9.463, allocations: 0 / 4.816 GB, free: 91.97 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002087/9.465, allocations: 1.614 MB / 4.818 GB, free: 90.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/9.465, allocations: 3.906 kB / 4.818 GB, free: 90.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/9.465, allocations: 44.03 kB / 4.818 GB, free: 90.26 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003572/9.466, allocations: 205 kB / 4.818 GB, free: 90.05 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/9.466, allocations: 7.984 kB / 4.818 GB, free: 90.05 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007171/9.466, allocations: 1.043 MB / 4.819 GB, free: 88.98 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/9.467, allocations: 4.062 kB / 4.819 GB, free: 88.98 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009023/9.467, allocations: 0.9186 MB / 4.82 GB, free: 87.99 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001008/9.468, allocations: 1.33 MB / 4.821 GB, free: 86.58 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003236/9.469, allocations: 223.8 kB / 4.821 GB, free: 86.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/9.469, allocations: 4 kB / 4.821 GB, free: 86.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006276/9.47, allocations: 67.77 kB / 4.821 GB, free: 86.27 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.91e-05/9.47, allocations: 23.97 kB / 4.821 GB, free: 86.25 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.417e-05/9.47, allocations: 15.98 kB / 4.821 GB, free: 86.23 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0006293/9.47, allocations: 0.6806 MB / 4.822 GB, free: 85.54 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002661/9.473, allocations: 0.6868 MB / 4.823 GB, free: 84.86 MB / 0.8855 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.001111/9.474, allocations: 1.041 MB / 4.824 GB, free: 83.94 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001263/9.475, allocations: 0.97 MB / 4.825 GB, free: 82.95 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/9.475, allocations: 0 / 4.825 GB, free: 82.95 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003079/9.476, allocations: 223.8 kB / 4.825 GB, free: 82.73 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002454/9.478, allocations: 0.5327 MB / 4.825 GB, free: 82.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001965/9.48, allocations: 1.398 MB / 4.827 GB, free: 80.74 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005476/9.481, allocations: 1.259 MB / 4.828 GB, free: 79.45 MB / 0.8855 GB Notification: Performance of SimCode: time 4.71e-07/9.481, allocations: 0 / 4.828 GB, free: 79.45 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)