Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_X_wSetOnly,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",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.244/1.244, allocations: 249.4 MB / 256.7 MB, free: 6.953 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.001019/0.001019, allocations: 180.9 kB / 316 MB, free: 3.535 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.269/1.269, allocations: 205.2 MB / 0.5667 GB, free: 15.57 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.001061/0.001061, allocations: 90.2 kB / 0.671 GB, free: 4.707 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4033/0.4044, allocations: 112.4 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.5862, allocations: 106.3 MB / 0.8847 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.05/4.637, allocations: 2.186 GB / 3.071 GB, free: 217.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/4.637, allocations: 87.94 kB / 3.071 GB, free: 217.8 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 2.845/7.481, allocations: 0.9778 GB / 4.049 GB, free: 173.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/7.481, allocations: 9.781 kB / 4.049 GB, free: 173.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004395/7.486, allocations: 0.7629 MB / 4.05 GB, free: 173.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002984/7.489, allocations: 1.035 MB / 4.051 GB, free: 173.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.725e-05/7.489, allocations: 28.78 kB / 4.051 GB, free: 173.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002743/7.489, allocations: 64.47 kB / 4.051 GB, free: 173.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00175/7.491, allocations: 0.936 MB / 4.052 GB, free: 173.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001709/7.493, allocations: 1.147 MB / 4.053 GB, free: 173.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/7.493, allocations: 0 / 4.053 GB, free: 173.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.553e-05/7.493, allocations: 2.562 kB / 4.053 GB, free: 173.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.234e-05/7.493, allocations: 55.36 kB / 4.053 GB, free: 173.3 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007549/7.5, allocations: 5.677 MB / 4.058 GB, free: 170.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/7.502, allocations: 0.8784 MB / 4.059 GB, free: 170.3 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005899/7.502, allocations: 0.4903 MB / 4.06 GB, free: 170.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007052/7.503, allocations: 0.583 MB / 4.06 GB, free: 169.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007193/7.504, allocations: 0.5818 MB / 4.061 GB, free: 169.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=80): time 2.675e-06/7.504, allocations: 0 / 4.061 GB, free: 169.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=80): time 0.002158/7.506, allocations: 1.085 MB / 4.062 GB, free: 169.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/7.506, allocations: 65.06 kB / 4.062 GB, free: 169.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/7.507, allocations: 0.8565 MB / 4.063 GB, free: 169.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001114/7.507, allocations: 28.73 kB / 4.063 GB, free: 169.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002478/7.507, allocations: 418 kB / 4.063 GB, free: 169.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002155/7.508, allocations: 267.5 kB / 4.064 GB, free: 169 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.934e-05/7.508, allocations: 0 / 4.064 GB, free: 169 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.227e-05/7.508, allocations: 349.4 kB / 4.064 GB, free: 168.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005596/7.508, allocations: 422.3 kB / 4.064 GB, free: 168.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007174/7.509, allocations: 0.7457 MB / 4.065 GB, free: 168.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006674/7.51, allocations: 481.2 kB / 4.065 GB, free: 168.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.84e-06/7.51, allocations: 5.906 kB / 4.065 GB, free: 168.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001816/7.512, allocations: 1.189 MB / 4.067 GB, free: 168.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/7.512, allocations: 5.719 kB / 4.067 GB, free: 168.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/7.512, allocations: 7.5 kB / 4.067 GB, free: 168.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/7.512, allocations: 15.53 kB / 4.067 GB, free: 168.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001554/7.513, allocations: 326.7 kB / 4.067 GB, free: 168.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-05/7.513, allocations: 17.31 kB / 4.067 GB, free: 168.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/7.515, allocations: 199.8 kB / 4.067 GB, free: 168.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001366/7.515, allocations: 66.11 kB / 4.067 GB, free: 168.2 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (117): * Single equations (assignments): 117 * 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.0002166/7.515, allocations: 138.5 kB / 4.067 GB, free: 168.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002239/7.515, allocations: 123.2 kB / 4.068 GB, free: 168 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002038/7.517, allocations: 1.189 MB / 4.069 GB, free: 168 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/7.517, allocations: 11.56 kB / 4.069 GB, free: 168 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/7.517, allocations: 3.375 kB / 4.069 GB, free: 168 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/7.517, allocations: 7.375 kB / 4.069 GB, free: 168 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004005/7.521, allocations: 2.606 MB / 4.071 GB, free: 167.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/7.521, allocations: 3.969 kB / 4.071 GB, free: 167.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00137/7.523, allocations: 260 kB / 4.071 GB, free: 167.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-05/7.523, allocations: 7.375 kB / 4.071 GB, free: 167.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.393e-05/7.523, allocations: 29.5 kB / 4.072 GB, free: 167.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.315e-06/7.523, allocations: 10.75 kB / 4.072 GB, free: 167.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/7.523, allocations: 6.312 kB / 4.072 GB, free: 167.5 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00255/7.526, allocations: 2.142 MB / 4.074 GB, free: 166.9 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003862/7.529, allocations: 3.293 MB / 4.077 GB, free: 165.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007634/7.53, allocations: 332.7 kB / 4.077 GB, free: 165.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003509/7.531, allocations: 11.56 kB / 4.077 GB, free: 165.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001464/7.532, allocations: 140.3 kB / 4.077 GB, free: 165.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/7.532, allocations: 60.89 kB / 4.077 GB, free: 165.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/7.532, allocations: 39.72 kB / 4.077 GB, free: 165.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.001094/7.533, allocations: 0.6488 MB / 4.078 GB, free: 165.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002746/7.536, allocations: 0.6702 MB / 4.079 GB, free: 165.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,heaCooUnl.Xi) * 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 (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.002927/7.539, allocations: 2.12 MB / 4.081 GB, free: 165 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001708/7.541, allocations: 1.044 MB / 4.082 GB, free: 165 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/7.541, allocations: 0 / 4.082 GB, free: 165 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007439/7.542, allocations: 0.5352 MB / 4.082 GB, free: 165 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002018/7.544, allocations: 415.8 kB / 4.083 GB, free: 165 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01553/7.559, allocations: 2.796 MB / 4.085 GB, free: 164.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001491/7.561, allocations: 1.377 MB / 4.087 GB, free: 163.7 MB / 0.8855 GB Notification: Performance of SimCode: time 1.773e-06/7.561, allocations: 0 / 4.087 GB, free: 163.7 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)