Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.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.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckBlackBodySkyTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.283/1.283, allocations: 249.4 MB / 256.7 MB, free: 6.945 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.0009509/0.0009507, allocations: 177.2 kB / 316 MB, free: 3.484 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.144/1.144, allocations: 205.2 MB / 0.5667 GB, free: 15.69 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.0008396/0.0008395, allocations: 99.25 kB / 0.671 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3358/0.3367, allocations: 112.5 MB / 0.7808 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.497, allocations: 106.3 MB / 0.8847 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4909/0.9879, allocations: 132.1 MB / 1.014 GB, free: 6.23 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002196/0.9882, allocations: 81 kB / 1.014 GB, free: 6.184 MB / 0.6355 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.00232/0.9905, allocations: 0.8229 MB / 1.015 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.9906, allocations: 8 kB / 1.015 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.436e-05/0.9906, allocations: 4.688 kB / 1.015 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.9907, allocations: 170.9 kB / 1.015 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.9907, allocations: 0 / 1.015 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-06/0.9907, allocations: 7.984 kB / 1.015 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.164e-05/0.9908, allocations: 14.12 kB / 1.015 GB, free: 5.152 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.47e-05/0.9909, allocations: 37.2 kB / 1.015 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.9909, allocations: 7.984 kB / 1.015 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.9909, allocations: 0.75 kB / 1.015 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.9909, allocations: 0 / 1.015 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003283/0.9912, allocations: 242.6 kB / 1.015 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.651e-05/0.9913, allocations: 26.52 kB / 1.015 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.352e-05/0.9913, allocations: 8.922 kB / 1.015 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.728e-06/0.9913, allocations: 0 / 1.015 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.9914, allocations: 33.75 kB / 1.015 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.9914, allocations: 0 / 1.015 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001231/0.9915, allocations: 41.55 kB / 1.015 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/0.9915, allocations: 55 kB / 1.015 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.722e-05/0.9916, allocations: 96.98 kB / 1.015 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.9916, allocations: 25.7 kB / 1.015 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.803e-05/0.9916, allocations: 90.81 kB / 1.015 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.368e-05/0.9917, allocations: 3.906 kB / 1.015 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-06/0.9917, allocations: 0 / 1.015 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.211e-05/0.9918, allocations: 310.8 kB / 1.016 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.383e-05/0.9918, allocations: 7 kB / 1.016 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.073e-05/0.9918, allocations: 0 / 1.016 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.318e-05/0.9918, allocations: 12 kB / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.9918, allocations: 3.984 kB / 1.016 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.833e-05/0.9919, allocations: 33.27 kB / 1.016 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.9919, allocations: 8 kB / 1.016 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.9919, allocations: 0 / 1.016 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.9919, allocations: 3.906 kB / 1.016 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.11e-05/0.992, allocations: 11.98 kB / 1.016 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.992, allocations: 8.016 kB / 1.016 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.274e-05/0.9921, allocations: 8 kB / 1.016 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.9921, allocations: 0 / 1.016 GB, free: 4.016 MB / 0.6355 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.823e-05/0.9922, allocations: 101 kB / 1.016 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.841e-05/0.9922, allocations: 7.891 kB / 1.016 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.353e-05/0.9922, allocations: 15.61 kB / 1.016 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.9922, allocations: 4 kB / 1.016 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.9923, allocations: 4 kB / 1.016 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.9923, allocations: 0 / 1.016 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.9924, allocations: 130.2 kB / 1.016 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.9924, allocations: 0 / 1.016 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.118e-05/0.9925, allocations: 15.61 kB / 1.016 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.9925, allocations: 3.938 kB / 1.016 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.9925, allocations: 0 / 1.016 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.9925, allocations: 15.84 kB / 1.016 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.9925, allocations: 0 / 1.016 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.054e-05/0.9926, allocations: 130.7 kB / 1.016 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001575/0.9927, allocations: 0.4954 MB / 1.017 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.121e-05/0.9928, allocations: 89.06 kB / 1.017 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.9928, allocations: 4 kB / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.9929, allocations: 11.98 kB / 1.017 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.024e-05/0.993, allocations: 4 kB / 1.017 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.993, allocations: 3.25 kB / 1.017 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.393e-05/0.993, allocations: 83.28 kB / 1.017 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007514/0.9938, allocations: 7.938 kB / 1.017 GB, free: 2.824 MB / 0.6355 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 9.869e-05/0.9939, allocations: 107.2 kB / 1.017 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 5.877e-05/0.994, allocations: 14.06 kB / 1.017 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.994, allocations: 0 / 1.017 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.513e-05/0.994, allocations: 3.438 kB / 1.017 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001606/0.9942, allocations: 7.906 kB / 1.017 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001756/0.9944, allocations: 63.47 kB / 1.017 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002167/0.9946, allocations: 0.688 MB / 1.018 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of SimCode: time 2.51e-07/0.9946, allocations: 0 / 1.018 GB, free: 1.898 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckBlackBodySkyTemperature_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckBlackBodySkyTemperature.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe 2>&1)