Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.054/2.054, allocations: 253.1 MB / 260.4 MB, free: 7.613 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001707/0.001707, allocations: 185.2 kB / 319.6 MB, free: 3.285 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.939/1.939, allocations: 205.4 MB / 0.5704 GB, free: 14.93 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001337/0.001336, allocations: 90.34 kB / 0.6746 GB, free: 4.289 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.887e-06/9.067e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2211, allocations: 106.2 MB / 0.888 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.702/5.923, allocations: 2.234 GB / 3.122 GB, free: 125.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003166/5.923, allocations: 90.58 kB / 3.122 GB, free: 125.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.79/9.714, allocations: 0.7819 GB / 3.904 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004266/9.714, allocations: 35.94 kB / 3.904 GB, free: 14.71 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.01067/9.725, allocations: 1.899 MB / 3.906 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.406e-05/9.725, allocations: 8.031 kB / 3.906 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008228/9.733, allocations: 465.2 kB / 3.907 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01288/9.746, allocations: 1.89 MB / 3.908 GB, free: 10.35 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/9.746, allocations: 39.91 kB / 3.908 GB, free: 10.31 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006201/9.747, allocations: 68 kB / 3.909 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005376/9.752, allocations: 0.8591 MB / 3.909 GB, free: 9.387 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005809/9.758, allocations: 1.042 MB / 3.91 GB, free: 8.297 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-05/9.758, allocations: 7.938 kB / 3.91 GB, free: 8.289 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002762/9.759, allocations: 0 / 3.91 GB, free: 8.289 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.453e-05/9.759, allocations: 34 kB / 3.91 GB, free: 8.254 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02138/9.78, allocations: 5.023 MB / 3.915 GB, free: 2.906 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00398/9.784, allocations: 0.7614 MB / 3.916 GB, free: 2.133 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00213/9.786, allocations: 439.1 kB / 3.916 GB, free: 1.699 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005823/9.787, allocations: 186.8 kB / 3.917 GB, free: 1.48 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001998/9.789, allocations: 451 kB / 3.917 GB, free: 1.023 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=71): time 8.536e-06/9.789, allocations: 0 / 3.917 GB, free: 1.023 MB / 0.8855 GB Notification: Performance of matching and sorting (n=71): time 0.007297/9.796, allocations: 0.9248 MB / 3.918 GB, free: 92 kB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3493/10.15, allocations: 188.6 kB / 3.918 GB, free: 225.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002199/10.15, allocations: 0.9025 MB / 3.919 GB, free: 225.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002991/10.15, allocations: 33.55 kB / 3.919 GB, free: 225.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004369/10.15, allocations: 445.1 kB / 3.92 GB, free: 225.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003667/10.15, allocations: 236.5 kB / 3.92 GB, free: 225.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-05/10.15, allocations: 0 / 3.92 GB, free: 225.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001022/10.15, allocations: 341.3 kB / 3.92 GB, free: 225.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008681/10.15, allocations: 317.3 kB / 3.92 GB, free: 225.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/10.15, allocations: 0.5889 MB / 3.921 GB, free: 224.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001546/10.15, allocations: 437 kB / 3.921 GB, free: 224.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-05/10.15, allocations: 0 / 3.921 GB, free: 224.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003536/10.16, allocations: 1.065 MB / 3.922 GB, free: 224.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004438/10.16, allocations: 2.047 MB / 3.924 GB, free: 222.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.551e-05/10.16, allocations: 7.844 kB / 3.924 GB, free: 222.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006077/10.16, allocations: 96.95 kB / 3.925 GB, free: 222.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002025/10.16, allocations: 203.9 kB / 3.925 GB, free: 222.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/10.16, allocations: 1.294 MB / 3.926 GB, free: 221.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002444/10.16, allocations: 128.4 kB / 3.926 GB, free: 221.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002919/10.16, allocations: 54 kB / 3.926 GB, free: 221.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/10.16, allocations: 3.156 kB / 3.926 GB, free: 221.5 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003317/10.17, allocations: 0.8641 MB / 3.927 GB, free: 221.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.745e-05/10.17, allocations: 13.09 kB / 3.927 GB, free: 221.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007996/10.17, allocations: 101.9 kB / 3.927 GB, free: 221.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001684/10.17, allocations: 196.6 kB / 3.927 GB, free: 221.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006745/10.18, allocations: 2.623 MB / 3.93 GB, free: 219.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002248/10.18, allocations: 111.2 kB / 3.93 GB, free: 219.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002705/10.18, allocations: 53.59 kB / 3.93 GB, free: 219.9 MB / 0.8855 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.0003776/10.18, allocations: 133.8 kB / 3.93 GB, free: 219.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003988/10.18, allocations: 135.2 kB / 3.93 GB, free: 219.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003309/10.18, allocations: 0.8822 MB / 3.931 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/10.18, allocations: 10.91 kB / 3.931 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/10.18, allocations: 0 / 3.931 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002283/10.19, allocations: 0.7762 MB / 3.932 GB, free: 219.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006266/10.19, allocations: 2.042 MB / 3.934 GB, free: 219.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/10.19, allocations: 0 / 3.934 GB, free: 219.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001822/10.19, allocations: 172.2 kB / 3.934 GB, free: 219.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003074/10.19, allocations: 57.16 kB / 3.934 GB, free: 219.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001502/10.19, allocations: 13.44 kB / 3.934 GB, free: 219.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008635/10.2, allocations: 1.218 MB / 3.935 GB, free: 218 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/10.2, allocations: 6.875 kB / 3.935 GB, free: 218 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003724/10.2, allocations: 1.401 MB / 3.937 GB, free: 217.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/10.2, allocations: 288.8 kB / 3.937 GB, free: 217.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003436/10.2, allocations: 14.38 kB / 3.937 GB, free: 217.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001796/10.2, allocations: 77.83 kB / 3.937 GB, free: 217.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001926/10.2, allocations: 57.36 kB / 3.937 GB, free: 217.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/10.2, allocations: 25.14 kB / 3.937 GB, free: 217.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.001524/10.2, allocations: 0.6911 MB / 3.938 GB, free: 217.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004496/10.21, allocations: 1.008 MB / 3.939 GB, free: 217.3 MB / 0.8855 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.005529/10.21, allocations: 2.916 MB / 3.942 GB, free: 216.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004425/10.22, allocations: 1.529 MB / 3.943 GB, free: 216.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.228e-06/10.22, allocations: 3.719 kB / 3.943 GB, free: 216.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001271/10.22, allocations: 374.7 kB / 3.943 GB, free: 216.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005028/10.23, allocations: 0.5541 MB / 3.944 GB, free: 216.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006868/10.23, allocations: 2.046 MB / 3.946 GB, free: 215.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001779/10.23, allocations: 1.44 MB / 3.947 GB, free: 215 MB / 0.8855 GB Notification: Performance of SimCode: time 1.733e-06/10.23, allocations: 0 / 3.947 GB, free: 215 MB / 0.8855 GB Notification: Performance of Templates: time 0.1105/10.34, allocations: 43.9 MB / 3.99 GB, free: 214.3 MB / 0.8855 GB