Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.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.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular") translateModel(Buildings.Fluid.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular") [: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.491/1.491, allocations: 285.5 MB / 292.8 MB, free: 10.49 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.001358/0.001358, allocations: 179.2 kB / 361.1 MB, free: 7.121 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.454/1.454, allocations: 205.1 MB / 0.6195 GB, free: 10.33 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.000845/0.0008451, allocations: 94.77 kB / 0.7326 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.706e-06/8.726e-06, allocations: 0 / 0.8511 GB, free: 3.027 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6959/0.6959, allocations: 115.3 MB / 0.9637 GB, free: 78.1 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.709/5.405, allocations: 2.357 GB / 3.321 GB, free: 149.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000226/5.405, allocations: 91.94 kB / 3.321 GB, free: 149.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.823/9.228, allocations: 0.926 GB / 4.247 GB, free: 166.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0008243/9.229, allocations: 130.8 kB / 4.247 GB, free: 166.3 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: 967 * Number of variables: 967 Notification: Performance of Generate backend data structure: time 0.01502/9.244, allocations: 4.296 MB / 4.251 GB, free: 164.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/9.244, allocations: 14.23 kB / 4.251 GB, free: 164.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009377/9.254, allocations: 1.365 MB / 4.252 GB, free: 164.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01485/9.269, allocations: 5.46 MB / 4.258 GB, free: 163.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001978/9.269, allocations: 120.2 kB / 4.258 GB, free: 163.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001376/9.27, allocations: 218.8 kB / 4.258 GB, free: 163.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008869/9.279, allocations: 4.433 MB / 4.262 GB, free: 163.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008248/9.288, allocations: 4.581 MB / 4.267 GB, free: 163.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000102/9.288, allocations: 11.84 kB / 4.267 GB, free: 163.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004381/9.288, allocations: 7.531 kB / 4.267 GB, free: 163.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001465/9.288, allocations: 180.5 kB / 4.267 GB, free: 163.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03256/9.321, allocations: 19.27 MB / 4.286 GB, free: 156.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004514/9.325, allocations: 2.994 MB / 4.289 GB, free: 156.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002086/9.327, allocations: 1.641 MB / 4.29 GB, free: 156.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001858/9.329, allocations: 1.873 MB / 4.292 GB, free: 154.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002615/9.332, allocations: 1.788 MB / 4.294 GB, free: 154.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=267): time 5.1e-06/9.332, allocations: 0 / 4.294 GB, free: 154.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=267): time 0.01124/9.343, allocations: 3.708 MB / 4.298 GB, free: 154.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.8e-05/9.343, allocations: 284.7 kB / 4.298 GB, free: 153.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005247/9.349, allocations: 3.033 MB / 4.301 GB, free: 153.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007183/9.349, allocations: 32.11 kB / 4.301 GB, free: 153.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001688/9.351, allocations: 1.38 MB / 4.302 GB, free: 152.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001544/9.353, allocations: 0.8817 MB / 4.303 GB, free: 152.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001756/9.353, allocations: 0 / 4.303 GB, free: 152.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000164/9.353, allocations: 416.8 kB / 4.303 GB, free: 151.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001987/9.355, allocations: 1.327 MB / 4.305 GB, free: 151.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002221/9.357, allocations: 1.991 MB / 4.307 GB, free: 151.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01316/9.37, allocations: 2.882 MB / 4.309 GB, free: 151.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.098e-05/9.37, allocations: 3.625 kB / 4.309 GB, free: 151.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=372) (initialization): time 0.01876/9.389, allocations: 4.958 MB / 4.314 GB, free: 150.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001744/9.391, allocations: 7.281 MB / 4.321 GB, free: 143.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.492e-05/9.391, allocations: 21.34 kB / 4.321 GB, free: 143.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007354/9.392, allocations: 114.2 kB / 4.322 GB, free: 143.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004393/9.396, allocations: 0.8155 MB / 4.322 GB, free: 143.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002248/9.399, allocations: 2.102 MB / 4.324 GB, free: 141.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005614/9.404, allocations: 434.9 kB / 4.325 GB, free: 141.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007422/9.405, allocations: 144.6 kB / 4.325 GB, free: 141.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/9.405, allocations: 9.5 kB / 4.325 GB, free: 141.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01889/9.424, allocations: 4.582 MB / 4.329 GB, free: 141.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.249e-05/9.424, allocations: 18 kB / 4.329 GB, free: 141.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006349/9.425, allocations: 116.5 kB / 4.33 GB, free: 141.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004463/9.429, allocations: 0.8062 MB / 4.33 GB, free: 141.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001812/9.431, allocations: 1.5 MB / 4.332 GB, free: 140 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005508/9.436, allocations: 401.7 kB / 4.332 GB, free: 139.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008359/9.437, allocations: 144 kB / 4.332 GB, free: 139.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (370): * Single equations (assignments): 368 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.001546/9.439, allocations: 182 kB / 4.332 GB, free: 139.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00193/9.441, allocations: 357.2 kB / 4.333 GB, free: 139.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01492/9.456, allocations: 4.546 MB / 4.337 GB, free: 139.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.317e-05/9.456, allocations: 29.41 kB / 4.337 GB, free: 139.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/9.456, allocations: 4.25 kB / 4.337 GB, free: 139.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009937/9.466, allocations: 3.641 MB / 4.341 GB, free: 139 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02437/9.49, allocations: 8.688 MB / 4.349 GB, free: 138.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/9.49, allocations: 3.031 kB / 4.349 GB, free: 138.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003731/9.494, allocations: 0.6418 MB / 4.35 GB, free: 138.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000574/9.495, allocations: 91.62 kB / 4.35 GB, free: 138.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004198/9.495, allocations: 58.42 kB / 4.35 GB, free: 138.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001895/9.497, allocations: 2.097 MB / 4.352 GB, free: 136.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/9.497, allocations: 0 / 4.352 GB, free: 136.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01454/9.512, allocations: 6.037 MB / 4.358 GB, free: 136 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004208/9.516, allocations: 1.044 MB / 4.359 GB, free: 135.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002092/9.518, allocations: 17.53 kB / 4.359 GB, free: 135.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005754/9.524, allocations: 293.9 kB / 4.359 GB, free: 135.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004078/9.524, allocations: 152.7 kB / 4.36 GB, free: 135.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005116/9.525, allocations: 130.7 kB / 4.36 GB, free: 135.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.005485/9.53, allocations: 2.342 MB / 4.362 GB, free: 135.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01153/9.542, allocations: 2.32 MB / 4.364 GB, free: 135.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 11 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,TOut.T,TIn.T) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (286): * Single equations (assignments): 276 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004119/9.546, allocations: 1.606 MB / 4.366 GB, free: 134.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01323/9.559, allocations: 5.485 MB / 4.371 GB, free: 134.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.686e-05/9.559, allocations: 4.578 kB / 4.371 GB, free: 134.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004628/9.564, allocations: 1.726 MB / 4.373 GB, free: 133.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01139/9.575, allocations: 1.673 MB / 4.374 GB, free: 133.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02041/9.596, allocations: 7.858 MB / 4.382 GB, free: 130.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004545/9.6, allocations: 3.56 MB / 4.386 GB, free: 129.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.302e-06/9.6, allocations: 0 / 4.386 GB, free: 129.6 MB / 0.948 GB Notification: Performance of Templates: time 0.1707/9.771, allocations: 102 MB / 4.485 GB, free: 75.68 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe 2>&1)