Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.Examples.Window.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.HeatTransfer.Windows.Examples.Window") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.48/2.48, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001175/0.001175, allocations: 179.3 kB / 498.1 MB, free: 5.742 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.804/1.804, allocations: 223.2 MB / 0.7949 GB, free: 17.96 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.001027/0.001026, allocations: 100.3 kB / 0.9346 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003832/0.0003832, allocations: 13.67 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3917/0.3921, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.151/5.543, allocations: 1.784 GB / 3.007 GB, free: 231 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003453/5.544, allocations: 103.1 kB / 3.007 GB, free: 230.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.238/6.782, allocations: 242.6 MB / 3.244 GB, free: 301.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.246e-06/6.782, allocations: 0 / 3.244 GB, free: 301.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.001378/6.783, allocations: 122.8 kB / 3.244 GB, free: 301.8 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.1959/6.979, allocations: 71.59 MB / 3.314 GB, free: 298.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/6.979, allocations: 6.75 kB / 3.314 GB, free: 298.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05422/7.034, allocations: 5.217 MB / 3.319 GB, free: 298.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3563/7.39, allocations: 294.7 MB / 3.607 GB, free: 44.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002495/7.39, allocations: 221.9 kB / 3.607 GB, free: 44.59 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001811/7.392, allocations: 291.1 kB / 3.607 GB, free: 44.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01291/7.405, allocations: 4.963 MB / 3.612 GB, free: 40.36 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.531e-05/7.405, allocations: 0 / 3.612 GB, free: 40.36 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003986/7.406, allocations: 108 kB / 3.612 GB, free: 40.25 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.281e-05/7.406, allocations: 62.16 kB / 3.612 GB, free: 40.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01069/7.416, allocations: 4.767 MB / 3.617 GB, free: 36.39 MB / 1.167 GB 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 1.551/8.967, allocations: 270 MB / 3.881 GB, free: 196.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01588/8.983, allocations: 4.178 MB / 3.885 GB, free: 193.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004172/8.983, allocations: 94.23 kB / 3.885 GB, free: 193.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01296/8.996, allocations: 3.385 MB / 3.888 GB, free: 190.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=201): time 6.582e-06/8.996, allocations: 0 / 3.888 GB, free: 190.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=201): time 0.1109/9.107, allocations: 16.18 MB / 3.904 GB, free: 178.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004682/9.108, allocations: 430.2 kB / 3.904 GB, free: 178.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.716/10.82, allocations: 323.9 MB / 4.221 GB, free: 297.9 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.00212/10.83, allocations: 81.7 kB / 4.221 GB, free: 297.9 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.008529/10.84, allocations: 2.887 MB / 4.224 GB, free: 295.4 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.002545/10.84, allocations: 0.6637 MB / 4.224 GB, free: 294.9 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001952/10.84, allocations: 48 kB / 4.224 GB, free: 294.8 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0006533/10.84, allocations: 420.7 kB / 4.225 GB, free: 294.5 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01538/10.86, allocations: 4.89 MB / 4.23 GB, free: 290.6 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0154/10.87, allocations: 5.436 MB / 4.235 GB, free: 286 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01478/10.89, allocations: 4.882 MB / 4.24 GB, free: 282 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.487e-05/10.89, allocations: 0 / 4.24 GB, free: 282 MB / 1.182 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.06353/10.95, allocations: 13.29 MB / 4.253 GB, free: 271.2 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001788/10.95, allocations: 3.362 MB / 4.256 GB, free: 267.7 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0658/11.02, allocations: 13.93 MB / 4.269 GB, free: 257 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1862/11.2, allocations: 47.11 MB / 4.316 GB, free: 230.3 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007645/11.21, allocations: 1.217 MB / 4.317 GB, free: 229.5 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0145/11.23, allocations: 9.159 MB / 4.326 GB, free: 220.8 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03103/11.26, allocations: 1.616 MB / 4.327 GB, free: 219.6 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001731/11.26, allocations: 188.4 kB / 4.327 GB, free: 219.5 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/11.26, allocations: 7.656 kB / 4.327 GB, free: 219.5 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03795/11.3, allocations: 11.75 MB / 4.339 GB, free: 210 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03349/11.33, allocations: 10.53 MB / 4.349 GB, free: 201.4 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005304/11.34, allocations: 1.501 MB / 4.351 GB, free: 200.2 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009924/11.35, allocations: 1.468 MB / 4.352 GB, free: 199.2 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01878/11.36, allocations: 13.36 MB / 4.365 GB, free: 186.8 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03104/11.4, allocations: 1.575 MB / 4.367 GB, free: 185.7 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001605/11.4, allocations: 188.4 kB / 4.367 GB, free: 185.5 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 () * Number of clocked 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.007492/11.4, allocations: 2.602 MB / 4.369 GB, free: 183.2 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02378/11.43, allocations: 0.6055 MB / 4.37 GB, free: 182.6 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0346/11.46, allocations: 9.765 MB / 4.379 GB, free: 174.6 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.002e-05/11.46, allocations: 20 kB / 4.38 GB, free: 174.6 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.451e-05/11.46, allocations: 0 / 4.38 GB, free: 174.6 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-05/11.46, allocations: 11.95 kB / 4.38 GB, free: 174.5 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2327/11.7, allocations: 137.5 MB / 4.514 GB, free: 36.81 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.05735/11.75, allocations: 11.65 MB / 4.525 GB, free: 25.23 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004115/11.76, allocations: 0.6315 MB / 4.526 GB, free: 24.61 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.091/12.85, allocations: 25.79 MB / 4.551 GB, free: 304.5 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009626/12.85, allocations: 82.08 kB / 4.551 GB, free: 304.5 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01482/12.86, allocations: 9.098 MB / 4.56 GB, free: 300.1 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/12.86, allocations: 0 / 4.56 GB, free: 300.1 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08771/12.95, allocations: 12.44 MB / 4.572 GB, free: 299.6 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.1284/13.08, allocations: 64.62 MB / 4.635 GB, free: 299.2 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02681/13.11, allocations: 59.94 kB / 4.635 GB, free: 299.2 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02711/13.13, allocations: 1.092 MB / 4.636 GB, free: 299.2 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001023/13.14, allocations: 140.8 kB / 4.636 GB, free: 299.2 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009518/13.14, allocations: 134.2 kB / 4.637 GB, free: 299.2 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.2736/13.41, allocations: 237.7 MB / 4.869 GB, free: 102.9 MB / 1.182 GB Notification: Performance of sort global known variables: time 8.62e-07/13.41, allocations: 0 / 4.869 GB, free: 102.9 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.08257/13.49, allocations: 32.96 MB / 4.901 GB, free: 70.23 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) * Number of clocked states: 0 () * 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.006802/13.5, allocations: 1.962 MB / 4.903 GB, free: 69.23 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.04112/13.54, allocations: 17.03 MB / 4.919 GB, free: 54.98 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/13.54, allocations: 2.281 kB / 4.919 GB, free: 54.98 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.009598/13.55, allocations: 4.334 MB / 4.924 GB, free: 51.37 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02362/13.57, allocations: 0.8786 MB / 4.924 GB, free: 50.64 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03937/13.61, allocations: 16.32 MB / 4.94 GB, free: 36.12 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008979/13.62, allocations: 3.989 MB / 4.944 GB, free: 33.18 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.05311/13.68, allocations: 34.19 MB / 4.978 GB, free: 72 kB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.7853/14.46, allocations: 12.77 MB / 4.99 GB, free: 289.4 MB / 1.182 GB Notification: Performance of SimCode: time 1.723e-06/14.46, allocations: 0 / 4.99 GB, free: 289.4 MB / 1.182 GB Notification: Performance of Templates: time 4.858/19.32, allocations: 1.573 GB / 6.563 GB, free: 100.9 MB / 1.37 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.Examples.Window.makefile make -j1 -f Buildings_9_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 9.1.1-maint.9.1.x/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_9_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_9_Buildings.HeatTransfer.Windows.Examples.Window.o Buildings_9_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 9.1.1-maint.9.1.x/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_9_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_9_Buildings.HeatTransfer.Windows.Examples.Window_functions.o Buildings_9_Buildings.HeatTransfer.Windows.Examples.Window_functions.c Buildings_9_Buildings.HeatTransfer.Windows.Examples.Window_functions.c:1630:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_N == ((modelica_integer) 1))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_9_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_9_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 9.1.1-maint.9.1.x/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_9_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_9_Buildings.HeatTransfer.Windows.Examples.Window_records.o Buildings_9_Buildings.HeatTransfer.Windows.Examples.Window_records.c Buildings_9_Buildings.HeatTransfer.Windows.Examples.Window_records.c:4576:22: error: expected ';' at end of declaration boolean_array ths->__omcQ_24tmpVar9; ^ ; Buildings_9_Buildings.HeatTransfer.Windows.Examples.Window_records.c:4577: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->__omcQ_24tmpVar8; ^ Buildings_9_Buildings.HeatTransfer.Windows.Examples.Window_records.c:4576:19: note: previous definition is here boolean_array ths->__omcQ_24tmpVar9; ^ Buildings_9_Buildings.HeatTransfer.Windows.Examples.Window_records.c:4577:25: error: expected ';' at end of declaration modelica_boolean ths->__omcQ_24tmpVar8; ^ ; Buildings_9_Buildings.HeatTransfer.Windows.Examples.Window_records.c:4585:45: error: member reference type 'boolean_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? tmp94 = size_of_dimension_base_array(ths->_glass, ((modelica_integer) 1)); ~~~^~ . Buildings_9_Buildings.HeatTransfer.Windows.Examples.Window_records.c:4585:47: error: no member named '_glass' in 'struct base_array_s' tmp94 = size_of_dimension_base_array(ths->_glass, ((modelica_integer) 1)); ~~~ ^ Buildings_9_Buildings.HeatTransfer.Windows.Examples.Window_records.c:4594: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->__omcQ_24tmpVar9,tmp95); ~~~^~ . Buildings_9_Buildings.HeatTransfer.Windows.Examples.Window_records.c:4594:41: error: no member named '__omcQ_24tmpVar9' in 'struct base_array_s' simple_alloc_1d_boolean_array(&ths->__omcQ_24tmpVar9,tmp95); ~~~ ^ Buildings_9_Buildings.HeatTransfer.Windows.Examples.Window_records.c:4602:12: error: member reference type 'boolean_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? ths->__omcQ_24tmpVar8 = 0; ~~~^~ . Buildings_9_Buildings.HeatTransfer.Windows.Examples.Window_records.c:4602:14: error: no member named '__omcQ_24tmpVar8' in 'struct base_array_s' ths->__omcQ_24tmpVar8 = 0; ~~~ ^ Buildings_9_Buildings.HeatTransfer.Windows.Examples.Window_records.c:4603: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->__omcQ_24tmpVar9, 1, tmp89++)) = ths->__omcQ_24tmpVar8; ~~~^~ . Buildings_9_Buildings.HeatTransfer.Windows.Examples.Window_records.c:4603:45: error: no member named '__omcQ_24tmpVar9' in 'struct base_array_s' *(boolean_array_element_addr1(&ths->__omcQ_24tmpVar9, 1, tmp89++)) = ths->__omcQ_24tmpVar8; ~~~ ^ Buildings_9_Buildings.HeatTransfer.Windows.Examples.Window_records.c:4603:81: 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->__omcQ_24tmpVar9, 1, tmp89++)) = ths->__omcQ_24tmpVar8; ~~~^~ . Buildings_9_Buildings.HeatTransfer.Windows.Examples.Window_records.c:4603:83: error: no member named '__omcQ_24tmpVar8' in 'struct base_array_s' *(boolean_array_element_addr1(&ths->__omcQ_24tmpVar9, 1, tmp89++)) = ths->__omcQ_24tmpVar8; ~~~ ^ Buildings_9_Buildings.HeatTransfer.Windows.Examples.Window_records.c:4610:16: error: member reference type 'boolean_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? tmp90 = ths->__omcQ_24tmpVar9; ~~~^~ . Buildings_9_Buildings.HeatTransfer.Windows.Examples.Window_records.c:4610:18: error: no member named '__omcQ_24tmpVar9' in 'struct base_array_s' tmp90 = ths->__omcQ_24tmpVar9; ~~~ ^ 15 errors generated. make: *** [: Buildings_9_Buildings.HeatTransfer.Windows.Examples.Window_records.o] Error 1