Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckBlackBodySkyTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7503/0.7503, allocations: 141.8 MB / 149.1 MB, free: 4.477 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 184.3 kB / 181.9 MB, free: 132 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 221.3 MB / 436 MB, free: 9.332 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 93.3 kB / 0.507 GB, free: 24.15 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001807/0.001807, allocations: 273.8 kB / 0.5884 GB, free: 12.29 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1983/0.2002, allocations: 89.66 MB / 0.676 GB, free: 2.555 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.6043, allocations: 82.76 MB / 0.7568 GB, free: 112.8 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1198/0.7242, allocations: 108.1 MB / 0.8624 GB, free: 4.621 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/0.7245, allocations: 83.92 kB / 0.8624 GB, free: 4.543 MB / 0.5263 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.002326/0.7268, allocations: 0.8398 MB / 0.8633 GB, free: 3.68 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.7269, allocations: 16.44 kB / 0.8633 GB, free: 3.664 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.252e-05/0.7269, allocations: 8.562 kB / 0.8633 GB, free: 3.656 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.555e-05/0.727, allocations: 163 kB / 0.8634 GB, free: 3.457 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.727, allocations: 0.5312 kB / 0.8634 GB, free: 3.457 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-06/0.727, allocations: 5.312 kB / 0.8634 GB, free: 3.453 MB / 0.5263 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.326e-05/0.7271, allocations: 4 kB / 0.8634 GB, free: 3.449 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.418e-05/0.7272, allocations: 41.59 kB / 0.8635 GB, free: 3.402 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.7272, allocations: 4.562 kB / 0.8635 GB, free: 3.398 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.7272, allocations: 0 / 0.8635 GB, free: 3.398 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.7272, allocations: 4.5 kB / 0.8635 GB, free: 3.395 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002997/0.7275, allocations: 243.9 kB / 0.8637 GB, free: 3.121 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 3.642e-05/0.7276, allocations: 27.38 kB / 0.8638 GB, free: 3.086 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.059e-05/0.7276, allocations: 6.234 kB / 0.8638 GB, free: 3.078 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.7276, allocations: 3.984 kB / 0.8638 GB, free: 3.074 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.616e-05/0.7276, allocations: 35.16 kB / 0.8638 GB, free: 3.031 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.7276, allocations: 0.7188 kB / 0.8638 GB, free: 3.031 MB / 0.5263 GB Notification: Performance of matching and sorting (n=1): time 0.0001427/0.7278, allocations: 34.55 kB / 0.8638 GB, free: 2.992 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.582e-05/0.7278, allocations: 51.41 kB / 0.8639 GB, free: 2.93 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.93e-05/0.7279, allocations: 102.2 kB / 0.864 GB, free: 2.824 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 8.826e-06/0.7279, allocations: 25.7 kB / 0.864 GB, free: 2.793 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 1.931e-05/0.7279, allocations: 88.59 kB / 0.8641 GB, free: 2.703 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 1.17e-05/0.7279, allocations: 1.594 kB / 0.8641 GB, free: 2.703 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-06/0.7279, allocations: 4.594 kB / 0.8641 GB, free: 2.699 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 4.096e-05/0.728, allocations: 311.3 kB / 0.8644 GB, free: 2.387 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.23e-05/0.728, allocations: 4.938 kB / 0.8644 GB, free: 2.383 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.749e-06/0.728, allocations: 4 kB / 0.8644 GB, free: 2.379 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.344e-05/0.728, allocations: 0.6875 kB / 0.8644 GB, free: 2.379 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.728, allocations: 1 kB / 0.8644 GB, free: 2.379 MB / 0.5263 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.746e-05/0.7281, allocations: 41.61 kB / 0.8644 GB, free: 2.332 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.7281, allocations: 4.719 kB / 0.8644 GB, free: 2.328 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.7281, allocations: 0 / 0.8644 GB, free: 2.328 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.7282, allocations: 9.203 kB / 0.8645 GB, free: 2.32 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.211e-05/0.7282, allocations: 16.06 kB / 0.8645 GB, free: 2.305 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.7283, allocations: 0 / 0.8645 GB, free: 2.305 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.092e-05/0.7283, allocations: 7.984 kB / 0.8645 GB, free: 2.297 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.7283, allocations: 4 kB / 0.8645 GB, free: 2.293 MB / 0.5263 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 4.703e-05/0.7284, allocations: 101 kB / 0.8646 GB, free: 2.188 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.7284, allocations: 3.906 kB / 0.8646 GB, free: 2.184 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.27e-05/0.7284, allocations: 13.84 kB / 0.8646 GB, free: 2.172 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.7285, allocations: 4 kB / 0.8646 GB, free: 2.168 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.7285, allocations: 0 / 0.8646 GB, free: 2.168 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.7285, allocations: 0 / 0.8646 GB, free: 2.168 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001009/0.7286, allocations: 142.1 kB / 0.8647 GB, free: 1.992 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.7286, allocations: 0 / 0.8647 GB, free: 1.992 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.62e-05/0.7286, allocations: 11.98 kB / 0.8647 GB, free: 1.98 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.7287, allocations: 0 / 0.8647 GB, free: 1.98 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-06/0.7287, allocations: 4 kB / 0.8647 GB, free: 1.977 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.7287, allocations: 0 / 0.8647 GB, free: 1.977 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.7287, allocations: 0 / 0.8647 GB, free: 1.977 MB / 0.5263 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.812e-05/0.7288, allocations: 131.5 kB / 0.8649 GB, free: 1.832 MB / 0.5263 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001126/0.7289, allocations: 0.5117 MB / 0.8654 GB, free: 1.301 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 1.955e-05/0.7289, allocations: 81.02 kB / 0.8655 GB, free: 1.203 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.729, allocations: 256 / 0.8655 GB, free: 1.203 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.7291, allocations: 19.98 kB / 0.8655 GB, free: 1.184 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.7291, allocations: 3.984 kB / 0.8655 GB, free: 1.18 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.7291, allocations: 8 kB / 0.8655 GB, free: 1.172 MB / 0.5263 GB Notification: Performance of sort global known variables: time 2.144e-05/0.7292, allocations: 79.28 kB / 0.8656 GB, free: 1.094 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.0007591/0.7299, allocations: 7.906 kB / 0.8656 GB, free: 1.086 MB / 0.5263 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.0001005/0.73, allocations: 99.25 kB / 0.8657 GB, free: 0.9805 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 6.142e-05/0.7301, allocations: 8 kB / 0.8657 GB, free: 0.9727 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.7301, allocations: 0 / 0.8657 GB, free: 0.9727 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 1.689e-05/0.7301, allocations: 8 kB / 0.8657 GB, free: 0.9648 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001847/0.7303, allocations: 15.3 kB / 0.8657 GB, free: 0.9531 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000192/0.7305, allocations: 63.84 kB / 0.8658 GB, free: 0.8711 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/0.7307, allocations: 0.688 MB / 0.8664 GB, free: 160 kB / 0.5263 GB Notification: Performance of SimCode: time 2.7e-07/0.7307, allocations: 3.938 kB / 0.8664 GB, free: 156 kB / 0.5263 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckBlackBodySkyTemperature_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckBlackBodySkyTemperature.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe 2>&1)