Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y") translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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 8.0.0/package.mo): time 2.331/2.331, allocations: 284.9 MB / 292.2 MB, free: 14.7 MB / 238.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001581/0.001581, allocations: 189.2 kB / 360.4 MB, free: 12.17 MB / 302.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.749/1.749, allocations: 205.1 MB / 0.6188 GB, free: 4.625 MB / 462.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001247/0.001246, allocations: 92.98 kB / 0.7318 GB, free: 53.74 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 1.57e-05/1.587e-05, allocations: 4 kB / 0.8502 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.262, allocations: 115.3 MB / 0.9628 GB, free: 7.184 MB / 0.7012 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.016/5.278, allocations: 2.115 GB / 3.078 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/5.279, allocations: 90.2 kB / 3.078 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.997/9.276, allocations: 0.8043 GB / 3.882 GB, free: 157.2 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0002406/9.276, allocations: 41.75 kB / 3.882 GB, free: 157.2 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 0.006625/9.283, allocations: 1.891 MB / 3.884 GB, free: 156.3 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/9.283, allocations: 8.406 kB / 3.884 GB, free: 156.3 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005041/9.288, allocations: 467.6 kB / 3.884 GB, free: 156.2 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007712/9.296, allocations: 1.885 MB / 3.886 GB, free: 155.9 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.621e-05/9.296, allocations: 29.19 kB / 3.886 GB, free: 155.9 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000432/9.296, allocations: 70 kB / 3.886 GB, free: 155.9 MB / 0.9356 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002751/9.299, allocations: 0.8645 MB / 3.887 GB, free: 155.9 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002715/9.302, allocations: 1.039 MB / 3.888 GB, free: 155.7 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.298e-05/9.302, allocations: 1.688 kB / 3.888 GB, free: 155.7 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001544/9.302, allocations: 5.922 kB / 3.888 GB, free: 155.7 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.665e-05/9.302, allocations: 32.56 kB / 3.888 GB, free: 155.7 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01144/9.313, allocations: 5.013 MB / 3.893 GB, free: 153.5 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002009/9.316, allocations: 0.7588 MB / 3.894 GB, free: 153.5 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001086/9.317, allocations: 437.8 kB / 3.894 GB, free: 153.4 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003484/9.317, allocations: 194.3 kB / 3.895 GB, free: 153.3 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001034/9.318, allocations: 444 kB / 3.895 GB, free: 153.2 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=71): time 3.997e-06/9.318, allocations: 0 / 3.895 GB, free: 153.2 MB / 0.9356 GB Notification: Performance of matching and sorting (n=71): time 0.004218/9.322, allocations: 0.9199 MB / 3.896 GB, free: 153.1 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.658e-05/9.322, allocations: 194.5 kB / 3.896 GB, free: 152.9 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002072/9.325, allocations: 0.8918 MB / 3.897 GB, free: 152.7 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002887/9.325, allocations: 33.23 kB / 3.897 GB, free: 152.7 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004887/9.325, allocations: 444.8 kB / 3.897 GB, free: 152.5 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003593/9.326, allocations: 236 kB / 3.898 GB, free: 152.4 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.578e-05/9.326, allocations: 0 / 3.898 GB, free: 152.4 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.832e-05/9.326, allocations: 345.3 kB / 3.898 GB, free: 152.1 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000849/9.327, allocations: 319.6 kB / 3.898 GB, free: 152.1 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/9.328, allocations: 0.5939 MB / 3.899 GB, free: 151.7 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0015/9.329, allocations: 431.3 kB / 3.899 GB, free: 151.7 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/9.329, allocations: 3.656 kB / 3.899 GB, free: 151.7 MB / 0.9356 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003269/9.333, allocations: 1.065 MB / 3.9 GB, free: 151.6 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004711/9.333, allocations: 2.049 MB / 3.902 GB, free: 149.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.109e-05/9.333, allocations: 3.812 kB / 3.902 GB, free: 149.5 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005765/9.334, allocations: 102 kB / 3.902 GB, free: 149.5 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00196/9.336, allocations: 201.9 kB / 3.903 GB, free: 149.5 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001215/9.337, allocations: 1.301 MB / 3.904 GB, free: 148.4 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002613/9.34, allocations: 126.2 kB / 3.904 GB, free: 148.4 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002476/9.34, allocations: 51.78 kB / 3.904 GB, free: 148.4 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/9.34, allocations: 3.938 kB / 3.904 GB, free: 148.4 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003301/9.343, allocations: 0.8716 MB / 3.905 GB, free: 148.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.773e-05/9.343, allocations: 3.812 kB / 3.905 GB, free: 148.3 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007855/9.344, allocations: 111.2 kB / 3.905 GB, free: 148.3 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001641/9.346, allocations: 196.2 kB / 3.905 GB, free: 148.3 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006595/9.353, allocations: 2.619 MB / 3.908 GB, free: 146.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002386/9.355, allocations: 119.1 kB / 3.908 GB, free: 146.7 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001975/9.355, allocations: 47.72 kB / 3.908 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.0004089/9.356, allocations: 133.8 kB / 3.908 GB, free: 146.6 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003371/9.356, allocations: 136.4 kB / 3.908 GB, free: 146.5 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003288/9.359, allocations: 0.8811 MB / 3.909 GB, free: 146.4 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/9.359, allocations: 9.906 kB / 3.909 GB, free: 146.4 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/9.359, allocations: 0 / 3.909 GB, free: 146.4 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002118/9.361, allocations: 0.7789 MB / 3.91 GB, free: 146.2 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005822/9.367, allocations: 2.036 MB / 3.912 GB, free: 145.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/9.367, allocations: 5.094 kB / 3.912 GB, free: 145.9 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001702/9.369, allocations: 171.8 kB / 3.912 GB, free: 145.9 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003072/9.369, allocations: 58.97 kB / 3.912 GB, free: 145.9 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.699e-05/9.37, allocations: 12.3 kB / 3.912 GB, free: 145.9 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008448/9.37, allocations: 1.213 MB / 3.913 GB, free: 144.8 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/9.37, allocations: 6.812 kB / 3.913 GB, free: 144.8 MB / 0.9356 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003706/9.374, allocations: 1.407 MB / 3.915 GB, free: 144.4 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001035/9.375, allocations: 289.9 kB / 3.915 GB, free: 144.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003127/9.376, allocations: 9.656 kB / 3.915 GB, free: 144.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001672/9.377, allocations: 81.09 kB / 3.915 GB, free: 144.2 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001694/9.377, allocations: 47.34 kB / 3.915 GB, free: 144.2 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.956e-05/9.378, allocations: 27.66 kB / 3.915 GB, free: 144.2 MB / 0.9356 GB Notification: Performance of sort global known variables: time 0.001471/9.379, allocations: 0.6837 MB / 3.916 GB, free: 144.1 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.004581/9.384, allocations: 1.007 MB / 3.917 GB, free: 144 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.0058/9.389, allocations: 2.926 MB / 3.92 GB, free: 143.1 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004495/9.394, allocations: 1.529 MB / 3.921 GB, free: 142.8 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.844e-06/9.394, allocations: 0 / 3.921 GB, free: 142.8 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001261/9.395, allocations: 386 kB / 3.921 GB, free: 142.8 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005158/9.401, allocations: 0.5545 MB / 3.922 GB, free: 142.8 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008042/9.409, allocations: 2.047 MB / 3.924 GB, free: 142.3 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002231/9.411, allocations: 1.424 MB / 3.925 GB, free: 141.6 MB / 0.9356 GB Notification: Performance of SimCode: time 1.754e-06/9.411, allocations: 0.5625 kB / 3.925 GB, free: 141.6 MB / 0.9356 GB Notification: Performance of Templates: time 0.1244/9.535, allocations: 43.82 MB / 3.968 GB, free: 139.7 MB / 0.9356 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.sim & ./Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)