Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.Concentrating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.Concentrating,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Examples_Concentrating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.Concentrating,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.261/2.261, allocations: 284.8 MB / 292.1 MB, free: 10.75 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.0016/0.0016, allocations: 177.3 kB / 360.3 MB, free: 7.523 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.91/1.91, allocations: 205.2 MB / 0.6187 GB, free: 12.48 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.001218/0.001217, allocations: 93.09 kB / 0.7317 GB, free: 45.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3145/0.3157, allocations: 121.4 MB / 0.8502 GB, free: 3.832 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7491/1.065, allocations: 115.2 MB / 0.9627 GB, free: 78.06 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.703/6.768, allocations: 2.356 GB / 3.319 GB, free: 125 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004142/6.769, allocations: 90.52 kB / 3.319 GB, free: 124.9 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 4.82/11.59, allocations: 0.9301 GB / 4.249 GB, free: 168.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.64e-05/11.59, allocations: 9.688 kB / 4.249 GB, free: 168.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01831/11.61, allocations: 1.238 MB / 4.251 GB, free: 168 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02664/11.63, allocations: 5.406 MB / 4.256 GB, free: 167.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002516/11.63, allocations: 116.9 kB / 4.256 GB, free: 167.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001672/11.64, allocations: 222.7 kB / 4.256 GB, free: 167.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01492/11.65, allocations: 4.379 MB / 4.26 GB, free: 167.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01795/11.67, allocations: 4.571 MB / 4.265 GB, free: 166.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002053/11.67, allocations: 6.062 kB / 4.265 GB, free: 166.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002326/11.67, allocations: 7.875 kB / 4.265 GB, free: 166.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003626/11.67, allocations: 178.1 kB / 4.265 GB, free: 166.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05925/11.73, allocations: 19.21 MB / 4.284 GB, free: 160 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009263/11.74, allocations: 3.01 MB / 4.287 GB, free: 159.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004632/11.74, allocations: 1.621 MB / 4.288 GB, free: 159.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003134/11.75, allocations: 1.868 MB / 4.29 GB, free: 157.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006141/11.75, allocations: 1.776 MB / 4.292 GB, free: 157.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=266): time 7.344e-06/11.75, allocations: 0 / 4.292 GB, free: 157.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=266): time 0.02159/11.78, allocations: 3.672 MB / 4.295 GB, free: 157.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/11.78, allocations: 295.1 kB / 4.296 GB, free: 157.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008563/11.78, allocations: 3.025 MB / 4.299 GB, free: 156.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009489/11.79, allocations: 32.86 kB / 4.299 GB, free: 156.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002747/11.79, allocations: 1.373 MB / 4.3 GB, free: 156.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002357/11.79, allocations: 0.8734 MB / 4.301 GB, free: 155.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000487/11.79, allocations: 0 / 4.301 GB, free: 155.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003071/11.79, allocations: 423.5 kB / 4.301 GB, free: 155.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004053/11.8, allocations: 1.306 MB / 4.303 GB, free: 155.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005283/11.8, allocations: 1.963 MB / 4.305 GB, free: 154.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01408/11.82, allocations: 2.316 MB / 4.307 GB, free: 154.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.919e-05/11.82, allocations: 3.875 kB / 4.307 GB, free: 154.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=367) (initialization): time 0.02347/11.84, allocations: 4.366 MB / 4.311 GB, free: 154.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001657/11.84, allocations: 7.28 MB / 4.318 GB, free: 146.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001024/11.84, allocations: 14.44 kB / 4.318 GB, free: 146.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001237/11.84, allocations: 117.9 kB / 4.318 GB, free: 146.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009528/11.85, allocations: 0.789 MB / 4.319 GB, free: 146.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003543/11.86, allocations: 2.099 MB / 4.321 GB, free: 144.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009243/11.86, allocations: 419.4 kB / 4.322 GB, free: 144.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001103/11.87, allocations: 137.2 kB / 4.322 GB, free: 144.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/11.87, allocations: 6.656 kB / 4.322 GB, free: 144.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02294/11.89, allocations: 4.001 MB / 4.326 GB, free: 144.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-05/11.89, allocations: 19.47 kB / 4.326 GB, free: 144.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/11.89, allocations: 110.2 kB / 4.326 GB, free: 144.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008283/11.9, allocations: 0.7851 MB / 4.326 GB, free: 144.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002825/11.9, allocations: 1.5 MB / 4.328 GB, free: 143.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00797/11.91, allocations: 376 kB / 4.328 GB, free: 143.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001556/11.91, allocations: 146.6 kB / 4.328 GB, free: 143.3 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.002582/11.91, allocations: 184 kB / 4.329 GB, free: 143.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001531/11.91, allocations: 359.3 kB / 4.329 GB, free: 143 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.025/11.94, allocations: 4.509 MB / 4.333 GB, free: 142.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.711e-05/11.94, allocations: 34.03 kB / 4.333 GB, free: 142.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/11.94, allocations: 1.312 kB / 4.333 GB, free: 142.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02158/11.96, allocations: 3.62 MB / 4.337 GB, free: 142.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03638/12, allocations: 8.655 MB / 4.345 GB, free: 141.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-05/12, allocations: 3.969 kB / 4.345 GB, free: 141.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007644/12.01, allocations: 0.6197 MB / 4.346 GB, free: 141.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001088/12.01, allocations: 97.78 kB / 4.346 GB, free: 141.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009471/12.01, allocations: 54.72 kB / 4.346 GB, free: 141.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003111/12.01, allocations: 2.1 MB / 4.348 GB, free: 140 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.253e-06/12.01, allocations: 0.9688 kB / 4.348 GB, free: 140 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02714/12.04, allocations: 5.982 MB / 4.354 GB, free: 139 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03262/12.07, allocations: 8.452 MB / 4.362 GB, free: 135.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004463/12.08, allocations: 1.047 MB / 4.363 GB, free: 134.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001792/12.08, allocations: 8.344 kB / 4.363 GB, free: 134.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007677/12.08, allocations: 282.5 kB / 4.364 GB, free: 134.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008846/12.09, allocations: 146.8 kB / 4.364 GB, free: 134.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006549/12.09, allocations: 136.1 kB / 4.364 GB, free: 134.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.006768/12.09, allocations: 2.329 MB / 4.366 GB, free: 133.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01523/12.11, allocations: 2.663 MB / 4.369 GB, free: 133 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.004478/12.11, allocations: 1.598 MB / 4.37 GB, free: 132.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01716/12.13, allocations: 5.401 MB / 4.376 GB, free: 130.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.192e-05/12.13, allocations: 4.766 kB / 4.376 GB, free: 130.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.005957/12.14, allocations: 1.706 MB / 4.377 GB, free: 130.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01619/12.15, allocations: 1.669 MB / 4.379 GB, free: 129.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03316/12.19, allocations: 7.916 MB / 4.387 GB, free: 127.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009404/12.2, allocations: 3.572 MB / 4.39 GB, free: 126.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.954e-06/12.2, allocations: 0 / 4.39 GB, free: 126.1 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.Concentrating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Examples_Concentrating_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Examples_Concentrating.fmu > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe 2>&1)