Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.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.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.319/2.319, allocations: 284.8 MB / 292.1 MB, free: 9.793 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.001602/0.001602, allocations: 179.5 kB / 360.3 MB, free: 1.027 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.854/1.854, allocations: 205.1 MB / 0.6187 GB, free: 3.34 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001257/0.001257, allocations: 90.53 kB / 0.7317 GB, free: 1.879 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.5117/0.513, allocations: 121.4 MB / 0.8502 GB, free: 149.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.7169, allocations: 115.2 MB / 0.9627 GB, free: 57.05 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.792/5.509, allocations: 2.071 GB / 3.033 GB, free: 170.6 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003684/5.509, allocations: 78.39 kB / 3.034 GB, free: 170.6 MB / 0.9323 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.2667/5.776, allocations: 58.82 MB / 3.091 GB, free: 121.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/5.776, allocations: 8.5 kB / 3.091 GB, free: 121.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00293/5.779, allocations: 254.5 kB / 3.091 GB, free: 121.6 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001767/5.781, allocations: 0.6199 MB / 3.092 GB, free: 121 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.371e-05/5.781, allocations: 28 kB / 3.092 GB, free: 121 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/5.781, allocations: 47.91 kB / 3.092 GB, free: 120.9 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002684/5.784, allocations: 0.9954 MB / 3.093 GB, free: 120 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002784/5.786, allocations: 0.7492 MB / 3.094 GB, free: 119.2 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.158e-05/5.787, allocations: 0 / 3.094 GB, free: 119.2 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001326/5.787, allocations: 8 kB / 3.094 GB, free: 119.2 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.087e-05/5.787, allocations: 20 kB / 3.094 GB, free: 119.2 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006767/5.793, allocations: 2.536 MB / 3.096 GB, free: 116.6 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001996/5.796, allocations: 0.7625 MB / 3.097 GB, free: 115.8 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006124/5.796, allocations: 242.8 kB / 3.097 GB, free: 115.6 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001157/5.796, allocations: 32.61 kB / 3.097 GB, free: 115.5 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008134/5.797, allocations: 386 kB / 3.097 GB, free: 115.1 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=74): time 3.868e-06/5.797, allocations: 0 / 3.097 GB, free: 115.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=74): time 0.003072/5.8, allocations: 0.6327 MB / 3.098 GB, free: 114.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.96e-05/5.8, allocations: 244 kB / 3.098 GB, free: 114.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/5.801, allocations: 0.4983 MB / 3.099 GB, free: 113.7 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002036/5.802, allocations: 29.69 kB / 3.099 GB, free: 113.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000248/5.802, allocations: 304.1 kB / 3.099 GB, free: 113.3 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002444/5.802, allocations: 236.4 kB / 3.099 GB, free: 113.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.531e-05/5.802, allocations: 3.938 kB / 3.099 GB, free: 113.1 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001504/5.802, allocations: 378.8 kB / 3.1 GB, free: 112.7 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005276/5.803, allocations: 189.3 kB / 3.1 GB, free: 112.5 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006427/5.804, allocations: 313 kB / 3.1 GB, free: 112.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/5.805, allocations: 239 kB / 3.1 GB, free: 112 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.836e-06/5.805, allocations: 0 / 3.1 GB, free: 112 MB / 0.9323 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003417/5.808, allocations: 0.66 MB / 3.101 GB, free: 111.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/5.808, allocations: 12.16 kB / 3.101 GB, free: 111.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/5.808, allocations: 0 / 3.101 GB, free: 111.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/5.809, allocations: 84.78 kB / 3.101 GB, free: 111.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/5.811, allocations: 143.8 kB / 3.101 GB, free: 111.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003301/5.814, allocations: 1.465 MB / 3.103 GB, free: 109.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/5.816, allocations: 63.56 kB / 3.103 GB, free: 109.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002143/5.816, allocations: 27.98 kB / 3.103 GB, free: 109.4 MB / 0.9323 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.0003644/5.816, allocations: 129.3 kB / 3.103 GB, free: 109.3 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003705/5.817, allocations: 79 kB / 3.103 GB, free: 109.2 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004508/5.821, allocations: 0.9135 MB / 3.104 GB, free: 108.2 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.519e-05/5.821, allocations: 8 kB / 3.104 GB, free: 108.2 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/5.821, allocations: 0 / 3.104 GB, free: 108.2 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.456e-05/5.821, allocations: 3.984 kB / 3.104 GB, free: 108.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00642/5.828, allocations: 1.759 MB / 3.106 GB, free: 106.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/5.828, allocations: 0 / 3.106 GB, free: 106.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001731/5.83, allocations: 143.8 kB / 3.106 GB, free: 106.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001306/5.831, allocations: 88.77 kB / 3.106 GB, free: 106.2 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000238/5.831, allocations: 11.98 kB / 3.106 GB, free: 106.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003577/5.835, allocations: 1.484 MB / 3.107 GB, free: 104.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/5.835, allocations: 3.984 kB / 3.107 GB, free: 104.6 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003621/5.839, allocations: 0.8245 MB / 3.108 GB, free: 103.7 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002865/5.841, allocations: 1.231 MB / 3.109 GB, free: 102.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007259/5.842, allocations: 271.8 kB / 3.11 GB, free: 102.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002813/5.843, allocations: 4 kB / 3.11 GB, free: 102.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/5.844, allocations: 67.8 kB / 3.11 GB, free: 102.1 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/5.844, allocations: 52.69 kB / 3.11 GB, free: 102.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.303e-05/5.844, allocations: 31.98 kB / 3.11 GB, free: 102 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0007194/5.845, allocations: 402.9 kB / 3.11 GB, free: 101.6 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00243/5.847, allocations: 379.1 kB / 3.111 GB, free: 101.3 MB / 0.9323 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.002035/5.849, allocations: 0.9878 MB / 3.111 GB, free: 100.4 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001977/5.851, allocations: 0.6587 MB / 3.112 GB, free: 99.71 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/5.851, allocations: 4 kB / 3.112 GB, free: 99.71 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001273/5.853, allocations: 448.6 kB / 3.113 GB, free: 99.25 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00217/5.855, allocations: 235.3 kB / 3.113 GB, free: 99.04 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00676/5.862, allocations: 1.335 MB / 3.114 GB, free: 97.66 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001248/5.863, allocations: 1.123 MB / 3.115 GB, free: 96.52 MB / 0.9323 GB Notification: Performance of SimCode: time 2.314e-06/5.863, allocations: 4 kB / 3.115 GB, free: 96.51 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)