Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.Concentrating,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_Concentrating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.Concentrating,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.272/1.272, allocations: 249.4 MB / 256.7 MB, free: 6.996 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009516/0.0009516, allocations: 195.3 kB / 316 MB, free: 3.484 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.216/1.216, allocations: 205.2 MB / 0.5667 GB, free: 15.59 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.0008541/0.0008542, allocations: 94.3 kB / 0.671 GB, free: 4.719 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3576/0.3584, allocations: 112.5 MB / 0.7808 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.5239, allocations: 106.3 MB / 0.8847 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.001/4.525, allocations: 2.474 GB / 3.359 GB, free: 291.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/4.526, allocations: 96.69 kB / 3.359 GB, free: 291.6 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 2.193/6.719, allocations: 0.9088 GB / 4.268 GB, free: 39.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 2.9e-05/6.719, allocations: 8 kB / 4.268 GB, free: 39.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00748/6.726, allocations: 1.239 MB / 4.269 GB, free: 37.95 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01086/6.737, allocations: 5.374 MB / 4.274 GB, free: 32.58 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001306/6.737, allocations: 124 kB / 4.274 GB, free: 32.46 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008198/6.738, allocations: 212 kB / 4.275 GB, free: 32.25 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006318/6.744, allocations: 4.391 MB / 4.279 GB, free: 27.86 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005984/6.75, allocations: 4.511 MB / 4.283 GB, free: 23.18 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.998e-05/6.75, allocations: 15.78 kB / 4.283 GB, free: 23.16 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003704/6.751, allocations: 4 kB / 4.283 GB, free: 23.16 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001044/6.751, allocations: 183.2 kB / 4.284 GB, free: 22.98 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02277/6.774, allocations: 19.16 MB / 4.302 GB, free: 3.34 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003722/6.777, allocations: 3.012 MB / 4.305 GB, free: 348 kB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2578/7.035, allocations: 1.617 MB / 4.307 GB, free: 213.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00171/7.037, allocations: 1.876 MB / 4.309 GB, free: 211.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002351/7.039, allocations: 1.75 MB / 4.31 GB, free: 211.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=266): time 4.108e-06/7.039, allocations: 3.312 kB / 4.31 GB, free: 211.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=266): time 0.009366/7.049, allocations: 3.666 MB / 4.314 GB, free: 211 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/7.049, allocations: 289.4 kB / 4.314 GB, free: 210.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003609/7.052, allocations: 3.017 MB / 4.317 GB, free: 210.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002515/7.053, allocations: 29.64 kB / 4.317 GB, free: 210.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001242/7.054, allocations: 1.385 MB / 4.319 GB, free: 210 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009493/7.055, allocations: 0.8675 MB / 4.319 GB, free: 209.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/7.055, allocations: 0 / 4.319 GB, free: 209.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001078/7.055, allocations: 419.1 kB / 4.32 GB, free: 209.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001544/7.057, allocations: 1.301 MB / 4.321 GB, free: 209.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001797/7.059, allocations: 1.977 MB / 4.323 GB, free: 208.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006367/7.065, allocations: 2.307 MB / 4.325 GB, free: 208.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.705e-05/7.065, allocations: 7.406 kB / 4.325 GB, free: 208.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=367) (initialization): time 0.01028/7.075, allocations: 4.364 MB / 4.33 GB, free: 208.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001137/7.076, allocations: 7.278 MB / 4.337 GB, free: 200.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.173e-05/7.076, allocations: 19.44 kB / 4.337 GB, free: 200.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006217/7.077, allocations: 110.7 kB / 4.337 GB, free: 200.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003762/7.081, allocations: 0.7979 MB / 4.338 GB, free: 200.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001834/7.083, allocations: 2.111 MB / 4.34 GB, free: 198.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004589/7.087, allocations: 414.5 kB / 4.34 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004677/7.088, allocations: 143.8 kB / 4.34 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.753e-06/7.088, allocations: 3.188 kB / 4.34 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009812/7.098, allocations: 3.99 MB / 4.344 GB, free: 198.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.277e-05/7.098, allocations: 16.62 kB / 4.344 GB, free: 198.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006023/7.098, allocations: 118.1 kB / 4.344 GB, free: 198.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003599/7.102, allocations: 0.7796 MB / 4.345 GB, free: 198.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001486/7.103, allocations: 1.495 MB / 4.346 GB, free: 197.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004215/7.108, allocations: 374.9 kB / 4.347 GB, free: 197.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004251/7.108, allocations: 142.7 kB / 4.347 GB, free: 197.4 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.0007513/7.109, allocations: 184.9 kB / 4.347 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007366/7.11, allocations: 348.9 kB / 4.347 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01198/7.122, allocations: 4.513 MB / 4.352 GB, free: 197 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.999e-05/7.122, allocations: 33.78 kB / 4.352 GB, free: 197 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/7.122, allocations: 3.75 kB / 4.352 GB, free: 197 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008367/7.13, allocations: 3.624 MB / 4.355 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01582/7.146, allocations: 8.613 MB / 4.364 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/7.146, allocations: 0 / 4.364 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003225/7.149, allocations: 0.619 MB / 4.364 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005127/7.15, allocations: 94.91 kB / 4.364 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002033/7.15, allocations: 59.78 kB / 4.365 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001553/7.151, allocations: 2.085 MB / 4.367 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/7.151, allocations: 7.469 kB / 4.367 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01115/7.163, allocations: 5.976 MB / 4.372 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01315/7.176, allocations: 8.444 MB / 4.381 GB, free: 192.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00226/7.178, allocations: 1.036 MB / 4.382 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000796/7.179, allocations: 10.77 kB / 4.382 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003293/7.182, allocations: 277.1 kB / 4.382 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002964/7.182, allocations: 154.3 kB / 4.382 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002744/7.183, allocations: 125.7 kB / 4.382 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.002684/7.185, allocations: 2.336 MB / 4.384 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006968/7.192, allocations: 2.658 MB / 4.387 GB, free: 192 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.002082/7.194, allocations: 1.595 MB / 4.389 GB, free: 191.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.006865/7.201, allocations: 5.404 MB / 4.394 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/7.201, allocations: 4.25 kB / 4.394 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002004/7.203, allocations: 1.704 MB / 4.396 GB, free: 191.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006786/7.21, allocations: 1.673 MB / 4.397 GB, free: 191.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01362/7.224, allocations: 7.922 MB / 4.405 GB, free: 190 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003424/7.227, allocations: 3.57 MB / 4.408 GB, free: 189.3 MB / 0.8698 GB Notification: Performance of SimCode: time 7.02e-07/7.227, allocations: 1.375 kB / 4.408 GB, free: 189.3 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_Concentrating_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_Concentrating.fmu > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe 2>&1)