Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.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.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckBlackBodySkyTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckBlackBodySkyTemperature",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.382/1.382, allocations: 289.8 MB / 297.1 MB, free: 6.664 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.001106/0.001106, allocations: 185.3 kB / 366.3 MB, free: 1.98 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.13/1.13, allocations: 205.1 MB / 0.6256 GB, free: 5.812 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.0007939/0.0007942, allocations: 89.88 kB / 0.7396 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2134/0.2142, allocations: 122.4 MB / 0.8591 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.466/0.6803, allocations: 116.3 MB / 0.9726 GB, free: 68.12 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1431/0.8234, allocations: 138.4 MB / 1.108 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/0.8237, allocations: 83.88 kB / 1.108 GB, free: 10.09 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.002303/0.826, allocations: 0.839 MB / 1.109 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.8261, allocations: 8 kB / 1.109 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.355e-05/0.8261, allocations: 8.656 kB / 1.109 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.8262, allocations: 167 kB / 1.109 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.8263, allocations: 0 / 1.109 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.8263, allocations: 7.906 kB / 1.109 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.43e-05/0.8263, allocations: 8 kB / 1.109 GB, free: 8.988 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.171e-05/0.8264, allocations: 38.31 kB / 1.109 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.8264, allocations: 4 kB / 1.109 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.8265, allocations: 0 / 1.109 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.8265, allocations: 0.6562 kB / 1.109 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003622/0.8268, allocations: 245.4 kB / 1.109 GB, free: 8.664 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.345e-05/0.8269, allocations: 18.58 kB / 1.109 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.179e-05/0.8269, allocations: 8.922 kB / 1.109 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.8269, allocations: 0 / 1.109 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.827, allocations: 43.11 kB / 1.109 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.827, allocations: 0 / 1.109 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.000138/0.8271, allocations: 34.48 kB / 1.109 GB, free: 8.535 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.8272, allocations: 55.41 kB / 1.109 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.356e-05/0.8272, allocations: 93.62 kB / 1.109 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.8272, allocations: 25.7 kB / 1.109 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.497e-05/0.8273, allocations: 92.03 kB / 1.109 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.209e-05/0.8273, allocations: 0 / 1.109 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-06/0.8273, allocations: 0 / 1.109 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.679e-05/0.8274, allocations: 318.9 kB / 1.11 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.072e-05/0.8274, allocations: 0 / 1.11 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.956e-06/0.8274, allocations: 5.125 kB / 1.11 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.343e-05/0.8274, allocations: 4 kB / 1.11 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.8274, allocations: 4 kB / 1.11 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.989e-05/0.8275, allocations: 33.61 kB / 1.11 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.8275, allocations: 8 kB / 1.11 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.8275, allocations: 0 / 1.11 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.8276, allocations: 8.078 kB / 1.11 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.8277, allocations: 11.94 kB / 1.11 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.8277, allocations: 5.188 kB / 1.11 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.625e-05/0.8277, allocations: 12.55 kB / 1.11 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-06/0.8278, allocations: 0 / 1.11 GB, free: 7.832 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.201e-05/0.8278, allocations: 108.9 kB / 1.11 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/0.8278, allocations: 4.562 kB / 1.11 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.866e-05/0.8279, allocations: 7.469 kB / 1.11 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.8279, allocations: 0 / 1.11 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.8279, allocations: 0.5625 kB / 1.11 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.8279, allocations: 0 / 1.11 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.828, allocations: 142.1 kB / 1.11 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.828, allocations: 1.312 kB / 1.11 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.446e-05/0.8281, allocations: 16.61 kB / 1.11 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.8281, allocations: 0 / 1.11 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.8281, allocations: 0 / 1.11 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.8281, allocations: 0 / 1.11 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.8281, allocations: 4.25 kB / 1.11 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.938e-05/0.8282, allocations: 131.5 kB / 1.11 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001729/0.8284, allocations: 0.5116 MB / 1.111 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.995e-05/0.8284, allocations: 81.09 kB / 1.111 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.8285, allocations: 0 / 1.111 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.8286, allocations: 22.61 kB / 1.111 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.532e-05/0.8286, allocations: 7.984 kB / 1.111 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.8286, allocations: 0 / 1.111 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.419e-05/0.8287, allocations: 83.28 kB / 1.111 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008078/0.8295, allocations: 9.031 kB / 1.111 GB, free: 6.617 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001083/0.8296, allocations: 99.25 kB / 1.111 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.837e-05/0.8297, allocations: 8 kB / 1.111 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.8297, allocations: 8.062 kB / 1.111 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.657e-05/0.8297, allocations: 3.938 kB / 1.111 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001749/0.8299, allocations: 7.984 kB / 1.111 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001766/0.8301, allocations: 57.14 kB / 1.111 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000216/0.8303, allocations: 0.6887 MB / 1.112 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of SimCode: time 1.773e-06/0.8303, allocations: 0 / 1.112 GB, free: 5.691 MB / 0.7136 GB (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckBlackBodySkyTemperature_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckBlackBodySkyTemperature.fmu > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe 2>&1)