Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Window.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.Examples.Window,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|window.glaUns.u|window.glaUns.glass_a.T|window.glaUns.glass_b.T|window.glaSha.glass_a.T|window.glaSha.glass_b.T|extCon.radOut.TRad",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Window") translateModel(Buildings.HeatTransfer.Windows.Examples.Window,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|window.glaUns.u|window.glaUns.glass_a.T|window.glaUns.glass_b.T|window.glaSha.glass_a.T|window.glaSha.glass_b.T|extCon.radOut.TRad",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Window") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.809/2.809, allocations: 390.3 MB / 402.8 MB, free: 6.695 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 168.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.802/1.802, allocations: 221.3 MB / 0.7915 GB, free: 5.387 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009411/0.0009414, allocations: 99.88 kB / 0.9318 GB, free: 5.699 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.945e-05/2.948e-05, allocations: 8 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3221, allocations: 143 MB / 1.219 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.981/5.303, allocations: 1.785 GB / 3.004 GB, free: 27.52 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005164/5.303, allocations: 95.94 kB / 3.004 GB, free: 27.43 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.484/6.787, allocations: 242.4 MB / 3.24 GB, free: 262.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.424e-06/6.787, allocations: 0 / 3.24 GB, free: 262.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.001295/6.789, allocations: 127.9 kB / 3.24 GB, free: 262 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 644 * Number of variables: 644 Notification: Performance of Generate backend data structure: time 0.03797/6.827, allocations: 5.575 MB / 3.246 GB, free: 256.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/6.827, allocations: 12.03 kB / 3.246 GB, free: 256.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05187/6.879, allocations: 5.208 MB / 3.251 GB, free: 251.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.259/8.138, allocations: 293.5 MB / 3.538 GB, free: 316.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003451/8.138, allocations: 218 kB / 3.538 GB, free: 316.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00211/8.141, allocations: 292.6 kB / 3.538 GB, free: 316.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01366/8.154, allocations: 4.294 MB / 3.542 GB, free: 315.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.557e-05/8.154, allocations: 5.156 kB / 3.542 GB, free: 315.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004644/8.155, allocations: 106.3 kB / 3.542 GB, free: 315.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.195e-05/8.155, allocations: 60.56 kB / 3.542 GB, free: 315.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007662/8.163, allocations: 4.033 MB / 3.546 GB, free: 315.8 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.5171/8.68, allocations: 270 MB / 3.81 GB, free: 114.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005365/8.685, allocations: 3.451 MB / 3.813 GB, free: 110.8 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002991/8.688, allocations: 2.541 MB / 3.816 GB, free: 108.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002727/8.689, allocations: 96.8 kB / 3.816 GB, free: 108.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00325/8.692, allocations: 2.744 MB / 3.819 GB, free: 105.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=201): time 4.067e-06/8.692, allocations: 4 kB / 3.819 GB, free: 105.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=201): time 0.03245/8.724, allocations: 6.978 MB / 3.826 GB, free: 98.45 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002567/8.725, allocations: 429.2 kB / 3.826 GB, free: 97.96 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.56/10.28, allocations: 322.5 MB / 4.141 GB, free: 220.5 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.001585/10.29, allocations: 81.7 kB / 4.141 GB, free: 220.4 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.004792/10.29, allocations: 2.883 MB / 4.144 GB, free: 218 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.001465/10.29, allocations: 0.6657 MB / 4.144 GB, free: 217.5 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004321/10.29, allocations: 55.75 kB / 4.144 GB, free: 217.4 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0002435/10.29, allocations: 421.1 kB / 4.145 GB, free: 217 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004777/10.3, allocations: 3.67 MB / 4.148 GB, free: 213.8 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005627/10.3, allocations: 4.213 MB / 4.153 GB, free: 209.9 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005476/10.31, allocations: 3.674 MB / 4.156 GB, free: 206.7 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.238e-05/10.31, allocations: 0 / 4.156 GB, free: 206.7 MB / 1.182 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.04126/10.35, allocations: 10.29 MB / 4.166 GB, free: 197.7 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008294/10.35, allocations: 3.361 MB / 4.169 GB, free: 194.2 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04028/10.39, allocations: 11.64 MB / 4.181 GB, free: 184.9 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1667/10.56, allocations: 46.71 MB / 4.226 GB, free: 158.3 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007409/10.57, allocations: 1.21 MB / 4.228 GB, free: 157.2 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01001/10.58, allocations: 8.548 MB / 4.236 GB, free: 148.3 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03034/10.61, allocations: 1.618 MB / 4.238 GB, free: 146.7 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001574/10.61, allocations: 186.4 kB / 4.238 GB, free: 146.6 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/10.61, allocations: 5.781 kB / 4.238 GB, free: 146.6 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01794/10.63, allocations: 9.311 MB / 4.247 GB, free: 137.3 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01363/10.64, allocations: 8.48 MB / 4.255 GB, free: 128.8 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004441/10.64, allocations: 1.489 MB / 4.257 GB, free: 127.3 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008914/10.65, allocations: 1.468 MB / 4.258 GB, free: 125.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01528/10.67, allocations: 12.97 MB / 4.271 GB, free: 112.5 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02988/10.7, allocations: 1.581 MB / 4.272 GB, free: 111 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001535/10.7, allocations: 185.5 kB / 4.272 GB, free: 110.9 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (257): * Single equations (assignments): 252 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 2 {12 49,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001213/10.7, allocations: 398.4 kB / 4.273 GB, free: 110.5 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02175/10.72, allocations: 0.6017 MB / 4.273 GB, free: 109.9 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01468/10.74, allocations: 7.895 MB / 4.281 GB, free: 102 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.457e-05/10.74, allocations: 20 kB / 4.281 GB, free: 102 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.625e-05/10.74, allocations: 7.984 kB / 4.281 GB, free: 102 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.324e-05/10.74, allocations: 11.81 kB / 4.281 GB, free: 102 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.24/11.98, allocations: 135.6 MB / 4.413 GB, free: 333 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.04768/12.03, allocations: 10.12 MB / 4.423 GB, free: 332.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004293/12.03, allocations: 0.6245 MB / 4.424 GB, free: 332.9 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1397/12.17, allocations: 25.4 MB / 4.449 GB, free: 332.8 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009171/12.17, allocations: 87.98 kB / 4.449 GB, free: 332.8 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00877/12.18, allocations: 8.467 MB / 4.457 GB, free: 328.4 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/12.18, allocations: 2.156 kB / 4.457 GB, free: 328.4 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07018/12.25, allocations: 10.92 MB / 4.468 GB, free: 327.9 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.1185/12.37, allocations: 64.62 MB / 4.531 GB, free: 280.8 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02553/12.39, allocations: 63.56 kB / 4.531 GB, free: 280.7 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02692/12.42, allocations: 1.092 MB / 4.532 GB, free: 279.9 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009372/12.42, allocations: 136 kB / 4.532 GB, free: 279.8 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004494/12.42, allocations: 136.5 kB / 4.532 GB, free: 279.7 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.2881/12.71, allocations: 236.4 MB / 4.763 GB, free: 58.47 MB / 1.182 GB Notification: Performance of sort global known variables: time 9.82e-07/12.71, allocations: 0 / 4.763 GB, free: 58.47 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.07981/12.79, allocations: 32.97 MB / 4.795 GB, free: 25.82 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (134): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 2 {12 57,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006026/12.8, allocations: 2.019 MB / 4.797 GB, free: 24.63 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.02301/12.82, allocations: 14.55 MB / 4.812 GB, free: 11.55 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 8.827e-06/12.82, allocations: 2.625 kB / 4.812 GB, free: 11.55 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.005703/12.83, allocations: 3.677 MB / 4.815 GB, free: 8.281 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02328/12.85, allocations: 0.8968 MB / 4.816 GB, free: 7.516 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8152/13.66, allocations: 12.16 MB / 4.828 GB, free: 329.3 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01481/13.68, allocations: 4.002 MB / 4.832 GB, free: 328.5 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.1932/13.87, allocations: 87.17 MB / 4.917 GB, free: 304.1 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00288/13.87, allocations: 289.1 kB / 4.917 GB, free: 303.9 MB / 1.182 GB Notification: Performance of SimCode: time 3.075e-06/13.87, allocations: 3.938 kB / 4.917 GB, free: 303.9 MB / 1.182 GB Notification: Performance of Templates: time 5.442/19.32, allocations: 1.585 GB / 6.502 GB, free: 12.59 MB / 1.307 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Window.makefile make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Window.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Window -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=5 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Window.o Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Window.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Window -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=5 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Window_functions.o Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Window_functions.c Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Window_functions.c:1630:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_N == ((modelica_integer) 1))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Window_functions.c:1630:10: note: remove extraneous parentheses around the comparison to silence this warning if((_N == ((modelica_integer) 1))) ~ ^ ~ Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Window_functions.c:1630:10: note: use '=' to turn this equality comparison into an assignment if((_N == ((modelica_integer) 1))) ^~ = 1 warning generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Window -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=5 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Window_records.o Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Window_records.c Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Window_records.c:5429:22: error: expected ';' at end of declaration boolean_array ths->_D_24tmpVar9; ^ ; Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Window_records.c:5430:22: error: redefinition of 'ths' with a different type: 'modelica_boolean' (aka 'signed char') vs 'boolean_array' (aka 'struct base_array_s') modelica_boolean ths->_D_24tmpVar8; ^ Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Window_records.c:5429:19: note: previous definition is here boolean_array ths->_D_24tmpVar9; ^ Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Window_records.c:5430:25: error: expected ';' at end of declaration modelica_boolean ths->_D_24tmpVar8; ^ ; Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Window_records.c:5438:46: error: member reference type 'boolean_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? tmp100 = size_of_dimension_base_array(ths->_glass, ((modelica_integer) 1)); ~~~^~ . Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Window_records.c:5438:48: error: no member named '_glass' in 'struct base_array_s' tmp100 = size_of_dimension_base_array(ths->_glass, ((modelica_integer) 1)); ~~~ ^ Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Window_records.c:5447:39: error: member reference type 'boolean_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? simple_alloc_1d_boolean_array(&ths->_D_24tmpVar9,tmp101); ~~~^~ . Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Window_records.c:5447:41: error: no member named '_D_24tmpVar9' in 'struct base_array_s' simple_alloc_1d_boolean_array(&ths->_D_24tmpVar9,tmp101); ~~~ ^ Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Window_records.c:5455:12: error: member reference type 'boolean_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? ths->_D_24tmpVar8 = 0; ~~~^~ . Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Window_records.c:5455:14: error: no member named '_D_24tmpVar8' in 'struct base_array_s' ths->_D_24tmpVar8 = 0; ~~~ ^ Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Window_records.c:5456:43: error: member reference type 'boolean_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? *(boolean_array_element_addr1(&ths->_D_24tmpVar9, 1, tmp95++)) = ths->_D_24tmpVar8; ~~~^~ . Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Window_records.c:5456:45: error: no member named '_D_24tmpVar9' in 'struct base_array_s' *(boolean_array_element_addr1(&ths->_D_24tmpVar9, 1, tmp95++)) = ths->_D_24tmpVar8; ~~~ ^ Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Window_records.c:5456:77: error: member reference type 'boolean_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? *(boolean_array_element_addr1(&ths->_D_24tmpVar9, 1, tmp95++)) = ths->_D_24tmpVar8; ~~~^~ . Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Window_records.c:5456:79: error: no member named '_D_24tmpVar8' in 'struct base_array_s' *(boolean_array_element_addr1(&ths->_D_24tmpVar9, 1, tmp95++)) = ths->_D_24tmpVar8; ~~~ ^ Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Window_records.c:5463:16: error: member reference type 'boolean_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? tmp96 = ths->_D_24tmpVar9; ~~~^~ . Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Window_records.c:5463:18: error: no member named '_D_24tmpVar9' in 'struct base_array_s' tmp96 = ths->_D_24tmpVar9; ~~~ ^ 15 errors generated. make: *** [: Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Window_records.o] Error 1