Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.RadiationTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Rooms.BaseClasses.Examples.RadiationTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.RadiationTemperature") translateModel(Buildings.Rooms.BaseClasses.Examples.RadiationTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.RadiationTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5524/0.5524, allocations: 95.61 MB / 110.6 MB, free: 9.355 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001096/0.001096, allocations: 166.4 kB / 134.2 MB, free: 2.27 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.728/1.728, allocations: 170.7 MB / 328.4 MB, free: 12.26 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002082/0.002081, allocations: 113.9 kB / 390.7 MB, free: 13.93 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005316/0.0005319, allocations: 19.98 kB / 462.7 MB, free: 35.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.182, allocations: 61.53 MB / 0.512 GB, free: 6.098 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.514/0.6961, allocations: 110.8 MB / 0.6202 GB, free: 12.57 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000322/0.6965, allocations: 96.69 kB / 0.6203 GB, free: 12.52 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Rooms/BaseClasses/RadiationTemperature.mo:40:37-40:42:writable] Warning: Non-array modification '0' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Rooms/BaseClasses/RadiationTemperature.mo:40:44-40:49:writable] Warning: Non-array modification '1' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Rooms/BaseClasses/RadiationTemperature.mo:43:37-43:42:writable] Warning: Non-array modification '0' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Rooms/BaseClasses/RadiationTemperature.mo:43:44-43:49:writable] Warning: Non-array modification '1' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Rooms/BaseClasses/RadiationTemperature.mo:46:37-46:42:writable] Warning: Non-array modification '0' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Rooms/BaseClasses/RadiationTemperature.mo:46:44-46:49:writable] Warning: Non-array modification '1' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Rooms/BaseClasses/RadiationTemperature.mo:52:55-52:66:writable] Warning: Non-array modification 'false' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Rooms/BaseClasses/RadiationTemperature.mo:54:55-54:66:writable] Warning: Non-array modification 'false' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Rooms/BaseClasses/RadiationTemperature.mo:56:58-56:69:writable] Warning: Non-array modification 'false' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Rooms/BaseClasses/RadiationTemperature.mo:50:55-50:66:writable] Warning: Non-array modification 'false' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd - DAE generated: time 0.1643/0.8608, allocations: 62.1 MB / 0.6809 GB, free: 0.6758 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.8609, allocations: 0 / 0.6809 GB, free: 0.6758 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001297/0.861, allocations: 39.94 kB / 0.6809 GB, free: 0.6367 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.00317/0.8642, allocations: 1.747 MB / 0.6827 GB, free: 14.82 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.8643, allocations: 11.98 kB / 0.6827 GB, free: 14.81 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002473/0.8645, allocations: 165.9 kB / 0.6828 GB, free: 14.65 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002642/0.8672, allocations: 1.44 MB / 0.6842 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.435e-05/0.8672, allocations: 40.98 kB / 0.6843 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.91e-05/0.8673, allocations: 55.94 kB / 0.6843 GB, free: 13.07 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009034/0.8682, allocations: 0.5139 MB / 0.6848 GB, free: 12.54 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.8682, allocations: 3.953 kB / 0.6848 GB, free: 12.54 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.418e-05/0.8683, allocations: 20 kB / 0.6848 GB, free: 12.52 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.8683, allocations: 16 kB / 0.6849 GB, free: 12.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000697/0.869, allocations: 471.7 kB / 0.6853 GB, free: 12.04 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004258/0.8733, allocations: 2.643 MB / 0.6879 GB, free: 9.277 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.8734, allocations: 58.53 kB / 0.6879 GB, free: 9.211 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.8734, allocations: 0 / 0.6879 GB, free: 9.211 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.8735, allocations: 34.5 kB / 0.688 GB, free: 9.168 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/0.8735, allocations: 3.938 kB / 0.688 GB, free: 9.164 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0005421/0.874, allocations: 311.6 kB / 0.6883 GB, free: 8.852 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.579e-05/0.8741, allocations: 59.52 kB / 0.6883 GB, free: 8.781 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002872/0.877, allocations: 2.158 MB / 0.6904 GB, free: 6.586 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.084e-05/0.877, allocations: 29.7 kB / 0.6905 GB, free: 6.551 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000675/0.8777, allocations: 0.7444 MB / 0.6912 GB, free: 5.801 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.8777, allocations: 11.91 kB / 0.6912 GB, free: 5.789 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.974e-05/0.8777, allocations: 12 kB / 0.6912 GB, free: 5.777 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.8779, allocations: 326 kB / 0.6915 GB, free: 5.453 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002336/0.8781, allocations: 149 kB / 0.6917 GB, free: 5.309 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004594/0.8786, allocations: 473.2 kB / 0.6921 GB, free: 4.703 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003224/0.8789, allocations: 235.8 kB / 0.6924 GB, free: 4.473 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.8789, allocations: 0 / 0.6924 GB, free: 4.473 MB / 490.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001038/0.88, allocations: 0.7224 MB / 0.6931 GB, free: 3.742 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/0.88, allocations: 8 kB / 0.6931 GB, free: 3.734 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/0.8801, allocations: 16 kB / 0.6931 GB, free: 3.719 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.055e-05/0.8801, allocations: 20.03 kB / 0.6931 GB, free: 3.699 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003533/0.8804, allocations: 107.8 kB / 0.6932 GB, free: 3.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.187e-05/0.8805, allocations: 19.92 kB / 0.6932 GB, free: 3.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007381/0.8812, allocations: 94.97 kB / 0.6933 GB, free: 3.477 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.766e-05/0.8813, allocations: 32 kB / 0.6933 GB, free: 3.445 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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 0.0008317/0.8821, allocations: 0.6143 MB / 0.6939 GB, free: 2.82 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001842/0.8823, allocations: 158 kB / 0.6941 GB, free: 2.664 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002444/0.8826, allocations: 175 kB / 0.6943 GB, free: 2.492 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.8826, allocations: 3.938 kB / 0.6943 GB, free: 2.488 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.8826, allocations: 0 / 0.6943 GB, free: 2.488 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.8826, allocations: 0 / 0.6943 GB, free: 2.488 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009991/0.8836, allocations: 0.7938 MB / 0.695 GB, free: 1.637 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.8836, allocations: 4 kB / 0.695 GB, free: 1.633 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.953e-05/0.8837, allocations: 4 kB / 0.695 GB, free: 1.629 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.8837, allocations: 0 / 0.695 GB, free: 1.629 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.8837, allocations: 7.891 kB / 0.6951 GB, free: 1.621 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.8837, allocations: 3.984 kB / 0.6951 GB, free: 1.617 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.8837, allocations: 0 / 0.6951 GB, free: 1.617 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003818/0.8841, allocations: 366.7 kB / 0.6954 GB, free: 1.238 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007952/0.8849, allocations: 0.5849 MB / 0.696 GB, free: 0.582 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/0.885, allocations: 8.031 kB / 0.696 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002988/0.8853, allocations: 7.938 kB / 0.696 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.974e-05/0.8854, allocations: 0 / 0.696 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.8854, allocations: 0 / 0.696 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002257/0.8876, allocations: 1.661 MB / 0.6976 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.843e-06/0.8877, allocations: 0 / 0.6976 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001114/0.8888, allocations: 279.8 kB / 0.6979 GB, free: 14.61 MB / 0.4948 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 () * Number of clocked 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.001403/0.8902, allocations: 0.8493 MB / 0.6987 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00058/0.8908, allocations: 312.9 kB / 0.699 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.8908, allocations: 0 / 0.699 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.771e-05/0.8909, allocations: 43.95 kB / 0.6991 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001929/0.8928, allocations: 0.5583 MB / 0.6996 GB, free: 12.85 MB / 0.4948 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is set to 'isProtected' (=false) by default. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004337/0.8972, allocations: 2.877 MB / 0.7024 GB, free: 9.93 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001242/0.8984, allocations: 1.599 MB / 0.704 GB, free: 8.297 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0008809/0.8993, allocations: 267.5 kB / 0.7042 GB, free: 8.031 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.8995, allocations: 79.44 kB / 0.7043 GB, free: 7.953 MB / 0.4948 GB Notification: Performance of SimCode: time 1.073e-06/0.8995, allocations: 0 / 0.7043 GB, free: 7.953 MB / 0.4948 GB Notification: Performance of Templates: time 0.4006/1.3, allocations: 25.58 MB / 0.7293 GB, free: 147.5 MB / 0.5105 GB make -j1 -f Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.RadiationTemperature.makefile make -j1 -f Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.RadiationTemperature.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_1_6_Buildings_Rooms_BaseClasses_Examples_RadiationTemperature -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.RadiationTemperature.o Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.RadiationTemperature.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_1_6_Buildings_Rooms_BaseClasses_Examples_RadiationTemperature -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.RadiationTemperature_functions.o Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.RadiationTemperature_functions.c Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.RadiationTemperature_functions.c:652:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_n == ((modelica_integer) 0))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.RadiationTemperature_functions.c:652:10: note: remove extraneous parentheses around the comparison to silence this warning if((_n == ((modelica_integer) 0))) ~ ^ ~ Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.RadiationTemperature_functions.c:652:10: note: use '=' to turn this equality comparison into an assignment if((_n == ((modelica_integer) 0))) ^~ = Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.RadiationTemperature_functions.c:1019:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_r == ((modelica_integer) 0))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.RadiationTemperature_functions.c:1019:10: note: remove extraneous parentheses around the comparison to silence this warning if((_r == ((modelica_integer) 0))) ~ ^ ~ Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.RadiationTemperature_functions.c:1019:10: note: use '=' to turn this equality comparison into an assignment if((_r == ((modelica_integer) 0))) ^~ = 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_1_6_Buildings_Rooms_BaseClasses_Examples_RadiationTemperature -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.RadiationTemperature_records.o Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.RadiationTemperature_records.c Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.RadiationTemperature_records.c:1135:22: error: expected ';' at end of declaration integer_array ths->__omcQ_24tmpVar5; ^ ; Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.RadiationTemperature_records.c:1136:22: error: redefinition of 'ths' with a different type: 'modelica_integer' (aka 'long') vs 'integer_array' (aka 'struct base_array_s') modelica_integer ths->__omcQ_24tmpVar4; ^ Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.RadiationTemperature_records.c:1135:19: note: previous definition is here integer_array ths->__omcQ_24tmpVar5; ^ Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.RadiationTemperature_records.c:1136:25: error: expected ';' at end of declaration modelica_integer ths->__omcQ_24tmpVar4; ^ ; Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.RadiationTemperature_records.c:1144:16: error: member reference type 'integer_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? tmp17 = ths->_nLay /* Range stop-value */; ~~~^~ . Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.RadiationTemperature_records.c:1144:18: error: no member named '_nLay' in 'struct base_array_s' tmp17 = ths->_nLay /* Range stop-value */; ~~~ ^ Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.RadiationTemperature_records.c:1151:39: error: member reference type 'integer_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? simple_alloc_1d_integer_array(&ths->__omcQ_24tmpVar5,tmp18); ~~~^~ . Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.RadiationTemperature_records.c:1151:41: error: no member named '__omcQ_24tmpVar5' in 'struct base_array_s' simple_alloc_1d_integer_array(&ths->__omcQ_24tmpVar5,tmp18); ~~~ ^ Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.RadiationTemperature_records.c:1159:12: error: member reference type 'integer_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? ths->__omcQ_24tmpVar4 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_layers._material, 1, ths->_i)._nSta; ~~~^~ . Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.RadiationTemperature_records.c:1159:14: error: no member named '__omcQ_24tmpVar4' in 'struct base_array_s' ths->__omcQ_24tmpVar4 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_layers._material, 1, ths->_i)._nSta; ~~~ ^ Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.RadiationTemperature_records.c:1159:95: error: member reference type 'integer_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? ths->__omcQ_24tmpVar4 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_layers._material, 1, ths->_i)._nSta; ~~~^~ . ./Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.RadiationTemperature_functions.h:56:164: note: expanded from macro 'Buildings_HeatTransfer_Data_BaseClasses_Material_array_get' #define Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(src,ndims,...) (*(Buildings_HeatTransfer_Data_BaseClasses_Material*)(generic_array_get(&src, sizeof(Buildings_HeatTransfer_Data_BaseClasses_Material), __VA_ARGS__))) ^~~ Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.RadiationTemperature_records.c:1159:97: error: no member named '_layers' in 'struct base_array_s' ths->__omcQ_24tmpVar4 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_layers._material, 1, ths->_i)._nSta; ~~~ ^ ./Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.RadiationTemperature_functions.h:56:164: note: expanded from macro 'Buildings_HeatTransfer_Data_BaseClasses_Material_array_get' #define Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(src,ndims,...) (*(Buildings_HeatTransfer_Data_BaseClasses_Material*)(generic_array_get(&src, sizeof(Buildings_HeatTransfer_Data_BaseClasses_Material), __VA_ARGS__))) ^~~ Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.RadiationTemperature_records.c:1159:122: error: member reference type 'integer_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? ths->__omcQ_24tmpVar4 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_layers._material, 1, ths->_i)._nSta; ~~~^~ . ./Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.RadiationTemperature_functions.h:56:227: note: expanded from macro 'Buildings_HeatTransfer_Data_BaseClasses_Material_array_get' #define Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(src,ndims,...) (*(Buildings_HeatTransfer_Data_BaseClasses_Material*)(generic_array_get(&src, sizeof(Buildings_HeatTransfer_Data_BaseClasses_Material), __VA_ARGS__))) ^~~~~~~~~~~ Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.RadiationTemperature_records.c:1159:124: error: no member named '_i' in 'struct base_array_s' ths->__omcQ_24tmpVar4 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_layers._material, 1, ths->_i)._nSta; ~~~ ^ ./Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.RadiationTemperature_functions.h:56:227: note: expanded from macro 'Buildings_HeatTransfer_Data_BaseClasses_Material_array_get' #define Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(src,ndims,...) (*(Buildings_HeatTransfer_Data_BaseClasses_Material*)(generic_array_get(&src, sizeof(Buildings_HeatTransfer_Data_BaseClasses_Material), __VA_ARGS__))) ^~~~~~~~~~~ Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.RadiationTemperature_records.c:1160:43: error: member reference type 'integer_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? *(integer_array_element_addr1(&ths->__omcQ_24tmpVar5, 1, tmp13++)) = ths->__omcQ_24tmpVar4; ~~~^~ . Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.RadiationTemperature_records.c:1160:45: error: no member named '__omcQ_24tmpVar5' in 'struct base_array_s' *(integer_array_element_addr1(&ths->__omcQ_24tmpVar5, 1, tmp13++)) = ths->__omcQ_24tmpVar4; ~~~ ^ Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.RadiationTemperature_records.c:1160:81: error: member reference type 'integer_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? *(integer_array_element_addr1(&ths->__omcQ_24tmpVar5, 1, tmp13++)) = ths->__omcQ_24tmpVar4; ~~~^~ . Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.RadiationTemperature_records.c:1160:83: error: no member named '__omcQ_24tmpVar4' in 'struct base_array_s' *(integer_array_element_addr1(&ths->__omcQ_24tmpVar5, 1, tmp13++)) = ths->__omcQ_24tmpVar4; ~~~ ^ Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.RadiationTemperature_records.c:1167:16: error: member reference type 'integer_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? tmp14 = ths->__omcQ_24tmpVar5; ~~~^~ . Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.RadiationTemperature_records.c:1167:18: error: no member named '__omcQ_24tmpVar5' in 'struct base_array_s' tmp14 = ths->__omcQ_24tmpVar5; ~~~ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.RadiationTemperature_records.o] Error 1