Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.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: translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y") translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y") [: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.538/1.538, allocations: 289.8 MB / 297.1 MB, free: 6.672 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.001137/0.001137, allocations: 181.3 kB / 366.3 MB, free: 1.934 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.51/1.51, allocations: 205.1 MB / 0.6256 GB, free: 5.789 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.0009267/0.0009266, allocations: 81.83 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.004e-06/7.024e-06, allocations: 0 / 0.859 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6247/0.6247, allocations: 116.3 MB / 0.9726 GB, free: 68.52 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.441/5.065, allocations: 2.116 GB / 3.089 GB, free: 284.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/5.066, allocations: 96.94 kB / 3.089 GB, free: 284 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.54/7.605, allocations: 0.8043 GB / 3.893 GB, free: 162.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001703/7.606, allocations: 48.83 kB / 3.893 GB, free: 162.6 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: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.004308/7.61, allocations: 1.887 MB / 3.895 GB, free: 161.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/7.61, allocations: 7.531 kB / 3.895 GB, free: 161.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003025/7.613, allocations: 460.4 kB / 3.895 GB, free: 161.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004371/7.617, allocations: 1.892 MB / 3.897 GB, free: 160.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.843e-05/7.618, allocations: 30.72 kB / 3.897 GB, free: 160.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/7.618, allocations: 64.06 kB / 3.897 GB, free: 160.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001586/7.619, allocations: 0.8677 MB / 3.898 GB, free: 160.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/7.621, allocations: 1.04 MB / 3.899 GB, free: 160 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.077e-05/7.621, allocations: 0 / 3.899 GB, free: 160 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.995e-05/7.621, allocations: 7.656 kB / 3.899 GB, free: 160 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.993e-05/7.621, allocations: 32.62 kB / 3.899 GB, free: 160 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006634/7.628, allocations: 5.02 MB / 3.904 GB, free: 156.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/7.629, allocations: 0.7565 MB / 3.905 GB, free: 156.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008577/7.63, allocations: 432.1 kB / 3.905 GB, free: 156.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003141/7.63, allocations: 201.5 kB / 3.905 GB, free: 156 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007256/7.631, allocations: 442.9 kB / 3.906 GB, free: 155.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=71): time 3.837e-06/7.631, allocations: 0 / 3.906 GB, free: 155.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=71): time 0.002798/7.634, allocations: 0.9138 MB / 3.907 GB, free: 155.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.344e-05/7.634, allocations: 196.9 kB / 3.907 GB, free: 155.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/7.635, allocations: 0.8933 MB / 3.908 GB, free: 154.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.128e-05/7.635, allocations: 28.64 kB / 3.908 GB, free: 154.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003219/7.636, allocations: 446.3 kB / 3.908 GB, free: 154.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002283/7.636, allocations: 237.1 kB / 3.909 GB, free: 154.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.635e-05/7.636, allocations: 0 / 3.909 GB, free: 154.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.996e-05/7.636, allocations: 343.1 kB / 3.909 GB, free: 154 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004589/7.637, allocations: 323.7 kB / 3.909 GB, free: 153.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006184/7.637, allocations: 0.5944 MB / 3.91 GB, free: 153.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008671/7.638, allocations: 432.1 kB / 3.91 GB, free: 153.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/7.638, allocations: 6.781 kB / 3.91 GB, free: 153.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001759/7.64, allocations: 1.074 MB / 3.911 GB, free: 152.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003899/7.64, allocations: 2.031 MB / 3.913 GB, free: 150.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.113e-05/7.64, allocations: 13.5 kB / 3.913 GB, free: 150.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003684/7.641, allocations: 105.4 kB / 3.913 GB, free: 150.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009376/7.642, allocations: 202.5 kB / 3.913 GB, free: 150.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007685/7.642, allocations: 1.287 MB / 3.915 GB, free: 149.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/7.644, allocations: 135.3 kB / 3.915 GB, free: 149.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/7.644, allocations: 51.3 kB / 3.915 GB, free: 149.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.848e-06/7.644, allocations: 6.188 kB / 3.915 GB, free: 149.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001742/7.646, allocations: 0.868 MB / 3.916 GB, free: 149.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/7.646, allocations: 8.984 kB / 3.916 GB, free: 149.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004276/7.646, allocations: 105.7 kB / 3.916 GB, free: 149.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007612/7.647, allocations: 189.8 kB / 3.916 GB, free: 149.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004012/7.651, allocations: 2.635 MB / 3.919 GB, free: 147.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/7.652, allocations: 115.3 kB / 3.919 GB, free: 147.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.99e-05/7.652, allocations: 47.67 kB / 3.919 GB, free: 147.2 MB / 0.948 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.000293/7.653, allocations: 135.3 kB / 3.919 GB, free: 147 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001971/7.653, allocations: 133.2 kB / 3.919 GB, free: 147 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002024/7.655, allocations: 0.8927 MB / 3.92 GB, free: 146.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/7.655, allocations: 7.312 kB / 3.92 GB, free: 146.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/7.655, allocations: 3.156 kB / 3.92 GB, free: 146.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001301/7.656, allocations: 0.7804 MB / 3.921 GB, free: 146.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003782/7.66, allocations: 2.036 MB / 3.923 GB, free: 145.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/7.66, allocations: 0 / 3.923 GB, free: 145.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009125/7.661, allocations: 177.1 kB / 3.923 GB, free: 145.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001832/7.661, allocations: 61.84 kB / 3.923 GB, free: 145.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-05/7.661, allocations: 8.703 kB / 3.923 GB, free: 145.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005519/7.662, allocations: 1.218 MB / 3.924 GB, free: 144.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/7.662, allocations: 0 / 3.924 GB, free: 144.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001972/7.664, allocations: 1.402 MB / 3.925 GB, free: 143.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005651/7.664, allocations: 293.8 kB / 3.926 GB, free: 143.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001812/7.664, allocations: 2.812 kB / 3.926 GB, free: 143.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008881/7.665, allocations: 86.28 kB / 3.926 GB, free: 143.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/7.665, allocations: 45.16 kB / 3.926 GB, free: 143.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.728e-05/7.666, allocations: 37.64 kB / 3.926 GB, free: 143.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0008442/7.666, allocations: 0.6794 MB / 3.927 GB, free: 142.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003218/7.67, allocations: 1.007 MB / 3.928 GB, free: 142.5 MB / 0.948 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.004356/7.674, allocations: 2.909 MB / 3.93 GB, free: 141.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003039/7.677, allocations: 1.537 MB / 3.932 GB, free: 140.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/7.677, allocations: 0 / 3.932 GB, free: 140.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000717/7.678, allocations: 378.7 kB / 3.932 GB, free: 140.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003027/7.681, allocations: 0.5471 MB / 3.933 GB, free: 140.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004688/7.686, allocations: 2.043 MB / 3.935 GB, free: 139.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001213/7.687, allocations: 1.429 MB / 3.936 GB, free: 139 MB / 0.948 GB Notification: Performance of SimCode: time 1.252e-06/7.687, allocations: 0 / 3.936 GB, free: 139 MB / 0.948 GB Notification: Performance of Templates: time 0.06597/7.753, allocations: 43.83 MB / 3.979 GB, free: 99.49 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.makefile (rm -f Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.sim & ./Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)