Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.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.Delays.Examples.Delay,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.217/2.217, allocations: 284.8 MB / 292.1 MB, free: 10.76 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.001603/0.001602, allocations: 177.3 kB / 360.3 MB, free: 7.547 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.879/1.879, allocations: 205.1 MB / 0.6187 GB, free: 13.2 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.001309/0.001309, allocations: 98.09 kB / 0.7317 GB, free: 45.13 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3047/0.3061, allocations: 121.4 MB / 0.8502 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6389/0.9451, allocations: 115.2 MB / 0.9627 GB, free: 78.58 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.911/5.856, allocations: 2.077 GB / 3.039 GB, free: 271.4 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/5.856, allocations: 92 kB / 3.039 GB, free: 271.4 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 2.039/7.896, allocations: 482.9 MB / 3.511 GB, free: 227.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/7.896, allocations: 9.531 kB / 3.511 GB, free: 227.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002091/7.898, allocations: 219.7 kB / 3.511 GB, free: 227.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00205/7.9, allocations: 0.6339 MB / 3.512 GB, free: 227.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.208e-05/7.9, allocations: 15.47 kB / 3.512 GB, free: 227.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/7.9, allocations: 27.53 kB / 3.512 GB, free: 227.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001127/7.901, allocations: 373.2 kB / 3.512 GB, free: 227 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/7.902, allocations: 402.7 kB / 3.513 GB, free: 226.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/7.902, allocations: 2.375 kB / 3.513 GB, free: 226.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.562e-05/7.903, allocations: 0 / 3.513 GB, free: 226.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.212e-05/7.903, allocations: 22.69 kB / 3.513 GB, free: 226.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004361/7.907, allocations: 1.997 MB / 3.515 GB, free: 225.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007143/7.908, allocations: 301.7 kB / 3.515 GB, free: 225 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000421/7.908, allocations: 190.4 kB / 3.515 GB, free: 224.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003824/7.909, allocations: 189.4 kB / 3.515 GB, free: 224.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/7.909, allocations: 39.95 kB / 3.515 GB, free: 224.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 4.308e-06/7.909, allocations: 3.219 kB / 3.515 GB, free: 224.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.001657/7.91, allocations: 394.2 kB / 3.516 GB, free: 224.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/7.91, allocations: 55.41 kB / 3.516 GB, free: 224.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000625/7.911, allocations: 378.1 kB / 3.516 GB, free: 224 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.649e-05/7.911, allocations: 29.64 kB / 3.516 GB, free: 223.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/7.911, allocations: 232.7 kB / 3.516 GB, free: 223.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/7.911, allocations: 110.2 kB / 3.516 GB, free: 223.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.54e-05/7.911, allocations: 0 / 3.516 GB, free: 223.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001076/7.911, allocations: 362.8 kB / 3.517 GB, free: 223.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003062/7.912, allocations: 120.6 kB / 3.517 GB, free: 223.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003656/7.912, allocations: 195.4 kB / 3.517 GB, free: 222.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003631/7.913, allocations: 159.8 kB / 3.517 GB, free: 222.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/7.913, allocations: 0 / 3.517 GB, free: 222.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009263/7.913, allocations: 371.7 kB / 3.518 GB, free: 222.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.825e-05/7.914, allocations: 358.2 kB / 3.518 GB, free: 222 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/7.914, allocations: 3.984 kB / 3.518 GB, free: 222 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/7.914, allocations: 4 kB / 3.518 GB, free: 222 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007354/7.914, allocations: 83.81 kB / 3.518 GB, free: 221.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/7.914, allocations: 0 / 3.518 GB, free: 221.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/7.916, allocations: 51.8 kB / 3.518 GB, free: 221.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.113e-05/7.916, allocations: 12.84 kB / 3.518 GB, free: 221.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/7.916, allocations: 6.812 kB / 3.518 GB, free: 221.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007175/7.916, allocations: 287.8 kB / 3.518 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/7.916, allocations: 3.906 kB / 3.518 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.755e-06/7.916, allocations: 4 kB / 3.518 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006173/7.917, allocations: 76 kB / 3.518 GB, free: 221.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/7.917, allocations: 5.641 kB / 3.518 GB, free: 221.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/7.918, allocations: 55.67 kB / 3.518 GB, free: 221.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.325e-05/7.918, allocations: 12 kB / 3.518 GB, free: 221.4 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.0001677/7.918, allocations: 116.9 kB / 3.519 GB, free: 221.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/7.919, allocations: 55.28 kB / 3.519 GB, free: 221.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001005/7.92, allocations: 366.6 kB / 3.519 GB, free: 220.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.537e-06/7.92, allocations: 11.98 kB / 3.519 GB, free: 220.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/7.92, allocations: 4 kB / 3.519 GB, free: 220.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000763/7.92, allocations: 384.3 kB / 3.519 GB, free: 220.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002559/7.923, allocations: 1.055 MB / 3.52 GB, free: 219.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/7.923, allocations: 0 / 3.52 GB, free: 219.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008716/7.924, allocations: 91.89 kB / 3.52 GB, free: 219.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.367e-05/7.924, allocations: 7.984 kB / 3.52 GB, free: 219.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.964e-05/7.924, allocations: 3.391 kB / 3.52 GB, free: 219.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.062e-06/7.924, allocations: 4 kB / 3.52 GB, free: 219.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/7.924, allocations: 4 kB / 3.521 GB, free: 219.2 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001393/7.925, allocations: 0.7463 MB / 3.521 GB, free: 218.4 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001988/7.927, allocations: 1.364 MB / 3.523 GB, free: 217 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005186/7.928, allocations: 180.3 kB / 3.523 GB, free: 216.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/7.928, allocations: 0 / 3.523 GB, free: 216.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/7.929, allocations: 43.95 kB / 3.523 GB, free: 216.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.38e-05/7.929, allocations: 23.88 kB / 3.523 GB, free: 216.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.49e-05/7.929, allocations: 12 kB / 3.523 GB, free: 216.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0004932/7.93, allocations: 294.9 kB / 3.523 GB, free: 216.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004105/7.934, allocations: 0.6983 MB / 3.524 GB, free: 215.7 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.002463/7.936, allocations: 1.434 MB / 3.525 GB, free: 214.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001311/7.938, allocations: 474.9 kB / 3.526 GB, free: 213.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/7.938, allocations: 4 kB / 3.526 GB, free: 213.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004019/7.938, allocations: 160.5 kB / 3.526 GB, free: 213.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003271/7.942, allocations: 324.1 kB / 3.526 GB, free: 213.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002758/7.944, allocations: 0.9651 MB / 3.527 GB, free: 212.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007803/7.945, allocations: 1.007 MB / 3.528 GB, free: 211.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.052e-06/7.945, allocations: 0 / 3.528 GB, free: 211.4 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Delays_Examples_Delay.fmu > Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1)