Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Delays.Examples.Delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_9_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.056/2.056, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.001135/0.001135, allocations: 193.2 kB / 487 MB, free: 5.332 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.503/1.503, allocations: 221.3 MB / 0.7819 GB, free: 1.309 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009732/0.0009732, allocations: 101.4 kB / 0.9213 GB, free: 2.566 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6258/0.6268, allocations: 148.4 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.9272, allocations: 142.3 MB / 1.205 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.422/5.349, allocations: 1.922 GB / 3.127 GB, free: 405.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002104/5.349, allocations: 83.95 kB / 3.128 GB, free: 405.8 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 1.441/6.79, allocations: 491.3 MB / 3.607 GB, free: 309.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/6.79, allocations: 9.844 kB / 3.607 GB, free: 309.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001381/6.791, allocations: 217.9 kB / 3.607 GB, free: 309.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/6.793, allocations: 0.6461 MB / 3.608 GB, free: 309.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/6.793, allocations: 14.69 kB / 3.608 GB, free: 309.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.439e-05/6.793, allocations: 29.53 kB / 3.608 GB, free: 309.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005809/6.793, allocations: 371.2 kB / 3.609 GB, free: 309.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005947/6.794, allocations: 403.4 kB / 3.609 GB, free: 309.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/6.794, allocations: 11.69 kB / 3.609 GB, free: 309.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.278e-05/6.794, allocations: 0 / 3.609 GB, free: 309.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.359e-05/6.794, allocations: 15 kB / 3.609 GB, free: 309.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002335/6.796, allocations: 2.082 MB / 3.611 GB, free: 308.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003573/6.797, allocations: 298.1 kB / 3.611 GB, free: 308.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002101/6.797, allocations: 187.4 kB / 3.611 GB, free: 308.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002618/6.797, allocations: 195.2 kB / 3.612 GB, free: 307.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/6.797, allocations: 37.69 kB / 3.612 GB, free: 307.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=33): time 2.124e-06/6.797, allocations: 0 / 3.612 GB, free: 307.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.0009416/6.798, allocations: 388.9 kB / 3.612 GB, free: 307.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/6.798, allocations: 57.16 kB / 3.612 GB, free: 307.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004154/6.799, allocations: 374.9 kB / 3.612 GB, free: 307.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.63e-05/6.799, allocations: 29.61 kB / 3.612 GB, free: 307.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/6.799, allocations: 233.8 kB / 3.613 GB, free: 307.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.575e-05/6.799, allocations: 114.4 kB / 3.613 GB, free: 307.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.724e-05/6.799, allocations: 3.75 kB / 3.613 GB, free: 307.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000108/6.799, allocations: 362.9 kB / 3.613 GB, free: 307.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/6.799, allocations: 110.5 kB / 3.613 GB, free: 307.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002236/6.799, allocations: 199.8 kB / 3.613 GB, free: 307 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002438/6.8, allocations: 152.3 kB / 3.614 GB, free: 307 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/6.8, allocations: 3.656 kB / 3.614 GB, free: 307 MB / 1.151 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005094/6.8, allocations: 380 kB / 3.614 GB, free: 306.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001161/6.8, allocations: 361.1 kB / 3.614 GB, free: 306.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/6.8, allocations: 0 / 3.614 GB, free: 306.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/6.8, allocations: 3.469 kB / 3.614 GB, free: 306.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004011/6.801, allocations: 74.5 kB / 3.614 GB, free: 306.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/6.801, allocations: 1.875 kB / 3.614 GB, free: 306.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006209/6.801, allocations: 64.53 kB / 3.614 GB, free: 306.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.065e-05/6.801, allocations: 15.88 kB / 3.614 GB, free: 306.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 6.342e-06/6.802, allocations: 3.375 kB / 3.614 GB, free: 306.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004063/6.802, allocations: 286.2 kB / 3.615 GB, free: 306.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.035e-06/6.802, allocations: 0 / 3.615 GB, free: 306.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.935e-06/6.802, allocations: 8.438 kB / 3.615 GB, free: 306.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000311/6.802, allocations: 75.91 kB / 3.615 GB, free: 306.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/6.802, allocations: 80 / 3.615 GB, free: 306.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004779/6.803, allocations: 57.89 kB / 3.615 GB, free: 306.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.074e-05/6.803, allocations: 24.86 kB / 3.615 GB, free: 306.5 MB / 1.151 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.0001043/6.803, allocations: 108.7 kB / 3.615 GB, free: 306.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.051e-05/6.803, allocations: 54.56 kB / 3.615 GB, free: 306.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005514/6.804, allocations: 365.7 kB / 3.615 GB, free: 306.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/6.804, allocations: 7.828 kB / 3.615 GB, free: 306.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/6.804, allocations: 7.25 kB / 3.615 GB, free: 306.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003801/6.804, allocations: 383.2 kB / 3.616 GB, free: 306.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/6.805, allocations: 1.056 MB / 3.617 GB, free: 305.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/6.805, allocations: 6.562 kB / 3.617 GB, free: 305.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004354/6.806, allocations: 83.69 kB / 3.617 GB, free: 305.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/6.806, allocations: 3.625 kB / 3.617 GB, free: 305.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.061e-05/6.806, allocations: 14.06 kB / 3.617 GB, free: 305.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-06/6.806, allocations: 11.59 kB / 3.617 GB, free: 305.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/6.806, allocations: 0 / 3.617 GB, free: 305.8 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006751/6.807, allocations: 0.7073 MB / 3.618 GB, free: 305.5 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001136/6.808, allocations: 1.335 MB / 3.619 GB, free: 304.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002081/6.808, allocations: 178.5 kB / 3.619 GB, free: 304.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.113e-05/6.808, allocations: 3.141 kB / 3.619 GB, free: 304.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005225/6.809, allocations: 56.16 kB / 3.619 GB, free: 304.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.119e-05/6.809, allocations: 23.69 kB / 3.619 GB, free: 304.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.092e-05/6.809, allocations: 12.75 kB / 3.619 GB, free: 304.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003368/6.809, allocations: 293.6 kB / 3.619 GB, free: 304.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002778/6.812, allocations: 0.7032 MB / 3.62 GB, free: 304.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.medium.Xi[1],del.dynBal.U,del.dynBal.m) * 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.001756/6.814, allocations: 1.433 MB / 3.622 GB, free: 304.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0007434/6.814, allocations: 481.1 kB / 3.622 GB, free: 304.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/6.814, allocations: 0 / 3.622 GB, free: 304.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002019/6.815, allocations: 163.2 kB / 3.622 GB, free: 304.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001544/6.816, allocations: 330.5 kB / 3.622 GB, free: 304.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00179/6.818, allocations: 0.969 MB / 3.623 GB, free: 304 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005346/6.818, allocations: 1.01 MB / 3.624 GB, free: 303.3 MB / 1.151 GB Notification: Performance of SimCode: time 3.8e-07/6.818, allocations: 0 / 3.624 GB, free: 303.3 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_9_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_9_Buildings.Fluid.Delays.Examples.Delay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Delays.Examples.Delay_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Delays_Examples_Delay.fmu > Buildings_9_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1)