Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.261/1.261, allocations: 249.4 MB / 256.7 MB, free: 0.6875 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001146/0.001146, allocations: 180 kB / 316 MB, free: 8.863 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.316/1.316, allocations: 205.1 MB / 0.5667 GB, free: 13.48 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008583/0.0008583, allocations: 93.81 kB / 0.671 GB, free: 51.56 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1981/0.199, allocations: 112.5 MB / 0.7808 GB, free: 9.836 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.484/0.6831, allocations: 106.3 MB / 0.8846 GB, free: 89.14 MB / 0.6433 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.81/4.493, allocations: 2.434 GB / 3.318 GB, free: 297.8 MB / 0.8777 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001863/4.493, allocations: 90.73 kB / 3.318 GB, free: 297.8 MB / 0.8777 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 1.29/5.783, allocations: 0.5837 GB / 3.902 GB, free: 53.77 MB / 0.8777 GB Notification: Performance of prepare preOptimizeDAE: time 2.991e-05/5.783, allocations: 8 kB / 3.902 GB, free: 53.76 MB / 0.8777 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002965/5.786, allocations: 0.6371 MB / 3.903 GB, free: 53.12 MB / 0.8777 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001958/5.788, allocations: 0.9464 MB / 3.904 GB, free: 52.15 MB / 0.8777 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/5.788, allocations: 24 kB / 3.904 GB, free: 52.12 MB / 0.8777 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/5.788, allocations: 52 kB / 3.904 GB, free: 52.07 MB / 0.8777 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008915/5.789, allocations: 0.5739 MB / 3.904 GB, free: 51.5 MB / 0.8777 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009334/5.79, allocations: 0.8056 MB / 3.905 GB, free: 50.61 MB / 0.8777 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/5.79, allocations: 7.938 kB / 3.905 GB, free: 50.61 MB / 0.8777 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.317e-05/5.79, allocations: 0 / 3.905 GB, free: 50.61 MB / 0.8777 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/5.79, allocations: 20 kB / 3.905 GB, free: 50.59 MB / 0.8777 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004306/5.794, allocations: 4.867 MB / 3.91 GB, free: 45.49 MB / 0.8777 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008588/5.795, allocations: 0.5418 MB / 3.91 GB, free: 44.94 MB / 0.8777 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003649/5.796, allocations: 294.3 kB / 3.911 GB, free: 44.65 MB / 0.8777 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009005/5.797, allocations: 1.598 MB / 3.912 GB, free: 42.71 MB / 0.8777 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000481/5.797, allocations: 373.1 kB / 3.913 GB, free: 42.34 MB / 0.8777 GB Notification: Performance of pre-optimization done (n=61): time 2.465e-06/5.797, allocations: 4 kB / 3.913 GB, free: 42.33 MB / 0.8777 GB Notification: Performance of matching and sorting (n=61): time 0.001377/5.798, allocations: 0.7021 MB / 3.913 GB, free: 41.62 MB / 0.8777 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.029e-05/5.798, allocations: 55.91 kB / 3.913 GB, free: 41.55 MB / 0.8777 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007927/5.799, allocations: 0.839 MB / 3.914 GB, free: 40.7 MB / 0.8777 GB Notification: Performance of collectPreVariables (initialization): time 6.031e-05/5.799, allocations: 33.7 kB / 3.914 GB, free: 40.66 MB / 0.8777 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/5.799, allocations: 391.3 kB / 3.914 GB, free: 40.27 MB / 0.8777 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/5.8, allocations: 201 kB / 3.915 GB, free: 40.07 MB / 0.8777 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/5.8, allocations: 0 / 3.915 GB, free: 40.07 MB / 0.8777 GB Notification: Performance of setup shared object (initialization): time 5.209e-05/5.8, allocations: 338 kB / 3.915 GB, free: 39.73 MB / 0.8777 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000348/5.8, allocations: 249.9 kB / 3.915 GB, free: 39.49 MB / 0.8777 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004695/5.801, allocations: 0.5651 MB / 3.916 GB, free: 38.79 MB / 0.8777 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007164/5.801, allocations: 361.2 kB / 3.916 GB, free: 38.43 MB / 0.8777 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/5.801, allocations: 4 kB / 3.916 GB, free: 38.43 MB / 0.8777 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001439/5.803, allocations: 0.8816 MB / 3.917 GB, free: 37.54 MB / 0.8777 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/5.803, allocations: 4 kB / 3.917 GB, free: 37.54 MB / 0.8777 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/5.803, allocations: 8 kB / 3.917 GB, free: 37.53 MB / 0.8777 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/5.803, allocations: 15.98 kB / 3.917 GB, free: 37.51 MB / 0.8777 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/5.804, allocations: 291.6 kB / 3.917 GB, free: 37.23 MB / 0.8777 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/5.804, allocations: 19.92 kB / 3.917 GB, free: 37.21 MB / 0.8777 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/5.805, allocations: 191.1 kB / 3.917 GB, free: 37.02 MB / 0.8777 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-05/5.805, allocations: 51.97 kB / 3.918 GB, free: 36.97 MB / 0.8777 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.0001611/5.806, allocations: 138.7 kB / 3.918 GB, free: 36.82 MB / 0.8777 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/5.806, allocations: 110.6 kB / 3.918 GB, free: 36.71 MB / 0.8777 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002004/5.808, allocations: 1.075 MB / 3.919 GB, free: 35.63 MB / 0.8777 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/5.808, allocations: 8 kB / 3.919 GB, free: 35.62 MB / 0.8777 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/5.808, allocations: 4 kB / 3.919 GB, free: 35.62 MB / 0.8777 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/5.808, allocations: 3.984 kB / 3.919 GB, free: 35.62 MB / 0.8777 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002774/5.81, allocations: 1.991 MB / 3.921 GB, free: 33.59 MB / 0.8777 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/5.81, allocations: 0 / 3.921 GB, free: 33.59 MB / 0.8777 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/5.812, allocations: 211.9 kB / 3.921 GB, free: 33.38 MB / 0.8777 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.273e-06/5.812, allocations: 8 kB / 3.921 GB, free: 33.37 MB / 0.8777 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.189e-05/5.812, allocations: 19.97 kB / 3.921 GB, free: 33.35 MB / 0.8777 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/5.812, allocations: 11.91 kB / 3.921 GB, free: 33.34 MB / 0.8777 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/5.812, allocations: 0 / 3.921 GB, free: 33.34 MB / 0.8777 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001945/5.814, allocations: 1.523 MB / 3.923 GB, free: 31.75 MB / 0.8777 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002551/5.816, allocations: 2.403 MB / 3.925 GB, free: 29.27 MB / 0.8777 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004419/5.817, allocations: 295.3 kB / 3.925 GB, free: 28.96 MB / 0.8777 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001727/5.817, allocations: 4 kB / 3.925 GB, free: 28.96 MB / 0.8777 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/5.818, allocations: 131.9 kB / 3.925 GB, free: 28.83 MB / 0.8777 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.014e-05/5.818, allocations: 52.58 kB / 3.925 GB, free: 28.78 MB / 0.8777 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.867e-05/5.818, allocations: 32.16 kB / 3.925 GB, free: 28.75 MB / 0.8777 GB Notification: Performance of sort global known variables: time 0.0006491/5.819, allocations: 0.6401 MB / 3.926 GB, free: 28.1 MB / 0.8777 GB Notification: Performance of remove unused functions: time 0.001799/5.82, allocations: 439.4 kB / 3.926 GB, free: 27.67 MB / 0.8777 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.001066/5.822, allocations: 0.7054 MB / 3.927 GB, free: 27.07 MB / 0.8777 GB Notification: Performance of simCode: created initialization part: time 0.00102/5.823, allocations: 0.7424 MB / 3.928 GB, free: 26.33 MB / 0.8777 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/5.823, allocations: 0.8125 kB / 3.928 GB, free: 26.33 MB / 0.8777 GB Notification: Performance of simCode: created simulation system equations: time 0.0004889/5.823, allocations: 414.3 kB / 3.928 GB, free: 25.92 MB / 0.8777 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/5.825, allocations: 341.5 kB / 3.929 GB, free: 25.6 MB / 0.8777 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003622/5.828, allocations: 1.823 MB / 3.93 GB, free: 23.73 MB / 0.8777 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009185/5.829, allocations: 1.287 MB / 3.932 GB, free: 22.41 MB / 0.8777 GB Notification: Performance of SimCode: time 6.92e-07/5.829, allocations: 0 / 3.932 GB, free: 22.41 MB / 0.8777 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)