Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.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: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.Concentrating,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_Concentrating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.Concentrating,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.392/1.392, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.001022/0.001022, allocations: 179.4 kB / 361.1 MB, free: 7.109 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.15/1.15, allocations: 205.1 MB / 0.6195 GB, free: 10.38 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.000852/0.0008521, allocations: 88.16 kB / 0.7326 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2094/0.2103, allocations: 121.4 MB / 0.8511 GB, free: 2.91 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5419/0.7523, allocations: 115.3 MB / 0.9637 GB, free: 78.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.544/4.296, allocations: 2.357 GB / 3.32 GB, free: 169.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002688/4.296, allocations: 88.61 kB / 3.32 GB, free: 169.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: 965 * Number of variables: 965 Notification: Performance of Generate backend data structure: time 2.702/6.999, allocations: 0.9301 GB / 4.25 GB, free: 152.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/6.999, allocations: 8.438 kB / 4.25 GB, free: 152.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006477/7.005, allocations: 1.235 MB / 4.252 GB, free: 152.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01086/7.016, allocations: 5.407 MB / 4.257 GB, free: 152 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.375e-05/7.016, allocations: 118.1 kB / 4.257 GB, free: 152 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005054/7.017, allocations: 213.8 kB / 4.257 GB, free: 152 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006584/7.023, allocations: 4.387 MB / 4.262 GB, free: 152 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006194/7.029, allocations: 4.563 MB / 4.266 GB, free: 151.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.898e-05/7.029, allocations: 14.94 kB / 4.266 GB, free: 151.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003652/7.03, allocations: 10.88 kB / 4.266 GB, free: 151.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001097/7.03, allocations: 177.7 kB / 4.266 GB, free: 151.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02373/7.054, allocations: 19.2 MB / 4.285 GB, free: 144.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003814/7.058, allocations: 3.006 MB / 4.288 GB, free: 144.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001795/7.059, allocations: 1.628 MB / 4.289 GB, free: 144.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001608/7.061, allocations: 1.872 MB / 4.291 GB, free: 142.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002239/7.063, allocations: 1.771 MB / 4.293 GB, free: 142.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=266): time 3.657e-06/7.063, allocations: 2.734 kB / 4.293 GB, free: 142.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=266): time 0.009425/7.073, allocations: 3.677 MB / 4.297 GB, free: 142.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/7.073, allocations: 289.1 kB / 4.297 GB, free: 141.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003594/7.076, allocations: 3.021 MB / 4.3 GB, free: 141.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002695/7.077, allocations: 32.7 kB / 4.3 GB, free: 141.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001174/7.078, allocations: 1.378 MB / 4.301 GB, free: 140.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009684/7.079, allocations: 0.8709 MB / 4.302 GB, free: 140.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001716/7.079, allocations: 0 / 4.302 GB, free: 140.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001212/7.079, allocations: 424.2 kB / 4.302 GB, free: 140 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001627/7.081, allocations: 1.305 MB / 4.304 GB, free: 140 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001889/7.083, allocations: 1.969 MB / 4.306 GB, free: 139.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006344/7.089, allocations: 2.314 MB / 4.308 GB, free: 139.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/7.089, allocations: 3.844 kB / 4.308 GB, free: 139.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=367) (initialization): time 0.009985/7.099, allocations: 4.363 MB / 4.312 GB, free: 138.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001038/7.1, allocations: 7.281 MB / 4.319 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.268e-05/7.1, allocations: 15.69 kB / 4.319 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006063/7.101, allocations: 110.4 kB / 4.319 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003638/7.104, allocations: 0.7932 MB / 4.32 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00173/7.106, allocations: 2.102 MB / 4.322 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003846/7.11, allocations: 413.3 kB / 4.323 GB, free: 129.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000262/7.11, allocations: 144.6 kB / 4.323 GB, free: 129.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.708e-06/7.11, allocations: 3.938 kB / 4.323 GB, free: 129.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0102/7.12, allocations: 4 MB / 4.327 GB, free: 129.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.274e-05/7.121, allocations: 16.81 kB / 4.327 GB, free: 129.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000563/7.121, allocations: 120.9 kB / 4.327 GB, free: 129.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003606/7.125, allocations: 0.7845 MB / 4.328 GB, free: 129.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001503/7.126, allocations: 1.496 MB / 4.329 GB, free: 128.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003939/7.13, allocations: 375.9 kB / 4.329 GB, free: 128 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002851/7.13, allocations: 145.1 kB / 4.33 GB, free: 128 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 (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.0007125/7.131, allocations: 174.2 kB / 4.33 GB, free: 127.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008617/7.132, allocations: 357 kB / 4.33 GB, free: 127.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01189/7.144, allocations: 4.518 MB / 4.334 GB, free: 127.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.883e-05/7.144, allocations: 36.67 kB / 4.335 GB, free: 127.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/7.144, allocations: 0 / 4.335 GB, free: 127.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00924/7.153, allocations: 3.612 MB / 4.338 GB, free: 127.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01932/7.173, allocations: 8.653 MB / 4.346 GB, free: 126.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.938e-06/7.173, allocations: 3.938 kB / 4.346 GB, free: 126.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003433/7.176, allocations: 0.6275 MB / 4.347 GB, free: 126.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005465/7.177, allocations: 88.09 kB / 4.347 GB, free: 126.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004096/7.177, allocations: 61.11 kB / 4.347 GB, free: 126.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00175/7.179, allocations: 2.082 MB / 4.349 GB, free: 124.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/7.179, allocations: 3.312 kB / 4.349 GB, free: 124.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01644/7.195, allocations: 5.988 MB / 4.355 GB, free: 124.2 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01649/7.212, allocations: 8.445 MB / 4.363 GB, free: 123.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002874/7.215, allocations: 1.051 MB / 4.364 GB, free: 122.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001274/7.216, allocations: 17.84 kB / 4.364 GB, free: 122.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004166/7.22, allocations: 279.2 kB / 4.365 GB, free: 122.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003607/7.221, allocations: 149.4 kB / 4.365 GB, free: 122.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004275/7.221, allocations: 128.9 kB / 4.365 GB, free: 122.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.004078/7.225, allocations: 2.332 MB / 4.367 GB, free: 122.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.009644/7.235, allocations: 2.656 MB / 4.37 GB, free: 122.3 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 (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.003111/7.238, allocations: 1.611 MB / 4.371 GB, free: 122 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008297/7.246, allocations: 5.401 MB / 4.377 GB, free: 121.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/7.246, allocations: 1.109 kB / 4.377 GB, free: 121.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002469/7.249, allocations: 1.707 MB / 4.378 GB, free: 121.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008035/7.257, allocations: 1.665 MB / 4.38 GB, free: 121.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0185/7.275, allocations: 7.918 MB / 4.388 GB, free: 120.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004253/7.28, allocations: 3.581 MB / 4.391 GB, free: 119.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.082e-06/7.28, allocations: 0 / 4.391 GB, free: 119.3 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_Concentrating_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_Concentrating.fmu > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe 2>&1)