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: translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y") translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.474/1.474, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.001117/0.001117, allocations: 185.2 kB / 361.1 MB, free: 7.094 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.259/1.259, allocations: 205.2 MB / 0.6195 GB, free: 10.3 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.0009038/0.0009038, allocations: 87.86 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.987e-06/9.007e-06, allocations: 4 kB / 0.8511 GB, free: 2.965 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.626/0.626, allocations: 115.3 MB / 0.9637 GB, free: 77.99 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.78/4.406, allocations: 2.115 GB / 3.079 GB, free: 17.53 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002742/4.406, allocations: 91.95 kB / 3.079 GB, free: 17.44 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.017/7.424, allocations: 0.8043 GB / 3.883 GB, free: 167.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001661/7.424, allocations: 41.47 kB / 3.883 GB, free: 167.5 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.004283/7.428, allocations: 1.885 MB / 3.885 GB, free: 166.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/7.428, allocations: 14.47 kB / 3.885 GB, free: 166.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002833/7.431, allocations: 458.1 kB / 3.886 GB, free: 166.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004242/7.435, allocations: 1.901 MB / 3.887 GB, free: 166.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.484e-05/7.435, allocations: 30.22 kB / 3.887 GB, free: 166.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/7.435, allocations: 63.59 kB / 3.887 GB, free: 166.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001487/7.437, allocations: 0.8655 MB / 3.888 GB, free: 166.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/7.438, allocations: 1.037 MB / 3.889 GB, free: 166.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.763e-05/7.438, allocations: 2.688 kB / 3.889 GB, free: 166.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-05/7.439, allocations: 3.438 kB / 3.889 GB, free: 166.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.391e-05/7.439, allocations: 37.25 kB / 3.889 GB, free: 166.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006326/7.445, allocations: 4.999 MB / 3.894 GB, free: 164 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/7.446, allocations: 0.7601 MB / 3.895 GB, free: 163.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006274/7.447, allocations: 434.1 kB / 3.895 GB, free: 163.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002423/7.447, allocations: 193 kB / 3.896 GB, free: 163.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005647/7.447, allocations: 451.6 kB / 3.896 GB, free: 163.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=71): time 3.196e-06/7.447, allocations: 0 / 3.896 GB, free: 163.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=71): time 0.002546/7.45, allocations: 0.9124 MB / 3.897 GB, free: 163.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.751e-05/7.45, allocations: 190.8 kB / 3.897 GB, free: 163.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/7.451, allocations: 0.8971 MB / 3.898 GB, free: 163.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.492e-05/7.451, allocations: 31.86 kB / 3.898 GB, free: 163.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003795/7.452, allocations: 444.8 kB / 3.898 GB, free: 163 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00027/7.452, allocations: 237.1 kB / 3.899 GB, free: 162.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.913e-05/7.452, allocations: 0 / 3.899 GB, free: 162.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.501e-05/7.452, allocations: 346.5 kB / 3.899 GB, free: 162.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004553/7.453, allocations: 317.5 kB / 3.899 GB, free: 162.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006723/7.453, allocations: 0.6038 MB / 3.9 GB, free: 162.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008671/7.454, allocations: 430.5 kB / 3.9 GB, free: 162.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/7.454, allocations: 6.75 kB / 3.9 GB, free: 162.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001841/7.456, allocations: 1.066 MB / 3.901 GB, free: 162.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004388/7.457, allocations: 2.038 MB / 3.903 GB, free: 160 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.41e-05/7.457, allocations: 11.45 kB / 3.903 GB, free: 160 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000372/7.457, allocations: 97.31 kB / 3.903 GB, free: 160 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009892/7.458, allocations: 215.3 kB / 3.904 GB, free: 160 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008559/7.459, allocations: 1.291 MB / 3.905 GB, free: 158.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/7.46, allocations: 122.8 kB / 3.905 GB, free: 158.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/7.46, allocations: 54.34 kB / 3.905 GB, free: 158.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.704e-06/7.46, allocations: 3.906 kB / 3.905 GB, free: 158.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001717/7.462, allocations: 0.8729 MB / 3.906 GB, free: 158.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/7.462, allocations: 9.844 kB / 3.906 GB, free: 158.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004732/7.463, allocations: 101.4 kB / 3.906 GB, free: 158.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007743/7.463, allocations: 192.7 kB / 3.906 GB, free: 158.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003984/7.467, allocations: 2.629 MB / 3.909 GB, free: 157.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/7.469, allocations: 111.1 kB / 3.909 GB, free: 157.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.818e-05/7.469, allocations: 48.88 kB / 3.909 GB, free: 157.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.0002776/7.469, allocations: 138.6 kB / 3.909 GB, free: 157.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001805/7.469, allocations: 134.3 kB / 3.909 GB, free: 157 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001855/7.471, allocations: 0.89 MB / 3.91 GB, free: 156.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/7.471, allocations: 7.406 kB / 3.91 GB, free: 156.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/7.471, allocations: 0 / 3.91 GB, free: 156.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001176/7.472, allocations: 0.779 MB / 3.911 GB, free: 156.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003482/7.476, allocations: 2.039 MB / 3.913 GB, free: 156.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/7.476, allocations: 3.156 kB / 3.913 GB, free: 156.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008741/7.477, allocations: 171.8 kB / 3.913 GB, free: 156.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001666/7.477, allocations: 61.86 kB / 3.913 GB, free: 156.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.572e-05/7.477, allocations: 10.77 kB / 3.913 GB, free: 156.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005267/7.478, allocations: 1.211 MB / 3.914 GB, free: 155.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/7.478, allocations: 3.344 kB / 3.914 GB, free: 155.2 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001858/7.479, allocations: 1.405 MB / 3.916 GB, free: 154.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005345/7.48, allocations: 293.2 kB / 3.916 GB, free: 154.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001799/7.48, allocations: 7.75 kB / 3.916 GB, free: 154.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008503/7.481, allocations: 77.48 kB / 3.916 GB, free: 154.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/7.481, allocations: 48.94 kB / 3.916 GB, free: 154.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.39e-05/7.481, allocations: 32.94 kB / 3.916 GB, free: 154.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0008574/7.482, allocations: 0.6785 MB / 3.917 GB, free: 154.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002971/7.485, allocations: 1.006 MB / 3.918 GB, free: 154.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.003712/7.489, allocations: 2.919 MB / 3.921 GB, free: 153.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002645/7.491, allocations: 1.54 MB / 3.922 GB, free: 153.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/7.491, allocations: 0 / 3.922 GB, free: 153.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006104/7.492, allocations: 376.8 kB / 3.922 GB, free: 153.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002505/7.495, allocations: 0.5595 MB / 3.923 GB, free: 153.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003768/7.498, allocations: 2.041 MB / 3.925 GB, free: 152.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009844/7.499, allocations: 1.427 MB / 3.926 GB, free: 152.1 MB / 0.948 GB Notification: Performance of SimCode: time 6.31e-07/7.499, allocations: 0 / 3.926 GB, free: 152.1 MB / 0.948 GB Notification: Performance of Templates: time 0.07232/7.572, allocations: 43.83 MB / 3.969 GB, free: 150.6 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)