Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.SeriesFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow",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.146/2.146, allocations: 390.4 MB / 397.7 MB, free: 11.28 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.001158/0.001158, allocations: 177.3 kB / 490.8 MB, free: 1.969 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.568/1.568, allocations: 221.4 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.0009579/0.0009575, allocations: 95.42 kB / 0.9264 GB, free: 14.22 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7576/0.7586, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/1.113, allocations: 143 MB / 1.212 GB, free: 40.07 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.946/6.059, allocations: 1.869 GB / 3.081 GB, free: 4.945 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/6.06, allocations: 87.94 kB / 3.081 GB, free: 4.859 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 4.506/10.57, allocations: 0.9699 GB / 4.051 GB, free: 361.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/10.57, allocations: 8.406 kB / 4.051 GB, free: 361.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001482/10.57, allocations: 188.7 kB / 4.051 GB, free: 361.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00337/10.57, allocations: 1.096 MB / 4.052 GB, free: 360.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.418e-05/10.57, allocations: 15.53 kB / 4.052 GB, free: 360.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001752/10.57, allocations: 41.22 kB / 4.052 GB, free: 360.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001057/10.57, allocations: 489.2 kB / 4.053 GB, free: 360.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001263/10.57, allocations: 0.6893 MB / 4.053 GB, free: 360 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/10.57, allocations: 5.531 kB / 4.053 GB, free: 360 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.268e-05/10.57, allocations: 2.906 kB / 4.053 GB, free: 360 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/10.57, allocations: 13.09 kB / 4.053 GB, free: 360 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005541/10.58, allocations: 4.667 MB / 4.058 GB, free: 355.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000779/10.58, allocations: 445.7 kB / 4.058 GB, free: 355.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003794/10.58, allocations: 254.4 kB / 4.059 GB, free: 355.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003512/10.58, allocations: 208.4 kB / 4.059 GB, free: 355.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003636/10.58, allocations: 256.9 kB / 4.059 GB, free: 355.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 3.897e-06/10.58, allocations: 3.703 kB / 4.059 GB, free: 355.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=31): time 0.001364/10.58, allocations: 0.4901 MB / 4.059 GB, free: 354.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/10.58, allocations: 91.72 kB / 4.06 GB, free: 354.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001861/10.58, allocations: 0.8752 MB / 4.06 GB, free: 354.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.832e-05/10.58, allocations: 27.92 kB / 4.06 GB, free: 354.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003569/10.58, allocations: 337.8 kB / 4.061 GB, free: 354 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000118/10.58, allocations: 105.3 kB / 4.061 GB, free: 353.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.239e-05/10.58, allocations: 0 / 4.061 GB, free: 353.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.409e-05/10.58, allocations: 328.4 kB / 4.061 GB, free: 353.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003168/10.58, allocations: 190.3 kB / 4.061 GB, free: 353.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005508/10.59, allocations: 0.4996 MB / 4.062 GB, free: 353 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003912/10.59, allocations: 278.2 kB / 4.062 GB, free: 352.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/10.59, allocations: 0.9062 kB / 4.062 GB, free: 352.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001205/10.59, allocations: 0.6208 MB / 4.063 GB, free: 352.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005332/10.59, allocations: 2.097 MB / 4.065 GB, free: 350.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/10.59, allocations: 8.938 kB / 4.065 GB, free: 350.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/10.59, allocations: 8.562 kB / 4.065 GB, free: 350.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001888/10.59, allocations: 278.1 kB / 4.065 GB, free: 350.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0033/10.59, allocations: 6.237 MB / 4.071 GB, free: 344.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/10.59, allocations: 88.41 kB / 4.071 GB, free: 344.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-05/10.59, allocations: 24.56 kB / 4.071 GB, free: 344.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/10.59, allocations: 4.156 kB / 4.071 GB, free: 344.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007048/10.59, allocations: 423.1 kB / 4.072 GB, free: 344 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/10.59, allocations: 6.562 kB / 4.072 GB, free: 344 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/10.59, allocations: 7.875 kB / 4.072 GB, free: 344 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006014/10.6, allocations: 161.6 kB / 4.072 GB, free: 343.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/10.6, allocations: 13.94 kB / 4.072 GB, free: 343.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007673/10.6, allocations: 72.38 kB / 4.072 GB, free: 343.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.485e-05/10.6, allocations: 24.84 kB / 4.072 GB, free: 343.9 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 (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001616/10.6, allocations: 124.2 kB / 4.072 GB, free: 343.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/10.6, allocations: 95.88 kB / 4.072 GB, free: 343.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008698/10.6, allocations: 456.8 kB / 4.073 GB, free: 343.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/10.6, allocations: 3.844 kB / 4.073 GB, free: 343.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/10.6, allocations: 0 / 4.073 GB, free: 343.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/10.6, allocations: 9.297 kB / 4.073 GB, free: 343.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002152/10.6, allocations: 1.271 MB / 4.074 GB, free: 342.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/10.6, allocations: 1.969 kB / 4.074 GB, free: 342.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008024/10.6, allocations: 158.2 kB / 4.074 GB, free: 342.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.324e-05/10.6, allocations: 11.11 kB / 4.074 GB, free: 342.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.799e-05/10.6, allocations: 4.031 kB / 4.074 GB, free: 342.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002539/10.6, allocations: 6.086 MB / 4.08 GB, free: 336.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/10.6, allocations: 2.344 kB / 4.08 GB, free: 336.5 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001/10.6, allocations: 0.6444 MB / 4.081 GB, free: 336 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001125/10.61, allocations: 1.066 MB / 4.082 GB, free: 335.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004542/10.61, allocations: 213.2 kB / 4.082 GB, free: 334.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/10.61, allocations: 14.72 kB / 4.082 GB, free: 334.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005593/10.61, allocations: 48.78 kB / 4.082 GB, free: 334.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/10.61, allocations: 40.27 kB / 4.082 GB, free: 334.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.48e-05/10.61, allocations: 8.531 kB / 4.082 GB, free: 334.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001168/10.61, allocations: 0.6846 MB / 4.083 GB, free: 334.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003425/10.61, allocations: 0.6337 MB / 4.083 GB, free: 334.2 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 (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002066/10.61, allocations: 1.024 MB / 4.084 GB, free: 333.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.004165/10.62, allocations: 0.9471 MB / 4.085 GB, free: 333.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/10.62, allocations: 0.5625 kB / 4.085 GB, free: 333.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001183/10.62, allocations: 284.9 kB / 4.085 GB, free: 333.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002101/10.62, allocations: 380.2 kB / 4.086 GB, free: 333.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002382/10.62, allocations: 1.384 MB / 4.087 GB, free: 331.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006907/10.62, allocations: 1.272 MB / 4.088 GB, free: 330.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.052e-06/10.62, allocations: 0 / 4.088 GB, free: 330.4 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)