Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.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.FlatPlateShaCoeTrue,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue",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.381/1.381, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.001064/0.001064, allocations: 181.3 kB / 361.1 MB, free: 7.094 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.2/1.2, allocations: 205.1 MB / 0.6195 GB, free: 11.93 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.0008068/0.0008068, allocations: 99.41 kB / 0.7326 GB, free: 44.47 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2216/0.2224, allocations: 121.4 MB / 0.8511 GB, free: 3.145 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5171/0.7395, allocations: 115.3 MB / 0.9638 GB, free: 77.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.578/4.318, allocations: 2.357 GB / 3.321 GB, free: 167.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/4.318, allocations: 91.95 kB / 3.321 GB, free: 167 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: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 2.797/7.115, allocations: 0.9315 GB / 4.252 GB, free: 153.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/7.115, allocations: 10.97 kB / 4.252 GB, free: 153.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00762/7.122, allocations: 1.362 MB / 4.254 GB, free: 153.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01134/7.134, allocations: 5.46 MB / 4.259 GB, free: 152.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/7.134, allocations: 117.7 kB / 4.259 GB, free: 152.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005947/7.134, allocations: 224.4 kB / 4.259 GB, free: 152.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006526/7.141, allocations: 4.431 MB / 4.264 GB, free: 152.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006456/7.147, allocations: 4.574 MB / 4.268 GB, free: 152.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.742e-05/7.148, allocations: 14.12 kB / 4.268 GB, free: 152.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004191/7.148, allocations: 10.09 kB / 4.268 GB, free: 152.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001198/7.148, allocations: 176.8 kB / 4.268 GB, free: 152.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02615/7.174, allocations: 19.09 MB / 4.287 GB, free: 145.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003745/7.178, allocations: 2.971 MB / 4.29 GB, free: 145.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001803/7.18, allocations: 1.62 MB / 4.291 GB, free: 145.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001701/7.182, allocations: 1.871 MB / 4.293 GB, free: 143.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002521/7.184, allocations: 1.782 MB / 4.295 GB, free: 143.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=264): time 4.709e-06/7.184, allocations: 0.8438 kB / 4.295 GB, free: 143.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=264): time 0.009877/7.194, allocations: 3.684 MB / 4.299 GB, free: 143.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.285e-05/7.194, allocations: 285.5 kB / 4.299 GB, free: 142.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004026/7.198, allocations: 3.047 MB / 4.302 GB, free: 142.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003386/7.198, allocations: 32.33 kB / 4.302 GB, free: 142.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001324/7.2, allocations: 1.396 MB / 4.303 GB, free: 141.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001058/7.201, allocations: 0.8625 MB / 4.304 GB, free: 141.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001769/7.201, allocations: 0 / 4.304 GB, free: 141.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001292/7.201, allocations: 428.5 kB / 4.304 GB, free: 140.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001768/7.203, allocations: 1.326 MB / 4.306 GB, free: 140.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002006/7.205, allocations: 2 MB / 4.308 GB, free: 140.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01242/7.217, allocations: 2.877 MB / 4.311 GB, free: 140.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.062e-05/7.217, allocations: 7.375 kB / 4.311 GB, free: 140.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.01689/7.234, allocations: 4.969 MB / 4.315 GB, free: 139.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001197/7.236, allocations: 7.28 MB / 4.323 GB, free: 132.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.652e-05/7.236, allocations: 20.75 kB / 4.323 GB, free: 132.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006459/7.236, allocations: 111.2 kB / 4.323 GB, free: 132.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0039/7.24, allocations: 0.818 MB / 4.323 GB, free: 132.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001697/7.242, allocations: 1.497 MB / 4.325 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005292/7.247, allocations: 445.2 kB / 4.325 GB, free: 131 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006498/7.248, allocations: 143.5 kB / 4.325 GB, free: 131 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.258e-06/7.248, allocations: 3.75 kB / 4.325 GB, free: 131 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01624/7.264, allocations: 4.602 MB / 4.33 GB, free: 130.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.353e-05/7.264, allocations: 15.25 kB / 4.33 GB, free: 130.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005772/7.265, allocations: 119.1 kB / 4.33 GB, free: 130.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003969/7.269, allocations: 0.804 MB / 4.331 GB, free: 130.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001645/7.27, allocations: 1.51 MB / 4.332 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004811/7.275, allocations: 390.2 kB / 4.333 GB, free: 129.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005581/7.276, allocations: 147.1 kB / 4.333 GB, free: 129.5 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 (371): * Single equations (assignments): 370 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 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.0008152/7.277, allocations: 181.5 kB / 4.333 GB, free: 129.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009333/7.278, allocations: 350.8 kB / 4.333 GB, free: 129.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0119/7.29, allocations: 4.52 MB / 4.338 GB, free: 129 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.687e-05/7.29, allocations: 33 kB / 4.338 GB, free: 129 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/7.29, allocations: 3.938 kB / 4.338 GB, free: 129 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008664/7.298, allocations: 3.62 MB / 4.341 GB, free: 128.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0177/7.316, allocations: 8.945 MB / 4.35 GB, free: 127.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.204e-05/7.316, allocations: 3.438 kB / 4.35 GB, free: 127.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003293/7.319, allocations: 0.6315 MB / 4.351 GB, free: 127.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005607/7.32, allocations: 98.88 kB / 4.351 GB, free: 127.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002266/7.32, allocations: 60.34 kB / 4.351 GB, free: 127.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001514/7.322, allocations: 1.505 MB / 4.352 GB, free: 126.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/7.322, allocations: 8.531 kB / 4.352 GB, free: 126.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01193/7.334, allocations: 6.373 MB / 4.359 GB, free: 125.5 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01401/7.348, allocations: 8.824 MB / 4.367 GB, free: 123.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002727/7.35, allocations: 1.051 MB / 4.368 GB, free: 123.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007405/7.351, allocations: 23.69 kB / 4.368 GB, free: 123.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003266/7.354, allocations: 272 kB / 4.368 GB, free: 123.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002725/7.355, allocations: 156.9 kB / 4.369 GB, free: 123.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002713/7.355, allocations: 134.4 kB / 4.369 GB, free: 123.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.003042/7.358, allocations: 2.352 MB / 4.371 GB, free: 123.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.007905/7.366, allocations: 2.683 MB / 4.374 GB, free: 123 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (283): * Single equations (assignments): 274 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 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.002375/7.368, allocations: 1.614 MB / 4.375 GB, free: 122.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.007913/7.376, allocations: 5.458 MB / 4.381 GB, free: 122.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/7.376, allocations: 4.5 kB / 4.381 GB, free: 122.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002436/7.379, allocations: 1.715 MB / 4.382 GB, free: 122.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008806/7.388, allocations: 1.667 MB / 4.384 GB, free: 122.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01675/7.404, allocations: 7.966 MB / 4.392 GB, free: 119.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003796/7.408, allocations: 3.586 MB / 4.395 GB, free: 118.7 MB / 0.948 GB Notification: Performance of SimCode: time 6.22e-07/7.408, allocations: 0 / 4.395 GB, free: 118.7 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue.fmu > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe 2>&1)