Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Delays.Examples.Delay.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.Delays.Examples.Delay,fileNamePrefix="Buildings_8_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_8_Buildings_Fluid_Delays_Examples_Delay",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.616/1.616, allocations: 289.8 MB / 297.1 MB, free: 6.715 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.001194/0.001194, allocations: 181.2 kB / 366.3 MB, free: 2.02 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.749/1.749, allocations: 205.1 MB / 0.6256 GB, free: 5.855 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.0009484/0.0009484, allocations: 97.77 kB / 0.7396 GB, free: 39.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3152/0.3162, allocations: 122.4 MB / 0.8591 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7613/1.078, allocations: 116.3 MB / 0.9726 GB, free: 68.2 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.14/6.217, allocations: 2.078 GB / 3.05 GB, free: 322.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/6.218, allocations: 86.42 kB / 3.05 GB, free: 322.9 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 1.533/7.751, allocations: 483 MB / 3.522 GB, free: 221.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/7.751, allocations: 16 kB / 3.522 GB, free: 221.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001785/7.753, allocations: 218.8 kB / 3.522 GB, free: 220.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001643/7.754, allocations: 0.6315 MB / 3.523 GB, free: 220.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/7.755, allocations: 12 kB / 3.523 GB, free: 220.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/7.755, allocations: 28 kB / 3.523 GB, free: 220.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007646/7.755, allocations: 373.9 kB / 3.523 GB, free: 219.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007393/7.756, allocations: 396.5 kB / 3.524 GB, free: 219.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/7.756, allocations: 0 / 3.524 GB, free: 219.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.057e-05/7.756, allocations: 3.938 kB / 3.524 GB, free: 219.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.243e-05/7.756, allocations: 28.89 kB / 3.524 GB, free: 219.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003124/7.759, allocations: 2.013 MB / 3.526 GB, free: 217.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004392/7.76, allocations: 295.4 kB / 3.526 GB, free: 217 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002411/7.76, allocations: 185.2 kB / 3.526 GB, free: 216.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003054/7.76, allocations: 205.6 kB / 3.526 GB, free: 216.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/7.761, allocations: 38.84 kB / 3.526 GB, free: 216.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 2.144e-06/7.761, allocations: 0 / 3.526 GB, free: 216.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.001102/7.762, allocations: 387.3 kB / 3.527 GB, free: 216.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/7.762, allocations: 59.41 kB / 3.527 GB, free: 216 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004529/7.762, allocations: 370.2 kB / 3.527 GB, free: 215.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.505e-05/7.762, allocations: 25.7 kB / 3.527 GB, free: 215.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/7.762, allocations: 236.5 kB / 3.527 GB, free: 215.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.312e-05/7.762, allocations: 118.3 kB / 3.527 GB, free: 215.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.863e-05/7.762, allocations: 0 / 3.527 GB, free: 215.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.921e-05/7.763, allocations: 366.7 kB / 3.528 GB, free: 214.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/7.763, allocations: 120.6 kB / 3.528 GB, free: 214.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002203/7.763, allocations: 198.7 kB / 3.528 GB, free: 214.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002147/7.763, allocations: 147.8 kB / 3.528 GB, free: 214.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/7.763, allocations: 7.938 kB / 3.528 GB, free: 214.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005444/7.764, allocations: 372.6 kB / 3.529 GB, free: 214 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001058/7.764, allocations: 364.1 kB / 3.529 GB, free: 213.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/7.764, allocations: 0 / 3.529 GB, free: 213.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/7.764, allocations: 4 kB / 3.529 GB, free: 213.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003951/7.764, allocations: 75.81 kB / 3.529 GB, free: 213.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/7.764, allocations: 8 kB / 3.529 GB, free: 213.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006627/7.765, allocations: 51.73 kB / 3.529 GB, free: 213.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-05/7.765, allocations: 12 kB / 3.529 GB, free: 213.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.768e-06/7.765, allocations: 4 kB / 3.529 GB, free: 213.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004204/7.765, allocations: 287.7 kB / 3.529 GB, free: 213.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/7.766, allocations: 3.906 kB / 3.529 GB, free: 213.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.709e-06/7.766, allocations: 3.391 kB / 3.529 GB, free: 213.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003366/7.766, allocations: 76 kB / 3.529 GB, free: 213.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/7.766, allocations: 0 / 3.529 GB, free: 213.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006762/7.767, allocations: 51.8 kB / 3.529 GB, free: 213.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.72e-05/7.767, allocations: 12 kB / 3.53 GB, free: 213.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001271/7.767, allocations: 116.6 kB / 3.53 GB, free: 213 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/7.767, allocations: 59.28 kB / 3.53 GB, free: 212.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005838/7.767, allocations: 358.6 kB / 3.53 GB, free: 212.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/7.767, allocations: 4 kB / 3.53 GB, free: 212.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/7.767, allocations: 7.984 kB / 3.53 GB, free: 212.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003723/7.768, allocations: 384.9 kB / 3.53 GB, free: 212.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/7.77, allocations: 1.057 MB / 3.531 GB, free: 211 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/7.77, allocations: 4 kB / 3.531 GB, free: 211 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004742/7.77, allocations: 87.88 kB / 3.532 GB, free: 210.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-05/7.77, allocations: 4 kB / 3.532 GB, free: 210.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.351e-05/7.77, allocations: 8 kB / 3.532 GB, free: 210.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/7.77, allocations: 4 kB / 3.532 GB, free: 210.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/7.77, allocations: 0 / 3.532 GB, free: 210.9 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008312/7.771, allocations: 0.7502 MB / 3.532 GB, free: 210.1 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001249/7.772, allocations: 1.364 MB / 3.534 GB, free: 208.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002963/7.772, allocations: 176.3 kB / 3.534 GB, free: 208.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/7.773, allocations: 4 kB / 3.534 GB, free: 208.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006508/7.773, allocations: 43.95 kB / 3.534 GB, free: 208.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.686e-05/7.773, allocations: 23.88 kB / 3.534 GB, free: 208.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.162e-05/7.773, allocations: 16 kB / 3.534 GB, free: 208.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0003266/7.774, allocations: 295 kB / 3.534 GB, free: 208.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00313/7.777, allocations: 0.6982 MB / 3.535 GB, free: 207.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.U,del.dynBal.m,del.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002292/7.779, allocations: 1.433 MB / 3.536 GB, free: 206.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008545/7.78, allocations: 478.9 kB / 3.537 GB, free: 205.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/7.78, allocations: 4 kB / 3.537 GB, free: 205.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002192/7.78, allocations: 160.4 kB / 3.537 GB, free: 205.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001803/7.782, allocations: 318.3 kB / 3.537 GB, free: 205.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002189/7.784, allocations: 0.967 MB / 3.538 GB, free: 204.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006173/7.785, allocations: 1.007 MB / 3.539 GB, free: 203.1 MB / 0.948 GB Notification: Performance of SimCode: time 7.32e-07/7.785, allocations: 0 / 3.539 GB, free: 203.1 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_8_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_8_Buildings.Fluid.Delays.Examples.Delay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Delays_Examples_Delay.fmu > Buildings_8_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1)