Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.ClosedLoop_y,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Movers_Examples_ClosedLoop_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.ClosedLoop_y,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Movers_Examples_ClosedLoop_y",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.0.1-maint.8.0.x/package.mo): time 1.423/1.423, allocations: 285.5 MB / 292.8 MB, free: 14.35 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001048/0.001048, allocations: 179.1 kB / 361.1 MB, free: 11.65 MB / 302.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.146/1.146, allocations: 205.1 MB / 0.6195 GB, free: 2.918 MB / 462.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008441/0.0008441, allocations: 85.53 kB / 0.7325 GB, free: 53.8 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.2192/0.2201, allocations: 121.5 MB / 0.8512 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.4202, allocations: 115.3 MB / 0.9638 GB, free: 6.125 MB / 0.7012 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.64/4.061, allocations: 2.115 GB / 3.079 GB, free: 46.39 MB / 0.9356 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001998/4.061, allocations: 91.95 kB / 3.079 GB, free: 46.3 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 2.57/6.631, allocations: 0.8062 GB / 3.885 GB, free: 156.4 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/6.631, allocations: 15.19 kB / 3.885 GB, free: 156.4 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00324/6.634, allocations: 460.4 kB / 3.886 GB, free: 156.3 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004805/6.639, allocations: 1.886 MB / 3.887 GB, free: 155.9 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.584e-05/6.639, allocations: 32.53 kB / 3.888 GB, free: 155.9 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000307/6.639, allocations: 63.94 kB / 3.888 GB, free: 155.9 MB / 0.9356 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001736/6.641, allocations: 0.8666 MB / 3.888 GB, free: 155.9 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001895/6.643, allocations: 1.044 MB / 3.889 GB, free: 155.8 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.211e-05/6.643, allocations: 3.906 kB / 3.889 GB, free: 155.8 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/6.643, allocations: 0 / 3.889 GB, free: 155.8 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.461e-05/6.643, allocations: 31.72 kB / 3.889 GB, free: 155.8 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006444/6.65, allocations: 5.006 MB / 3.894 GB, free: 153.5 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/6.651, allocations: 0.7665 MB / 3.895 GB, free: 153.5 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000558/6.651, allocations: 433.5 kB / 3.896 GB, free: 153.5 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002229/6.652, allocations: 192.8 kB / 3.896 GB, free: 153.3 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005375/6.652, allocations: 447.2 kB / 3.896 GB, free: 153.2 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=71): time 2.505e-06/6.652, allocations: 7.391 kB / 3.896 GB, free: 153.2 MB / 0.9356 GB Notification: Performance of matching and sorting (n=71): time 0.00233/6.655, allocations: 0.9084 MB / 3.897 GB, free: 153.1 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/6.655, allocations: 194.2 kB / 3.897 GB, free: 152.9 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009891/6.656, allocations: 0.8993 MB / 3.898 GB, free: 152.7 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.416e-05/6.656, allocations: 25.7 kB / 3.898 GB, free: 152.7 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002928/6.656, allocations: 451.8 kB / 3.899 GB, free: 152.5 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002106/6.656, allocations: 237.2 kB / 3.899 GB, free: 152.4 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-05/6.656, allocations: 0 / 3.899 GB, free: 152.4 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 7.67e-05/6.656, allocations: 338.8 kB / 3.899 GB, free: 152.1 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004617/6.657, allocations: 319.8 kB / 3.899 GB, free: 152.1 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005342/6.657, allocations: 0.5947 MB / 3.9 GB, free: 151.8 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007513/6.658, allocations: 429.3 kB / 3.9 GB, free: 151.8 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/6.658, allocations: 3.906 kB / 3.9 GB, free: 151.7 MB / 0.9356 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001635/6.66, allocations: 1.071 MB / 3.901 GB, free: 151.6 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002955/6.66, allocations: 2.042 MB / 3.903 GB, free: 149.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/6.66, allocations: 7.844 kB / 3.903 GB, free: 149.5 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003267/6.66, allocations: 105.7 kB / 3.904 GB, free: 149.5 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008938/6.661, allocations: 202.2 kB / 3.904 GB, free: 149.5 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006676/6.662, allocations: 1.295 MB / 3.905 GB, free: 148.4 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/6.663, allocations: 128.7 kB / 3.905 GB, free: 148.4 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.483e-05/6.663, allocations: 48.89 kB / 3.905 GB, free: 148.4 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.171e-06/6.663, allocations: 3.938 kB / 3.905 GB, free: 148.4 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001585/6.665, allocations: 0.8766 MB / 3.906 GB, free: 148.4 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/6.665, allocations: 7.094 kB / 3.906 GB, free: 148.4 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004084/6.665, allocations: 105.9 kB / 3.906 GB, free: 148.4 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007165/6.666, allocations: 192.6 kB / 3.906 GB, free: 148.4 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003563/6.67, allocations: 2.62 MB / 3.909 GB, free: 146.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009975/6.671, allocations: 119.5 kB / 3.909 GB, free: 146.7 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.509e-05/6.671, allocations: 45.25 kB / 3.909 GB, free: 146.7 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count,conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 94 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001912/6.671, allocations: 131.8 kB / 3.909 GB, free: 146.6 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/6.671, allocations: 130.8 kB / 3.909 GB, free: 146.5 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001629/6.673, allocations: 0.89 MB / 3.91 GB, free: 146.5 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.311e-06/6.673, allocations: 6.656 kB / 3.91 GB, free: 146.5 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/6.673, allocations: 3 kB / 3.91 GB, free: 146.5 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001093/6.674, allocations: 0.7866 MB / 3.911 GB, free: 146.3 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00281/6.677, allocations: 2.033 MB / 3.913 GB, free: 145.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.339e-06/6.677, allocations: 3.875 kB / 3.913 GB, free: 145.9 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008234/6.677, allocations: 171 kB / 3.913 GB, free: 145.9 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001485/6.678, allocations: 62.83 kB / 3.913 GB, free: 145.9 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.256e-05/6.678, allocations: 12.98 kB / 3.913 GB, free: 145.9 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004755/6.678, allocations: 1.207 MB / 3.914 GB, free: 144.8 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/6.678, allocations: 5.875 kB / 3.914 GB, free: 144.8 MB / 0.9356 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001781/6.68, allocations: 1.403 MB / 3.916 GB, free: 144.5 MB / 0.9356 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002663/6.683, allocations: 2.33 MB / 3.918 GB, free: 143.7 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004972/6.683, allocations: 287.7 kB / 3.918 GB, free: 143.6 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001768/6.683, allocations: 3.406 kB / 3.918 GB, free: 143.6 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008355/6.684, allocations: 82.44 kB / 3.918 GB, free: 143.6 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.85e-05/6.684, allocations: 49.72 kB / 3.918 GB, free: 143.6 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.14e-05/6.684, allocations: 31.61 kB / 3.918 GB, free: 143.6 MB / 0.9356 GB Notification: Performance of sort global known variables: time 0.0008865/6.685, allocations: 0.6837 MB / 3.919 GB, free: 143.5 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.004786/6.69, allocations: 1.653 MB / 3.921 GB, free: 143.4 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (fan.vol.dynBal.U,fan.vol.dynBal.m,fan.vol.dynBal.mXi[1],fan.filter.x[1],fan.filter.x[2],conPID.I.y) * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.003498/6.694, allocations: 2.926 MB / 3.924 GB, free: 142.5 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002366/6.696, allocations: 1.538 MB / 3.925 GB, free: 142.3 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/6.696, allocations: 0 / 3.925 GB, free: 142.3 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0005754/6.697, allocations: 378.5 kB / 3.925 GB, free: 142.3 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002354/6.699, allocations: 0.5614 MB / 3.926 GB, free: 142.3 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003833/6.703, allocations: 2.058 MB / 3.928 GB, free: 141.7 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001147/6.704, allocations: 1.443 MB / 3.929 GB, free: 141 MB / 0.9356 GB Notification: Performance of SimCode: time 8.21e-07/6.704, allocations: 0 / 3.929 GB, free: 141 MB / 0.9356 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Movers_Examples_ClosedLoop_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Movers_Examples_ClosedLoop_y.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)