Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.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.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",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.291/1.291, allocations: 249.4 MB / 256.7 MB, free: 7.062 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.001078/0.001078, allocations: 185.2 kB / 316 MB, free: 3.555 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.467/1.467, allocations: 205.2 MB / 0.5667 GB, free: 15.68 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.0009033/0.0009033, allocations: 89.31 kB / 0.671 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4133/0.4143, allocations: 112.4 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.6432, allocations: 106.3 MB / 0.8846 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.451/5.094, allocations: 2.19 GB / 3.075 GB, free: 213.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002154/5.095, allocations: 83.92 kB / 3.075 GB, free: 213.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: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.1198/5.214, allocations: 58.44 MB / 3.132 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/5.214, allocations: 8 kB / 3.132 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/5.216, allocations: 258.4 kB / 3.132 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008768/5.217, allocations: 0.6115 MB / 3.133 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.979e-05/5.217, allocations: 28 kB / 3.133 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.302e-05/5.217, allocations: 44 kB / 3.133 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001251/5.218, allocations: 1.003 MB / 3.134 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009828/5.219, allocations: 0.7492 MB / 3.134 GB, free: 152 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/5.219, allocations: 0 / 3.134 GB, free: 152 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.315e-05/5.219, allocations: 4 kB / 3.134 GB, free: 152 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.008e-05/5.219, allocations: 20 kB / 3.134 GB, free: 152 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003041/5.222, allocations: 2.551 MB / 3.137 GB, free: 149.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009897/5.223, allocations: 0.7548 MB / 3.138 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003026/5.223, allocations: 254.7 kB / 3.138 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.181e-05/5.224, allocations: 32.69 kB / 3.138 GB, free: 148.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000452/5.224, allocations: 382 kB / 3.138 GB, free: 147.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=74): time 2.454e-06/5.224, allocations: 0 / 3.138 GB, free: 147.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74): time 0.001376/5.225, allocations: 0.6365 MB / 3.139 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/5.225, allocations: 248 kB / 3.139 GB, free: 147 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005387/5.226, allocations: 0.4945 MB / 3.14 GB, free: 146.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.877e-05/5.226, allocations: 25.7 kB / 3.14 GB, free: 146.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000146/5.226, allocations: 312 kB / 3.14 GB, free: 146.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/5.226, allocations: 228.6 kB / 3.14 GB, free: 145.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.08e-05/5.226, allocations: 0 / 3.14 GB, free: 145.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.924e-05/5.227, allocations: 378.7 kB / 3.141 GB, free: 145.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002631/5.227, allocations: 189.3 kB / 3.141 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003449/5.227, allocations: 312.9 kB / 3.141 GB, free: 145 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003661/5.228, allocations: 247.1 kB / 3.141 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/5.228, allocations: 0 / 3.141 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.00132/5.229, allocations: 0.6638 MB / 3.142 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/5.229, allocations: 8 kB / 3.142 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/5.229, allocations: 0 / 3.142 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005873/5.229, allocations: 80.94 kB / 3.142 GB, free: 144 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000567/5.23, allocations: 151.8 kB / 3.142 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001594/5.232, allocations: 1.461 MB / 3.144 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005469/5.232, allocations: 71.5 kB / 3.144 GB, free: 142.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.556e-05/5.232, allocations: 31.98 kB / 3.144 GB, free: 142.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (79): * Single equations (assignments): 78 * 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.0001358/5.232, allocations: 116.9 kB / 3.144 GB, free: 142 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/5.233, allocations: 71.06 kB / 3.144 GB, free: 142 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001788/5.234, allocations: 0.9138 MB / 3.145 GB, free: 141 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/5.234, allocations: 11.94 kB / 3.145 GB, free: 141 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/5.234, allocations: 3.906 kB / 3.145 GB, free: 141 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/5.234, allocations: 3.984 kB / 3.145 GB, free: 141 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002705/5.237, allocations: 1.748 MB / 3.146 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/5.237, allocations: 0 / 3.146 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005737/5.238, allocations: 147.8 kB / 3.147 GB, free: 139.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005102/5.238, allocations: 84.69 kB / 3.147 GB, free: 139 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-05/5.238, allocations: 15.98 kB / 3.147 GB, free: 139 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001486/5.24, allocations: 1.48 MB / 3.148 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/5.24, allocations: 0 / 3.148 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001323/5.241, allocations: 0.8205 MB / 3.149 GB, free: 136.5 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001496/5.243, allocations: 1.231 MB / 3.15 GB, free: 135.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004052/5.243, allocations: 275.8 kB / 3.15 GB, free: 135 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002141/5.243, allocations: 0 / 3.15 GB, free: 135 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006456/5.244, allocations: 63.95 kB / 3.15 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/5.244, allocations: 48.69 kB / 3.15 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.84e-05/5.244, allocations: 36.05 kB / 3.151 GB, free: 134.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0004338/5.245, allocations: 406.9 kB / 3.151 GB, free: 134.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001745/5.246, allocations: 383 kB / 3.151 GB, free: 134.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001531/5.248, allocations: 1.011 MB / 3.152 GB, free: 133.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001179/5.249, allocations: 0.6587 MB / 3.153 GB, free: 132.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/5.249, allocations: 4 kB / 3.153 GB, free: 132.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006224/5.25, allocations: 448.6 kB / 3.153 GB, free: 132 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/5.251, allocations: 211.4 kB / 3.154 GB, free: 131.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003228/5.254, allocations: 1.332 MB / 3.155 GB, free: 130.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005833/5.255, allocations: 1.127 MB / 3.156 GB, free: 129.3 MB / 0.8698 GB Notification: Performance of SimCode: time 6.11e-07/5.255, allocations: 4 kB / 3.156 GB, free: 129.3 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)