Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Delays.Examples.Delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.355/1.355, allocations: 285.5 MB / 292.8 MB, free: 10.38 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.001059/0.001059, allocations: 181.3 kB / 361.1 MB, free: 7.062 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.111/1.111, allocations: 205.1 MB / 0.6195 GB, free: 10.29 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.0008306/0.0008305, allocations: 96.42 kB / 0.7325 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2092/0.2101, allocations: 121.4 MB / 0.8511 GB, free: 2.879 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4889/0.699, allocations: 115.3 MB / 0.9637 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.056/3.755, allocations: 2.077 GB / 3.04 GB, free: 76.27 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001865/3.755, allocations: 79.95 kB / 3.041 GB, free: 76.19 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.544/5.299, allocations: 482.9 MB / 3.512 GB, free: 227.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/5.299, allocations: 11.09 kB / 3.512 GB, free: 227.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001444/5.301, allocations: 222.6 kB / 3.512 GB, free: 227.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/5.302, allocations: 0.6238 MB / 3.513 GB, free: 227.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/5.302, allocations: 14.12 kB / 3.513 GB, free: 227.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.242e-05/5.302, allocations: 33.53 kB / 3.513 GB, free: 227.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005963/5.303, allocations: 373.1 kB / 3.513 GB, free: 227.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006057/5.304, allocations: 403.5 kB / 3.514 GB, free: 227 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/5.304, allocations: 0 / 3.514 GB, free: 227 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.435e-05/5.304, allocations: 0 / 3.514 GB, free: 227 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.391e-05/5.304, allocations: 19.64 kB / 3.514 GB, free: 227 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002454/5.306, allocations: 2.006 MB / 3.516 GB, free: 226.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003816/5.306, allocations: 298 kB / 3.516 GB, free: 226.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002132/5.307, allocations: 187.8 kB / 3.516 GB, free: 226.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002599/5.307, allocations: 193.6 kB / 3.516 GB, free: 225.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/5.307, allocations: 45.16 kB / 3.516 GB, free: 225.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 1.783e-06/5.307, allocations: 0 / 3.516 GB, free: 225.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.0009151/5.308, allocations: 385 kB / 3.517 GB, free: 225.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.277e-05/5.308, allocations: 54.78 kB / 3.517 GB, free: 225.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003753/5.308, allocations: 379.5 kB / 3.517 GB, free: 225.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.752e-05/5.308, allocations: 25.7 kB / 3.517 GB, free: 225.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/5.309, allocations: 233.5 kB / 3.517 GB, free: 225.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.314e-05/5.309, allocations: 112.6 kB / 3.518 GB, free: 225.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.595e-05/5.309, allocations: 0 / 3.518 GB, free: 225.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.312e-05/5.309, allocations: 358.5 kB / 3.518 GB, free: 225.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/5.309, allocations: 119.6 kB / 3.518 GB, free: 225.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001886/5.309, allocations: 209.2 kB / 3.518 GB, free: 225 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001882/5.309, allocations: 150.1 kB / 3.518 GB, free: 225 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/5.309, allocations: 0 / 3.518 GB, free: 225 MB / 0.948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004795/5.31, allocations: 374.4 kB / 3.519 GB, free: 224.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.664e-05/5.31, allocations: 362 kB / 3.519 GB, free: 224.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/5.31, allocations: 0 / 3.519 GB, free: 224.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/5.31, allocations: 7.125 kB / 3.519 GB, free: 224.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003566/5.31, allocations: 72.31 kB / 3.519 GB, free: 224.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/5.31, allocations: 7.562 kB / 3.519 GB, free: 224.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005467/5.311, allocations: 56.62 kB / 3.519 GB, free: 224.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.049e-05/5.311, allocations: 17.41 kB / 3.519 GB, free: 224.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.434e-06/5.311, allocations: 3.781 kB / 3.519 GB, free: 224.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003685/5.311, allocations: 287.1 kB / 3.519 GB, free: 224.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-06/5.311, allocations: 0 / 3.519 GB, free: 224.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.769e-06/5.311, allocations: 3.688 kB / 3.52 GB, free: 224.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003054/5.312, allocations: 75.31 kB / 3.52 GB, free: 224.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/5.312, allocations: 6.906 kB / 3.52 GB, free: 224.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005145/5.312, allocations: 51.23 kB / 3.52 GB, free: 224.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.863e-05/5.312, allocations: 15.06 kB / 3.52 GB, free: 224.5 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 9.15e-05/5.312, allocations: 113.1 kB / 3.52 GB, free: 224.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.474e-05/5.312, allocations: 53.28 kB / 3.52 GB, free: 224.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005078/5.313, allocations: 363.9 kB / 3.52 GB, free: 224.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/5.313, allocations: 7.844 kB / 3.52 GB, free: 224.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/5.313, allocations: 0 / 3.52 GB, free: 224.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003439/5.313, allocations: 389.5 kB / 3.521 GB, free: 224.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/5.315, allocations: 1.045 MB / 3.522 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/5.315, allocations: 7.062 kB / 3.522 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004305/5.315, allocations: 86.44 kB / 3.522 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/5.315, allocations: 11.59 kB / 3.522 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.693e-05/5.315, allocations: 7.375 kB / 3.522 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/5.315, allocations: 3.281 kB / 3.522 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/5.315, allocations: 7.219 kB / 3.522 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007001/5.316, allocations: 0.7477 MB / 3.522 GB, free: 223.5 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001126/5.317, allocations: 1.364 MB / 3.524 GB, free: 222.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002292/5.317, allocations: 179.9 kB / 3.524 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.738e-05/5.317, allocations: 6.719 kB / 3.524 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005268/5.318, allocations: 49.64 kB / 3.524 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.663e-05/5.318, allocations: 17.94 kB / 3.524 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-05/5.318, allocations: 14.44 kB / 3.524 GB, free: 222.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0002604/5.318, allocations: 290.3 kB / 3.524 GB, free: 222.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002654/5.321, allocations: 0.7034 MB / 3.525 GB, free: 222.6 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.001739/5.323, allocations: 1.425 MB / 3.526 GB, free: 222.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006618/5.323, allocations: 478.9 kB / 3.527 GB, free: 222.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/5.323, allocations: 7.688 kB / 3.527 GB, free: 222.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001944/5.323, allocations: 163.3 kB / 3.527 GB, free: 222.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/5.325, allocations: 321.2 kB / 3.527 GB, free: 222.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/5.327, allocations: 0.9619 MB / 3.528 GB, free: 222 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005369/5.327, allocations: 1.002 MB / 3.529 GB, free: 221.3 MB / 0.948 GB Notification: Performance of SimCode: time 3.81e-07/5.327, allocations: 3.406 kB / 3.529 GB, free: 221.3 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Delays.Examples.Delay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Delays_Examples_Delay.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1)