Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.402/1.402, allocations: 289.8 MB / 297.1 MB, free: 9.02 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.0009731/0.0009732, allocations: 185.2 kB / 366.3 MB, free: 11.36 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.075/1.075, allocations: 205.1 MB / 0.6256 GB, free: 11.41 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008558/0.0008558, allocations: 94.58 kB / 0.7396 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.3829/0.3837, allocations: 122.4 MB / 0.8591 GB, free: 148.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.5539, allocations: 116.3 MB / 0.9726 GB, free: 31.68 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.23/3.784, allocations: 2.072 GB / 3.044 GB, free: 247.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/3.784, allocations: 81.05 kB / 3.045 GB, free: 247.2 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: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.1195/3.904, allocations: 58.82 MB / 3.102 GB, free: 188.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/3.904, allocations: 8 kB / 3.102 GB, free: 188.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001329/3.905, allocations: 250.5 kB / 3.102 GB, free: 187.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/3.906, allocations: 0.6153 MB / 3.103 GB, free: 187.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.39e-05/3.906, allocations: 28 kB / 3.103 GB, free: 187.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/3.906, allocations: 51.91 kB / 3.103 GB, free: 187.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001315/3.908, allocations: 0.9992 MB / 3.104 GB, free: 186.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/3.909, allocations: 0.7453 MB / 3.105 GB, free: 185.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/3.909, allocations: 3.938 kB / 3.105 GB, free: 185.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.07e-05/3.909, allocations: 4 kB / 3.105 GB, free: 185.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/3.909, allocations: 20 kB / 3.105 GB, free: 185.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003199/3.912, allocations: 2.544 MB / 3.107 GB, free: 182.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009333/3.913, allocations: 0.757 MB / 3.108 GB, free: 181.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003043/3.913, allocations: 242.8 kB / 3.108 GB, free: 181.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.695e-05/3.913, allocations: 36.67 kB / 3.108 GB, free: 181.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005109/3.914, allocations: 389.9 kB / 3.108 GB, free: 181.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=74): time 2.334e-06/3.914, allocations: 0 / 3.108 GB, free: 181.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=74): time 0.00148/3.915, allocations: 0.6327 MB / 3.109 GB, free: 180.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.839e-05/3.915, allocations: 244 kB / 3.109 GB, free: 180.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005797/3.916, allocations: 0.4983 MB / 3.11 GB, free: 179.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.86e-05/3.916, allocations: 33.62 kB / 3.11 GB, free: 179.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/3.916, allocations: 300.1 kB / 3.11 GB, free: 179.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/3.916, allocations: 232.5 kB / 3.11 GB, free: 179.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/3.916, allocations: 0 / 3.11 GB, free: 179.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001013/3.917, allocations: 378.8 kB / 3.111 GB, free: 178.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002764/3.917, allocations: 189.3 kB / 3.111 GB, free: 178.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003652/3.917, allocations: 312.9 kB / 3.111 GB, free: 178.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003775/3.918, allocations: 247.1 kB / 3.111 GB, free: 178 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/3.918, allocations: 0 / 3.111 GB, free: 178 MB / 0.948 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001461/3.919, allocations: 0.6599 MB / 3.112 GB, free: 177.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/3.919, allocations: 8 kB / 3.112 GB, free: 177.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/3.919, allocations: 0 / 3.112 GB, free: 177.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006278/3.92, allocations: 84.94 kB / 3.112 GB, free: 177.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006036/3.92, allocations: 147.8 kB / 3.112 GB, free: 177.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001631/3.922, allocations: 1.472 MB / 3.114 GB, free: 175.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005489/3.923, allocations: 63.56 kB / 3.114 GB, free: 175.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.315e-05/3.923, allocations: 27.98 kB / 3.114 GB, free: 175.4 MB / 0.948 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.0001396/3.923, allocations: 120.9 kB / 3.114 GB, free: 175.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.68e-05/3.923, allocations: 71.25 kB / 3.114 GB, free: 175.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001774/3.925, allocations: 0.9212 MB / 3.115 GB, free: 174.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/3.925, allocations: 8 kB / 3.115 GB, free: 174.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/3.925, allocations: 0 / 3.115 GB, free: 174.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/3.925, allocations: 7.969 kB / 3.115 GB, free: 174.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002385/3.927, allocations: 1.752 MB / 3.117 GB, free: 172.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/3.927, allocations: 0 / 3.117 GB, free: 172.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005582/3.928, allocations: 147.8 kB / 3.117 GB, free: 172.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004973/3.928, allocations: 88.77 kB / 3.117 GB, free: 172.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.624e-05/3.928, allocations: 15.92 kB / 3.117 GB, free: 172.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001422/3.93, allocations: 1.473 MB / 3.118 GB, free: 170.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/3.93, allocations: 0 / 3.118 GB, free: 170.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001284/3.931, allocations: 0.8206 MB / 3.119 GB, free: 169.8 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001321/3.932, allocations: 1.227 MB / 3.12 GB, free: 168.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003078/3.933, allocations: 279.8 kB / 3.121 GB, free: 168.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/3.933, allocations: 0 / 3.121 GB, free: 168.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005739/3.933, allocations: 63.86 kB / 3.121 GB, free: 168.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.152e-05/3.933, allocations: 56.69 kB / 3.121 GB, free: 168.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.452e-05/3.934, allocations: 27.98 kB / 3.121 GB, free: 168.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0003627/3.934, allocations: 402.9 kB / 3.121 GB, free: 167.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001463/3.935, allocations: 379.1 kB / 3.121 GB, free: 167.3 MB / 0.948 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.0012/3.937, allocations: 1.011 MB / 3.122 GB, free: 166.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009442/3.938, allocations: 0.6549 MB / 3.123 GB, free: 165.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/3.938, allocations: 0 / 3.123 GB, free: 165.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005689/3.938, allocations: 452.5 kB / 3.124 GB, free: 165.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009305/3.939, allocations: 219.4 kB / 3.124 GB, free: 165 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003002/3.942, allocations: 1.339 MB / 3.125 GB, free: 163.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006085/3.943, allocations: 1.131 MB / 3.126 GB, free: 162.5 MB / 0.948 GB Notification: Performance of SimCode: time 2.71e-07/3.943, allocations: 0 / 3.126 GB, free: 162.5 MB / 0.948 GB (rm -f Buildings_8_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > Buildings_8_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)