Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",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.338/2.338, allocations: 284.8 MB / 292.1 MB, free: 10.8 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.001614/0.001613, allocations: 185.2 kB / 360.3 MB, free: 7.551 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.757/1.757, allocations: 205.1 MB / 0.6187 GB, free: 13.25 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.001268/0.001267, allocations: 95.31 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2805/0.2818, allocations: 121.4 MB / 0.8502 GB, free: 3.949 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6384/0.9202, allocations: 115.2 MB / 0.9628 GB, free: 78.56 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.238/6.158, allocations: 2.065 GB / 3.028 GB, free: 273.3 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/6.158, allocations: 87.28 kB / 3.028 GB, free: 273.3 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 8.285/14.44, allocations: 1.802 GB / 4.83 GB, free: 3.676 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/14.44, allocations: 8 kB / 4.83 GB, free: 3.668 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001439/14.44, allocations: 190.5 kB / 4.83 GB, free: 3.48 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004309/14.45, allocations: 1.108 MB / 4.831 GB, free: 2.316 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.741e-05/14.45, allocations: 16 kB / 4.831 GB, free: 2.301 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/14.45, allocations: 43.98 kB / 4.831 GB, free: 2.258 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001285/14.45, allocations: 485.7 kB / 4.831 GB, free: 1.781 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/14.45, allocations: 0.6933 MB / 4.832 GB, free: 1.008 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/14.45, allocations: 0 / 4.832 GB, free: 1.008 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.181e-05/14.45, allocations: 11.92 kB / 4.832 GB, free: 0.9961 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/14.45, allocations: 12 kB / 4.832 GB, free: 0.9844 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3606/14.81, allocations: 4.672 MB / 4.837 GB, free: 358.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009666/14.81, allocations: 441.3 kB / 4.837 GB, free: 358.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004925/14.81, allocations: 254.1 kB / 4.837 GB, free: 358.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004089/14.81, allocations: 198.7 kB / 4.838 GB, free: 358.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008197/14.82, allocations: 258.9 kB / 4.838 GB, free: 358.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 7.414e-06/14.82, allocations: 0 / 4.838 GB, free: 358.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.005239/14.82, allocations: 0.767 MB / 4.839 GB, free: 358.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.6e-05/14.82, allocations: 91.58 kB / 4.839 GB, free: 358.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003079/14.82, allocations: 0.8739 MB / 4.839 GB, free: 358.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002027/14.82, allocations: 29.08 kB / 4.839 GB, free: 358.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004635/14.82, allocations: 346.3 kB / 4.84 GB, free: 358.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001637/14.83, allocations: 102.5 kB / 4.84 GB, free: 358.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.66e-05/14.83, allocations: 0 / 4.84 GB, free: 358.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.747e-05/14.83, allocations: 328 kB / 4.84 GB, free: 357.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006976/14.83, allocations: 188.5 kB / 4.84 GB, free: 357.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001097/14.83, allocations: 0.5047 MB / 4.841 GB, free: 357.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007698/14.83, allocations: 267.7 kB / 4.841 GB, free: 357.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.426e-05/14.83, allocations: 7.031 kB / 4.841 GB, free: 357.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.003368/14.83, allocations: 0.8992 MB / 4.842 GB, free: 357.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005736/14.83, allocations: 2.097 MB / 4.844 GB, free: 355.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/14.83, allocations: 7.25 kB / 4.844 GB, free: 355.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008303/14.83, allocations: 236.7 kB / 4.844 GB, free: 355.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004854/14.83, allocations: 65.92 kB / 4.844 GB, free: 355.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001698/14.84, allocations: 1.142 MB / 4.846 GB, free: 354.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/14.84, allocations: 84.34 kB / 4.846 GB, free: 354.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.233e-05/14.84, allocations: 33.81 kB / 4.846 GB, free: 354.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/14.84, allocations: 3.219 kB / 4.846 GB, free: 354.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001859/14.84, allocations: 0.59 MB / 4.846 GB, free: 354.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/14.84, allocations: 7.5 kB / 4.846 GB, free: 354.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009348/14.84, allocations: 201.8 kB / 4.846 GB, free: 354.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004075/14.84, allocations: 69.67 kB / 4.846 GB, free: 354.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005189/14.85, allocations: 2.756 MB / 4.849 GB, free: 353.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/14.85, allocations: 78.88 kB / 4.849 GB, free: 353.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.975e-05/14.85, allocations: 22.72 kB / 4.849 GB, free: 353.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_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.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 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0002213/14.85, allocations: 123.5 kB / 4.849 GB, free: 353.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/14.85, allocations: 103 kB / 4.849 GB, free: 353.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001882/14.85, allocations: 0.6517 MB / 4.85 GB, free: 353 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/14.85, allocations: 3.938 kB / 4.85 GB, free: 353 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/14.85, allocations: 3.875 kB / 4.85 GB, free: 353 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.535e-06/14.85, allocations: 3.75 kB / 4.85 GB, free: 353 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003627/14.85, allocations: 1.495 MB / 4.852 GB, free: 352.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/14.85, allocations: 0 / 4.852 GB, free: 352.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002284/14.85, allocations: 27.53 kB / 4.852 GB, free: 352.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005592/14.85, allocations: 184.3 kB / 4.852 GB, free: 352.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.508e-05/14.85, allocations: 7.031 kB / 4.852 GB, free: 352.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001335/14.86, allocations: 1.017 MB / 4.853 GB, free: 352.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/14.86, allocations: 7.297 kB / 4.853 GB, free: 352.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00214/14.86, allocations: 0.8585 MB / 4.854 GB, free: 351.7 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002859/14.86, allocations: 1.275 MB / 4.855 GB, free: 350.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006203/14.86, allocations: 216.8 kB / 4.855 GB, free: 350.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002049/14.86, allocations: 7.078 kB / 4.855 GB, free: 350.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001337/14.86, allocations: 52.19 kB / 4.855 GB, free: 350.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001888/14.86, allocations: 29.77 kB / 4.855 GB, free: 350.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.606e-05/14.86, allocations: 10.72 kB / 4.855 GB, free: 350.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001624/14.86, allocations: 0.6826 MB / 4.856 GB, free: 350.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004914/14.87, allocations: 0.6663 MB / 4.856 GB, free: 350.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_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.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 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001976/14.87, allocations: 1.114 MB / 4.858 GB, free: 350.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002541/14.87, allocations: 0.9054 MB / 4.858 GB, free: 350.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/14.87, allocations: 7.5 kB / 4.858 GB, free: 350.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007005/14.87, allocations: 203.4 kB / 4.859 GB, free: 350.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00351/14.88, allocations: 374.4 kB / 4.859 GB, free: 350.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003873/14.88, allocations: 1.395 MB / 4.86 GB, free: 349.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001144/14.88, allocations: 1.262 MB / 4.862 GB, free: 349.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.533e-06/14.88, allocations: 0 / 4.862 GB, free: 349.2 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)