Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",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.701/1.701, allocations: 289.8 MB / 297.1 MB, free: 6.738 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.001228/0.001228, allocations: 181.3 kB / 366.3 MB, free: 2.016 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.675/1.675, allocations: 205.1 MB / 0.6256 GB, free: 5.844 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.0009311/0.0009316, allocations: 86.02 kB / 0.7395 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2945/0.2954, allocations: 122.4 MB / 0.8591 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7631/1.059, allocations: 116.3 MB / 0.9726 GB, free: 68.37 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.076/6.135, allocations: 2.318 GB / 3.29 GB, free: 131.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003048/6.135, allocations: 86.39 kB / 3.29 GB, free: 131.7 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: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 2.277/8.412, allocations: 0.6002 GB / 3.891 GB, free: 229.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/8.412, allocations: 7.781 kB / 3.891 GB, free: 229.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003322/8.415, allocations: 0.6374 MB / 3.891 GB, free: 229.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002516/8.418, allocations: 0.9527 MB / 3.892 GB, free: 228.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.752e-05/8.418, allocations: 25.2 kB / 3.892 GB, free: 228.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/8.418, allocations: 56.75 kB / 3.892 GB, free: 228.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0011/8.419, allocations: 0.5675 MB / 3.893 GB, free: 228.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/8.42, allocations: 0.8022 MB / 3.894 GB, free: 228.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/8.42, allocations: 5.844 kB / 3.894 GB, free: 228.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.987e-05/8.42, allocations: 7.781 kB / 3.894 GB, free: 228.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.008e-05/8.421, allocations: 18.19 kB / 3.894 GB, free: 228.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006537/8.427, allocations: 4.851 MB / 3.898 GB, free: 224.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/8.428, allocations: 0.5458 MB / 3.899 GB, free: 224.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006179/8.429, allocations: 293.7 kB / 3.899 GB, free: 224.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001256/8.43, allocations: 1.592 MB / 3.901 GB, free: 222.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006739/8.431, allocations: 380 kB / 3.901 GB, free: 222.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 2.986e-06/8.431, allocations: 0 / 3.901 GB, free: 222.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.001817/8.433, allocations: 0.7133 MB / 3.902 GB, free: 221.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/8.433, allocations: 60.28 kB / 3.902 GB, free: 221.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/8.434, allocations: 0.8419 MB / 3.903 GB, free: 221.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.033e-05/8.434, allocations: 25.7 kB / 3.903 GB, free: 221.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002505/8.434, allocations: 383.5 kB / 3.903 GB, free: 221.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/8.434, allocations: 202.8 kB / 3.903 GB, free: 221.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-05/8.434, allocations: 0 / 3.903 GB, free: 221.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.612e-05/8.434, allocations: 339.8 kB / 3.904 GB, free: 220.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003956/8.435, allocations: 256.2 kB / 3.904 GB, free: 220.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006295/8.435, allocations: 0.569 MB / 3.904 GB, free: 220.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009238/8.436, allocations: 362.1 kB / 3.905 GB, free: 220.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/8.436, allocations: 3.844 kB / 3.905 GB, free: 220.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001773/8.438, allocations: 0.8838 MB / 3.906 GB, free: 219.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/8.438, allocations: 6.688 kB / 3.906 GB, free: 219.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/8.438, allocations: 7.25 kB / 3.906 GB, free: 219.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.821e-05/8.438, allocations: 11.75 kB / 3.906 GB, free: 219.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/8.44, allocations: 298.4 kB / 3.906 GB, free: 219.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.592e-05/8.44, allocations: 14.38 kB / 3.906 GB, free: 219.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/8.441, allocations: 189.8 kB / 3.906 GB, free: 219.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/8.441, allocations: 47.19 kB / 3.906 GB, free: 219.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 100 * 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.0002052/8.441, allocations: 142.5 kB / 3.906 GB, free: 219.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001614/8.441, allocations: 105.5 kB / 3.906 GB, free: 219.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002616/8.444, allocations: 1.073 MB / 3.908 GB, free: 219.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.826e-05/8.444, allocations: 8.891 kB / 3.908 GB, free: 219.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/8.444, allocations: 3.797 kB / 3.908 GB, free: 219.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.546e-05/8.444, allocations: 3.656 kB / 3.908 GB, free: 219.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004095/8.448, allocations: 1.981 MB / 3.909 GB, free: 218.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/8.448, allocations: 3.938 kB / 3.909 GB, free: 218.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001195/8.45, allocations: 218 kB / 3.91 GB, free: 218.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.115e-05/8.45, allocations: 7.594 kB / 3.91 GB, free: 218.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.68e-05/8.45, allocations: 18.69 kB / 3.91 GB, free: 218.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.947e-06/8.45, allocations: 7.188 kB / 3.91 GB, free: 218.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/8.45, allocations: 5.031 kB / 3.91 GB, free: 218.3 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002394/8.452, allocations: 1.523 MB / 3.911 GB, free: 217.5 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003301/8.455, allocations: 2.405 MB / 3.914 GB, free: 216.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006223/8.456, allocations: 297 kB / 3.914 GB, free: 215.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002827/8.456, allocations: 11.12 kB / 3.914 GB, free: 215.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/8.458, allocations: 130.3 kB / 3.914 GB, free: 215.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/8.458, allocations: 53.56 kB / 3.914 GB, free: 215.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.592e-05/8.458, allocations: 36.2 kB / 3.914 GB, free: 215.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001089/8.459, allocations: 0.6293 MB / 3.915 GB, free: 215.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00255/8.461, allocations: 448.4 kB / 3.915 GB, free: 215.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 6 * 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.00171/8.463, allocations: 0.6996 MB / 3.916 GB, free: 215.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001468/8.465, allocations: 0.7385 MB / 3.917 GB, free: 215 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/8.465, allocations: 3.969 kB / 3.917 GB, free: 215 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007215/8.465, allocations: 415.3 kB / 3.917 GB, free: 214.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002247/8.468, allocations: 328.9 kB / 3.917 GB, free: 214.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005906/8.474, allocations: 1.828 MB / 3.919 GB, free: 214.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001785/8.475, allocations: 1.288 MB / 3.92 GB, free: 213.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.944e-06/8.475, allocations: 0 / 3.92 GB, free: 213.4 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)