Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.237/1.237, allocations: 249.4 MB / 256.7 MB, free: 7.039 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001069/0.001069, allocations: 188.3 kB / 316 MB, free: 3.562 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.153/1.153, allocations: 205.1 MB / 0.5667 GB, free: 15.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008801/0.0008804, allocations: 96.52 kB / 0.671 GB, free: 4.762 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3514/0.3523, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.5012, allocations: 106.3 MB / 0.8847 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.678/4.18, allocations: 2.196 GB / 3.08 GB, free: 204.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000187/4.18, allocations: 87.94 kB / 3.081 GB, free: 204.7 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 1.139/5.319, allocations: 470.1 MB / 3.54 GB, free: 74.08 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/5.319, allocations: 12 kB / 3.54 GB, free: 74.07 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/5.32, allocations: 218.8 kB / 3.54 GB, free: 73.85 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009778/5.321, allocations: 0.6321 MB / 3.54 GB, free: 73.18 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/5.321, allocations: 19.94 kB / 3.541 GB, free: 73.16 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.104e-05/5.321, allocations: 28 kB / 3.541 GB, free: 73.13 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005483/5.322, allocations: 377.8 kB / 3.541 GB, free: 72.76 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005748/5.322, allocations: 404.5 kB / 3.541 GB, free: 72.36 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/5.322, allocations: 0 / 3.541 GB, free: 72.36 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.241e-05/5.322, allocations: 0 / 3.541 GB, free: 72.36 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.188e-05/5.322, allocations: 17 kB / 3.541 GB, free: 72.34 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002133/5.324, allocations: 2.04 MB / 3.543 GB, free: 70.16 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004307/5.325, allocations: 303.5 kB / 3.544 GB, free: 69.86 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001948/5.325, allocations: 180.2 kB / 3.544 GB, free: 69.68 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002364/5.325, allocations: 190.5 kB / 3.544 GB, free: 69.46 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/5.325, allocations: 38.84 kB / 3.544 GB, free: 69.41 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=33): time 1.583e-06/5.325, allocations: 0 / 3.544 GB, free: 69.41 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33): time 0.0008308/5.326, allocations: 387.2 kB / 3.544 GB, free: 69.03 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.576e-05/5.326, allocations: 55.41 kB / 3.544 GB, free: 68.96 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003213/5.327, allocations: 378.2 kB / 3.545 GB, free: 68.59 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/5.327, allocations: 25.7 kB / 3.545 GB, free: 68.55 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.262e-05/5.327, allocations: 236.6 kB / 3.545 GB, free: 68.32 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.497e-05/5.327, allocations: 110.3 kB / 3.545 GB, free: 68.21 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.542e-05/5.327, allocations: 4 kB / 3.545 GB, free: 68.21 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.69e-05/5.327, allocations: 358.8 kB / 3.545 GB, free: 67.85 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/5.327, allocations: 116.6 kB / 3.546 GB, free: 67.73 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/5.327, allocations: 210.5 kB / 3.546 GB, free: 67.49 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/5.327, allocations: 147.8 kB / 3.546 GB, free: 67.35 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/5.327, allocations: 0 / 3.546 GB, free: 67.35 MB / 0.8698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004347/5.328, allocations: 368.6 kB / 3.546 GB, free: 66.98 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.182e-05/5.328, allocations: 368 kB / 3.547 GB, free: 66.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/5.328, allocations: 0 / 3.547 GB, free: 66.59 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/5.328, allocations: 4 kB / 3.547 GB, free: 66.59 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003302/5.328, allocations: 79.8 kB / 3.547 GB, free: 66.51 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/5.328, allocations: 8 kB / 3.547 GB, free: 66.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005085/5.329, allocations: 55.73 kB / 3.547 GB, free: 66.45 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.682e-05/5.329, allocations: 8 kB / 3.547 GB, free: 66.44 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.06e-06/5.329, allocations: 4 kB / 3.547 GB, free: 66.44 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003558/5.329, allocations: 279.7 kB / 3.547 GB, free: 66.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.645e-06/5.329, allocations: 7.906 kB / 3.547 GB, free: 66.16 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.695e-06/5.329, allocations: 0 / 3.547 GB, free: 66.16 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003014/5.33, allocations: 80 kB / 3.547 GB, free: 66.08 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.013e-06/5.33, allocations: 0 / 3.547 GB, free: 66.08 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004513/5.33, allocations: 51.8 kB / 3.547 GB, free: 66.03 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.6e-05/5.33, allocations: 16 kB / 3.547 GB, free: 66.01 MB / 0.8698 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 7.958e-05/5.33, allocations: 112.8 kB / 3.547 GB, free: 65.89 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.609e-05/5.33, allocations: 55.34 kB / 3.547 GB, free: 65.84 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004884/5.331, allocations: 366.8 kB / 3.548 GB, free: 65.47 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/5.331, allocations: 0 / 3.548 GB, free: 65.47 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/5.331, allocations: 8 kB / 3.548 GB, free: 65.46 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003516/5.331, allocations: 380.3 kB / 3.548 GB, free: 65.06 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001212/5.332, allocations: 1.058 MB / 3.549 GB, free: 63.94 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/5.332, allocations: 4 kB / 3.549 GB, free: 63.94 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004241/5.333, allocations: 87.89 kB / 3.549 GB, free: 63.85 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/5.333, allocations: 4 kB / 3.549 GB, free: 63.85 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.612e-05/5.333, allocations: 7.984 kB / 3.549 GB, free: 63.84 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/5.333, allocations: 4 kB / 3.549 GB, free: 63.84 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/5.333, allocations: 3.938 kB / 3.549 GB, free: 63.83 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000641/5.333, allocations: 0.7295 MB / 3.55 GB, free: 63.03 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009963/5.334, allocations: 1.35 MB / 3.551 GB, free: 61.61 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001831/5.335, allocations: 180.3 kB / 3.551 GB, free: 61.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.607e-05/5.335, allocations: 4 kB / 3.551 GB, free: 61.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005207/5.335, allocations: 51.84 kB / 3.551 GB, free: 61.36 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.201e-05/5.335, allocations: 19.92 kB / 3.551 GB, free: 61.34 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.741e-05/5.335, allocations: 19.98 kB / 3.551 GB, free: 61.32 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0002348/5.336, allocations: 294.9 kB / 3.552 GB, free: 61.03 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002354/5.338, allocations: 0.6983 MB / 3.552 GB, free: 60.33 MB / 0.8698 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.00137/5.339, allocations: 1.442 MB / 3.554 GB, free: 58.85 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0005767/5.34, allocations: 466.9 kB / 3.554 GB, free: 58.39 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/5.34, allocations: 0 / 3.554 GB, free: 58.39 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001716/5.34, allocations: 164.4 kB / 3.554 GB, free: 58.23 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/5.342, allocations: 332.3 kB / 3.555 GB, free: 57.91 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/5.343, allocations: 0.9703 MB / 3.556 GB, free: 56.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000431/5.343, allocations: 1.003 MB / 3.557 GB, free: 55.87 MB / 0.8698 GB Notification: Performance of SimCode: time 2.9e-07/5.343, allocations: 4 kB / 3.557 GB, free: 55.87 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Delays_Examples_Delay.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1)