Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.504/2.504, allocations: 248.6 MB / 255.9 MB, free: 7.129 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.001659/0.001659, allocations: 184.3 kB / 315.1 MB, free: 4.285 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.017/2.017, allocations: 205.1 MB / 0.5658 GB, free: 340 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001338/0.001337, allocations: 91.33 kB / 0.67 GB, free: 5.535 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4952/0.4966, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.7637, allocations: 106.2 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7703/1.534, allocations: 131.9 MB / 1.012 GB, free: 8.293 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003134/1.534, allocations: 78.75 kB / 1.012 GB, free: 8.246 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.003881/1.538, allocations: 0.8401 MB / 1.013 GB, free: 7.434 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/1.538, allocations: 8 kB / 1.013 GB, free: 7.426 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.71e-05/1.538, allocations: 0 / 1.013 GB, free: 7.426 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/1.539, allocations: 174.3 kB / 1.013 GB, free: 7.219 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/1.539, allocations: 0 / 1.013 GB, free: 7.219 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-06/1.539, allocations: 0 / 1.013 GB, free: 7.219 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.42e-05/1.539, allocations: 11.25 kB / 1.013 GB, free: 7.211 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/1.539, allocations: 37.67 kB / 1.013 GB, free: 7.168 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/1.539, allocations: 4.688 kB / 1.013 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/1.539, allocations: 0 / 1.013 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/1.539, allocations: 0 / 1.013 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004945/1.539, allocations: 251.6 kB / 1.014 GB, free: 6.891 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.74e-05/1.539, allocations: 22.58 kB / 1.014 GB, free: 6.859 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.123e-05/1.54, allocations: 8.234 kB / 1.014 GB, free: 6.852 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/1.54, allocations: 0 / 1.014 GB, free: 6.852 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.195e-05/1.54, allocations: 34.62 kB / 1.014 GB, free: 6.809 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.252e-06/1.54, allocations: 0 / 1.014 GB, free: 6.809 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001751/1.54, allocations: 37.48 kB / 1.014 GB, free: 6.77 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/1.54, allocations: 57.86 kB / 1.014 GB, free: 6.703 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.296e-05/1.54, allocations: 103.3 kB / 1.014 GB, free: 6.598 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/1.54, allocations: 25.7 kB / 1.014 GB, free: 6.566 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.436e-05/1.54, allocations: 83.58 kB / 1.014 GB, free: 6.484 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/1.54, allocations: 3.906 kB / 1.014 GB, free: 6.48 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/1.54, allocations: 0 / 1.014 GB, free: 6.48 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001509/1.54, allocations: 314.8 kB / 1.014 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.967e-05/1.54, allocations: 3.875 kB / 1.014 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.381e-05/1.54, allocations: 4 kB / 1.014 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.233e-05/1.54, allocations: 4.062 kB / 1.014 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.54, allocations: 0 / 1.014 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.862e-05/1.54, allocations: 42.16 kB / 1.014 GB, free: 6.113 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/1.54, allocations: 4 kB / 1.014 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/1.541, allocations: 0 / 1.014 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/1.541, allocations: 4 kB / 1.014 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/1.541, allocations: 7.906 kB / 1.014 GB, free: 6.098 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/1.541, allocations: 7.984 kB / 1.014 GB, free: 6.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.43e-05/1.541, allocations: 8.031 kB / 1.014 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-06/1.541, allocations: 0 / 1.014 GB, free: 6.082 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 9.277e-05/1.541, allocations: 108.9 kB / 1.015 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.777e-05/1.541, allocations: 7.844 kB / 1.015 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.575e-05/1.541, allocations: 11.41 kB / 1.015 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/1.541, allocations: 4 kB / 1.015 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/1.541, allocations: 7.938 kB / 1.015 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/1.541, allocations: 0 / 1.015 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/1.541, allocations: 134.1 kB / 1.015 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/1.541, allocations: 0 / 1.015 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/1.541, allocations: 12.23 kB / 1.015 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/1.541, allocations: 0 / 1.015 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/1.541, allocations: 4 kB / 1.015 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/1.541, allocations: 0 / 1.015 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/1.541, allocations: 8.531 kB / 1.015 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000147/1.542, allocations: 135 kB / 1.015 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002718/1.542, allocations: 0.5024 MB / 1.015 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.995e-05/1.542, allocations: 77.11 kB / 1.015 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/1.542, allocations: 11.95 kB / 1.015 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/1.542, allocations: 15.98 kB / 1.015 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/1.542, allocations: 0 / 1.015 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/1.542, allocations: 4 kB / 1.015 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.944e-05/1.542, allocations: 83.16 kB / 1.016 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00114/1.543, allocations: 8 kB / 1.016 GB, free: 4.879 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 0.0001581/1.544, allocations: 99.25 kB / 1.016 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001061/1.544, allocations: 10.44 kB / 1.016 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/1.544, allocations: 0 / 1.016 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.583e-05/1.544, allocations: 7.984 kB / 1.016 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003997/1.544, allocations: 7.625 kB / 1.016 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004083/1.545, allocations: 75.72 kB / 1.016 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005327/1.545, allocations: 0.688 MB / 1.016 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of SimCode: time 1.473e-06/1.545, allocations: 0 / 1.016 GB, free: 3.945 MB / 0.6355 GB