Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.212/2.212, allocations: 390.4 MB / 397.7 MB, free: 11.29 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 189.2 kB / 490.8 MB, free: 1.938 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.591/1.591, allocations: 221.3 MB / 0.7863 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 103.4 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7984/0.7995, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3981/1.198, allocations: 143 MB / 1.212 GB, free: 40.03 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.863/7.06, allocations: 1.872 GB / 3.084 GB, free: 434.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004477/7.061, allocations: 91.58 kB / 3.084 GB, free: 434.4 MB / 1.151 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 6.481/13.54, allocations: 1.815 GB / 4.899 GB, free: 358.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/13.54, allocations: 9.656 kB / 4.899 GB, free: 358.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/13.54, allocations: 190.9 kB / 4.899 GB, free: 358.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002873/13.55, allocations: 1.106 MB / 4.9 GB, free: 358.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.548e-05/13.55, allocations: 19.28 kB / 4.9 GB, free: 358.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/13.55, allocations: 36.88 kB / 4.9 GB, free: 358.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008843/13.55, allocations: 488.3 kB / 4.901 GB, free: 358.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009678/13.55, allocations: 0.689 MB / 4.901 GB, free: 358.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/13.55, allocations: 3.594 kB / 4.901 GB, free: 358.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.827e-05/13.55, allocations: 3.656 kB / 4.901 GB, free: 358.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.917e-05/13.55, allocations: 16.34 kB / 4.901 GB, free: 358.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004222/13.55, allocations: 4.661 MB / 4.906 GB, free: 354.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000588/13.55, allocations: 449.3 kB / 4.906 GB, free: 354.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003164/13.55, allocations: 250.2 kB / 4.907 GB, free: 354.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002713/13.55, allocations: 196.3 kB / 4.907 GB, free: 354.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003243/13.55, allocations: 262.4 kB / 4.907 GB, free: 354.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 2.485e-06/13.55, allocations: 6.203 kB / 4.907 GB, free: 354.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=31): time 0.001915/13.56, allocations: 0.7764 MB / 4.908 GB, free: 354.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/13.56, allocations: 85.25 kB / 4.908 GB, free: 354.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/13.56, allocations: 0.8741 MB / 4.909 GB, free: 354 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.966e-05/13.56, allocations: 32.61 kB / 4.909 GB, free: 353.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002228/13.56, allocations: 334.9 kB / 4.909 GB, free: 353.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.315e-05/13.56, allocations: 106.3 kB / 4.909 GB, free: 353.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.068e-05/13.56, allocations: 0 / 4.909 GB, free: 353.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.154e-05/13.56, allocations: 328.5 kB / 4.909 GB, free: 353.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002543/13.56, allocations: 187.5 kB / 4.91 GB, free: 353.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004086/13.56, allocations: 0.5035 MB / 4.91 GB, free: 353 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003511/13.56, allocations: 279.8 kB / 4.91 GB, free: 353 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/13.56, allocations: 1.281 kB / 4.91 GB, free: 353 MB / 1.151 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001625/13.56, allocations: 0.8989 MB / 4.911 GB, free: 352.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002987/13.56, allocations: 2.095 MB / 4.913 GB, free: 350.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-06/13.56, allocations: 8.516 kB / 4.913 GB, free: 350.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004288/13.56, allocations: 230.6 kB / 4.914 GB, free: 350.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000252/13.56, allocations: 66.64 kB / 4.914 GB, free: 350.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009557/13.56, allocations: 1.146 MB / 4.915 GB, free: 350.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008642/13.56, allocations: 82.53 kB / 4.915 GB, free: 350.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.852e-05/13.56, allocations: 34.95 kB / 4.915 GB, free: 350.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 6.012e-06/13.56, allocations: 3.625 kB / 4.915 GB, free: 350.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00105/13.56, allocations: 0.5873 MB / 4.915 GB, free: 349.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/13.56, allocations: 7.25 kB / 4.915 GB, free: 349.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000523/13.56, allocations: 199.3 kB / 4.916 GB, free: 349.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/13.56, allocations: 69.34 kB / 4.916 GB, free: 349.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002882/13.57, allocations: 2.763 MB / 4.918 GB, free: 348.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008221/13.57, allocations: 77.09 kB / 4.918 GB, free: 348.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.32e-05/13.57, allocations: 33.42 kB / 4.918 GB, free: 348.1 MB / 1.151 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.0001744/13.57, allocations: 114.5 kB / 4.919 GB, free: 347.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/13.57, allocations: 92.25 kB / 4.919 GB, free: 347.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001111/13.57, allocations: 0.6685 MB / 4.919 GB, free: 347.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/13.57, allocations: 3.906 kB / 4.919 GB, free: 347.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/13.57, allocations: 0 / 4.919 GB, free: 347.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/13.57, allocations: 1.641 kB / 4.919 GB, free: 347.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002163/13.57, allocations: 1.484 MB / 4.921 GB, free: 346.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/13.57, allocations: 0.8906 kB / 4.921 GB, free: 346.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/13.57, allocations: 23.05 kB / 4.921 GB, free: 346.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003172/13.57, allocations: 191.2 kB / 4.921 GB, free: 346.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/13.57, allocations: 8.125 kB / 4.921 GB, free: 346.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007985/13.57, allocations: 1.021 MB / 4.922 GB, free: 346.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/13.57, allocations: 3.953 kB / 4.922 GB, free: 346.2 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009191/13.57, allocations: 0.8577 MB / 4.923 GB, free: 345.7 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001161/13.58, allocations: 1.282 MB / 4.924 GB, free: 344.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002997/13.58, allocations: 216.6 kB / 4.924 GB, free: 344.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/13.58, allocations: 4.344 kB / 4.924 GB, free: 344.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005383/13.58, allocations: 52.45 kB / 4.924 GB, free: 344.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.504e-05/13.58, allocations: 33.86 kB / 4.924 GB, free: 344.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.588e-05/13.58, allocations: 12.25 kB / 4.924 GB, free: 344.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0007964/13.58, allocations: 0.6844 MB / 4.925 GB, free: 344.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00301/13.58, allocations: 0.6732 MB / 4.926 GB, free: 344.1 MB / 1.151 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.001642/13.58, allocations: 1.108 MB / 4.927 GB, free: 343.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001633/13.58, allocations: 0.9041 MB / 4.928 GB, free: 343.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/13.58, allocations: 0 / 4.928 GB, free: 343.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003966/13.58, allocations: 215.8 kB / 4.928 GB, free: 343.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00168/13.59, allocations: 375.5 kB / 4.928 GB, free: 343.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002271/13.59, allocations: 1.388 MB / 4.93 GB, free: 342.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007938/13.59, allocations: 1.262 MB / 4.931 GB, free: 342.1 MB / 1.151 GB Notification: Performance of SimCode: time 3.41e-07/13.59, allocations: 0 / 4.931 GB, free: 342.1 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)