Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.Concentrating.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.Concentrating,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_Concentrating",fmuType="me",version="2.0",platforms={"static"}) [: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 7.0.1/package.mo): time 2.074/2.074, allocations: 248.6 MB / 255.9 MB, free: 364 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001667/0.001666, allocations: 183.3 kB / 315.1 MB, free: 7.777 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.188/2.188, allocations: 205.1 MB / 0.5658 GB, free: 25.47 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001807/0.001807, allocations: 95.5 kB / 0.67 GB, free: 2.953 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.3576/0.3595, allocations: 112.4 MB / 0.7797 GB, free: 2.477 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6053/0.9649, allocations: 106.2 MB / 0.8835 GB, free: 77.28 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.538/7.503, allocations: 2.473 GB / 3.357 GB, free: 235.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004702/7.503, allocations: 89.39 kB / 3.357 GB, free: 235.3 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 965 * Number of variables: 965 Notification: Performance of Generate backend data structure: time 4.169/11.67, allocations: 0.9088 GB / 4.266 GB, free: 80.14 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/11.67, allocations: 8 kB / 4.266 GB, free: 80.13 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0135/11.69, allocations: 1.239 MB / 4.267 GB, free: 78.88 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02788/11.71, allocations: 5.377 MB / 4.272 GB, free: 73.44 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002749/11.71, allocations: 120 kB / 4.272 GB, free: 73.32 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001952/11.72, allocations: 219.9 kB / 4.272 GB, free: 73.11 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01628/11.73, allocations: 4.387 MB / 4.277 GB, free: 68.72 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0179/11.75, allocations: 4.515 MB / 4.281 GB, free: 64.04 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002267/11.75, allocations: 7.938 kB / 4.281 GB, free: 64.03 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00149/11.75, allocations: 4 kB / 4.281 GB, free: 64.03 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001883/11.75, allocations: 183.2 kB / 4.281 GB, free: 63.85 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05776/11.81, allocations: 19.15 MB / 4.3 GB, free: 44.05 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01149/11.82, allocations: 3.012 MB / 4.303 GB, free: 41.04 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00523/11.83, allocations: 1.622 MB / 4.304 GB, free: 39.39 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00401/11.83, allocations: 1.872 MB / 4.306 GB, free: 37.13 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008414/11.84, allocations: 1.746 MB / 4.308 GB, free: 35.34 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=266): time 1.761e-05/11.84, allocations: 4 kB / 4.308 GB, free: 35.33 MB / 0.8698 GB Notification: Performance of matching and sorting (n=266): time 0.03202/11.87, allocations: 3.674 MB / 4.312 GB, free: 31.61 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001391/11.87, allocations: 291.1 kB / 4.312 GB, free: 31.26 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01279/11.88, allocations: 3.017 MB / 4.315 GB, free: 28.24 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.001208/11.89, allocations: 29.7 kB / 4.315 GB, free: 28.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.003716/11.89, allocations: 1.376 MB / 4.316 GB, free: 26.81 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.004393/11.89, allocations: 0.8699 MB / 4.317 GB, free: 25.93 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005116/11.89, allocations: 4 kB / 4.317 GB, free: 25.92 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003017/11.89, allocations: 419.9 kB / 4.317 GB, free: 25.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005027/11.9, allocations: 1.302 MB / 4.319 GB, free: 24.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008/11.91, allocations: 1.969 MB / 4.321 GB, free: 21.95 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01553/11.92, allocations: 2.323 MB / 4.323 GB, free: 19.61 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-05/11.92, allocations: 4 kB / 4.323 GB, free: 19.61 MB / 0.8698 GB Notification: Performance of matching and sorting (n=367) (initialization): time 0.02363/11.95, allocations: 4.366 MB / 4.327 GB, free: 15.19 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001647/11.95, allocations: 7.277 MB / 4.334 GB, free: 7.449 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001155/11.95, allocations: 19.98 kB / 4.334 GB, free: 7.43 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001441/11.95, allocations: 112.8 kB / 4.334 GB, free: 7.316 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009911/11.96, allocations: 0.7918 MB / 4.335 GB, free: 6.523 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003518/11.96, allocations: 2.101 MB / 4.337 GB, free: 4.273 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008993/11.97, allocations: 413 kB / 4.338 GB, free: 3.867 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001307/11.97, allocations: 143.9 kB / 4.338 GB, free: 3.727 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/11.97, allocations: 7.906 kB / 4.338 GB, free: 3.719 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.4598/12.43, allocations: 3.997 MB / 4.342 GB, free: 211 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.513e-05/12.43, allocations: 15.09 kB / 4.342 GB, free: 211 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00115/12.44, allocations: 112.3 kB / 4.342 GB, free: 210.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009183/12.45, allocations: 0.7828 MB / 4.343 GB, free: 210.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003228/12.45, allocations: 1.506 MB / 4.344 GB, free: 209.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008711/12.46, allocations: 375.5 kB / 4.344 GB, free: 209.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00127/12.46, allocations: 140.6 kB / 4.345 GB, free: 209.7 MB / 0.8698 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 (365): * Single equations (assignments): 363 * 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.001797/12.46, allocations: 177.9 kB / 4.345 GB, free: 209.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001723/12.46, allocations: 350.8 kB / 4.345 GB, free: 209.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02971/12.49, allocations: 4.52 MB / 4.349 GB, free: 209.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.331e-05/12.49, allocations: 27.69 kB / 4.349 GB, free: 209.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.709e-05/12.49, allocations: 0 / 4.349 GB, free: 209.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02249/12.51, allocations: 3.615 MB / 4.353 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04356/12.56, allocations: 8.619 MB / 4.361 GB, free: 208.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.692e-05/12.56, allocations: 0 / 4.361 GB, free: 208.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007602/12.57, allocations: 0.6287 MB / 4.362 GB, free: 208.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001076/12.57, allocations: 94.94 kB / 4.362 GB, free: 208.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008154/12.57, allocations: 52.39 kB / 4.362 GB, free: 208.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003083/12.57, allocations: 2.09 MB / 4.364 GB, free: 206.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/12.57, allocations: 3.688 kB / 4.364 GB, free: 206.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02504/12.6, allocations: 5.984 MB / 4.37 GB, free: 206.4 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03326/12.63, allocations: 8.438 MB / 4.378 GB, free: 205.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006504/12.64, allocations: 1.032 MB / 4.379 GB, free: 205.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003564/12.64, allocations: 20.28 kB / 4.379 GB, free: 205.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01131/12.65, allocations: 273.2 kB / 4.38 GB, free: 205.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001395/12.65, allocations: 153.6 kB / 4.38 GB, free: 205.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00115/12.65, allocations: 125.9 kB / 4.38 GB, free: 205.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.009654/12.66, allocations: 2.329 MB / 4.382 GB, free: 204.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.02197/12.69, allocations: 2.665 MB / 4.385 GB, free: 204.7 MB / 0.8698 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 (285): * Single equations (assignments): 275 * 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.006606/12.69, allocations: 1.596 MB / 4.386 GB, free: 204.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.02432/12.72, allocations: 5.399 MB / 4.392 GB, free: 204.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.037e-05/12.72, allocations: 4.469 kB / 4.392 GB, free: 204.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.007936/12.72, allocations: 1.702 MB / 4.393 GB, free: 204.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02471/12.75, allocations: 1.664 MB / 4.395 GB, free: 204.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03892/12.79, allocations: 7.915 MB / 4.403 GB, free: 202.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009103/12.8, allocations: 3.572 MB / 4.406 GB, free: 202 MB / 0.8698 GB Notification: Performance of SimCode: time 1.603e-06/12.8, allocations: 4.75 kB / 4.406 GB, free: 202 MB / 0.8698 GB