Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.Examples.Window.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.Examples.Window,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.Examples.Window") translateModel(Buildings.HeatTransfer.Windows.Examples.Window,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.Examples.Window") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.734/1.734, allocations: 289.7 MB / 302.2 MB, free: 2.176 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001267/0.001267, allocations: 178.7 kB / 371.6 MB, free: 3.391 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.795/1.795, allocations: 205.1 MB / 0.6309 GB, free: 11.74 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009881/0.0009885, allocations: 93.47 kB / 0.745 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.855e-05/4.89e-05, allocations: 4 kB / 0.8662 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3539, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.468/6.822, allocations: 2.126 GB / 3.106 GB, free: 111.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000377/6.822, allocations: 92.61 kB / 3.106 GB, free: 111.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.358/8.181, allocations: 240.7 MB / 3.341 GB, free: 199.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.777e-06/8.181, allocations: 0 / 3.341 GB, free: 199.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001439/8.182, allocations: 128.3 kB / 3.341 GB, free: 199.6 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 636 * Number of variables: 636 Notification: Performance of Generate backend data structure: time 0.04538/8.227, allocations: 5.547 MB / 3.346 GB, free: 197.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.147e-05/8.228, allocations: 15.06 kB / 3.346 GB, free: 197.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05768/8.285, allocations: 5.21 MB / 3.352 GB, free: 196.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.257/9.543, allocations: 293.5 MB / 3.638 GB, free: 193.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002901/9.543, allocations: 217.5 kB / 3.638 GB, free: 193.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001555/9.545, allocations: 284.8 kB / 3.639 GB, free: 193.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008885/9.553, allocations: 4.271 MB / 3.643 GB, free: 192.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.808e-05/9.553, allocations: 1 kB / 3.643 GB, free: 192.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003575/9.554, allocations: 105.4 kB / 3.643 GB, free: 192.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-05/9.554, allocations: 61.44 kB / 3.643 GB, free: 192.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006288/9.56, allocations: 4.02 MB / 3.647 GB, free: 191.2 MB / 0.948 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.4993/10.06, allocations: 269.4 MB / 3.91 GB, free: 2.316 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005876/10.07, allocations: 3.456 MB / 3.913 GB, free: 14.89 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003808/10.07, allocations: 2.541 MB / 3.916 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003029/10.07, allocations: 95.75 kB / 3.916 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004335/10.07, allocations: 2.745 MB / 3.919 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=201): time 5.911e-06/10.07, allocations: 0.5625 kB / 3.919 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of matching and sorting (n=201): time 0.03765/10.11, allocations: 6.978 MB / 3.925 GB, free: 2.523 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003803/10.11, allocations: 436 kB / 3.926 GB, free: 2.035 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.405/11.52, allocations: 322.4 MB / 4.241 GB, free: 47.54 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.001752/11.52, allocations: 81.7 kB / 4.241 GB, free: 47.45 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.006092/11.53, allocations: 2.884 MB / 4.244 GB, free: 45.05 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.001339/11.53, allocations: 0.6683 MB / 4.244 GB, free: 44.54 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004838/11.53, allocations: 52 kB / 4.244 GB, free: 44.49 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002463/11.53, allocations: 425.2 kB / 4.245 GB, free: 44.1 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005413/11.53, allocations: 3.668 MB / 4.248 GB, free: 40.86 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006141/11.54, allocations: 4.225 MB / 4.252 GB, free: 36.95 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005391/11.54, allocations: 3.669 MB / 4.256 GB, free: 33.78 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/11.54, allocations: 4.75 kB / 4.256 GB, free: 33.77 MB / 0.9792 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.03891/11.58, allocations: 10.28 MB / 4.266 GB, free: 24.81 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007228/11.58, allocations: 3.363 MB / 4.269 GB, free: 21.29 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04245/11.63, allocations: 11.6 MB / 4.281 GB, free: 12.03 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.8664/12.49, allocations: 49.8 MB / 4.329 GB, free: 229.3 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007716/12.5, allocations: 1.212 MB / 4.33 GB, free: 229.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009382/12.51, allocations: 8.544 MB / 4.339 GB, free: 224.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03395/12.54, allocations: 1.618 MB / 4.34 GB, free: 224.9 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001791/12.55, allocations: 185.4 kB / 4.341 GB, free: 224.9 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/12.55, allocations: 3.031 kB / 4.341 GB, free: 224.9 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01834/12.56, allocations: 9.313 MB / 4.35 GB, free: 224.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0155/12.58, allocations: 8.469 MB / 4.358 GB, free: 224.4 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004738/12.58, allocations: 1.493 MB / 4.359 GB, free: 224.4 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009263/12.59, allocations: 1.466 MB / 4.361 GB, free: 224.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01616/12.61, allocations: 12.98 MB / 4.373 GB, free: 218.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03124/12.64, allocations: 1.571 MB / 4.375 GB, free: 218.9 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001441/12.64, allocations: 184.2 kB / 4.375 GB, free: 218.9 MB / 0.9792 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.00207/12.65, allocations: 403.1 kB / 4.376 GB, free: 218.7 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0234/12.67, allocations: 0.5982 MB / 4.376 GB, free: 218.4 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01701/12.69, allocations: 7.896 MB / 4.384 GB, free: 218.1 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.932e-05/12.69, allocations: 29.98 kB / 4.384 GB, free: 218.1 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/12.69, allocations: 3.719 kB / 4.384 GB, free: 218.1 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-05/12.69, allocations: 10.45 kB / 4.384 GB, free: 218.1 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2033/12.89, allocations: 135.6 MB / 4.516 GB, free: 172.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.04266/12.93, allocations: 10.08 MB / 4.526 GB, free: 162.2 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003735/12.94, allocations: 0.6302 MB / 4.527 GB, free: 161.6 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1327/13.07, allocations: 25.38 MB / 4.552 GB, free: 136.3 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001003/13.07, allocations: 87.91 kB / 4.552 GB, free: 136.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009154/13.08, allocations: 8.469 MB / 4.56 GB, free: 127.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/13.08, allocations: 2.625 kB / 4.56 GB, free: 127.4 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0691/13.15, allocations: 10.88 MB / 4.571 GB, free: 116.5 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.1348/13.28, allocations: 64.61 MB / 4.634 GB, free: 51.89 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02748/13.31, allocations: 63.94 kB / 4.634 GB, free: 51.83 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02815/13.34, allocations: 1.096 MB / 4.635 GB, free: 50.73 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009965/13.34, allocations: 133.8 kB / 4.635 GB, free: 50.61 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004517/13.34, allocations: 136.9 kB / 4.635 GB, free: 50.48 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 1.17/14.51, allocations: 236.4 MB / 4.866 GB, free: 152 MB / 0.9792 GB Notification: Performance of sort global known variables: time 9.52e-07/14.51, allocations: 0 / 4.866 GB, free: 152 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.07989/14.59, allocations: 32.93 MB / 4.898 GB, free: 119.4 MB / 0.9792 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.006303/14.6, allocations: 1.966 MB / 4.9 GB, free: 118.4 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.02424/14.62, allocations: 14.55 MB / 4.914 GB, free: 105.3 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/14.62, allocations: 3.359 kB / 4.914 GB, free: 105.3 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.005679/14.63, allocations: 3.69 MB / 4.918 GB, free: 102.1 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02763/14.65, allocations: 0.8782 MB / 4.919 GB, free: 101.3 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03032/14.68, allocations: 12.17 MB / 4.931 GB, free: 90.36 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00553/14.69, allocations: 4.003 MB / 4.934 GB, free: 87.4 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.1295/14.82, allocations: 87.17 MB / 5.02 GB, free: 4.035 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002278/14.82, allocations: 286.5 kB / 5.02 GB, free: 3.801 MB / 0.9792 GB Notification: Performance of SimCode: time 2.425e-06/14.82, allocations: 0 / 5.02 GB, free: 3.801 MB / 0.9792 GB Notification: Performance of Templates: time 5.781/20.6, allocations: 1.591 GB / 6.61 GB, free: 15.79 MB / 1.198 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Windows.Examples.Window.makefile make -j1 -f Buildings_8_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/Buildings 8.1.4-maint.8.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_8_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_8_Buildings.HeatTransfer.Windows.Examples.Window.o Buildings_8_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/Buildings 8.1.4-maint.8.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_8_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_8_Buildings.HeatTransfer.Windows.Examples.Window_functions.o Buildings_8_Buildings.HeatTransfer.Windows.Examples.Window_functions.c Buildings_8_Buildings.HeatTransfer.Windows.Examples.Window_functions.c:1549:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_N == ((modelica_integer) 1))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_8_Buildings.HeatTransfer.Windows.Examples.Window_functions.c:1549:10: note: remove extraneous parentheses around the comparison to silence this warning if((_N == ((modelica_integer) 1))) ~ ^ ~ Buildings_8_Buildings.HeatTransfer.Windows.Examples.Window_functions.c:1549: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/Buildings 8.1.4-maint.8.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_8_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_8_Buildings.HeatTransfer.Windows.Examples.Window_records.o Buildings_8_Buildings.HeatTransfer.Windows.Examples.Window_records.c Buildings_8_Buildings.HeatTransfer.Windows.Examples.Window_records.c:5429:22: error: expected ';' at end of declaration boolean_array ths->_D_24tmpVar9; ^ ; Buildings_8_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_8_Buildings.HeatTransfer.Windows.Examples.Window_records.c:5429:19: note: previous definition is here boolean_array ths->_D_24tmpVar9; ^ Buildings_8_Buildings.HeatTransfer.Windows.Examples.Window_records.c:5430:25: error: expected ';' at end of declaration modelica_boolean ths->_D_24tmpVar8; ^ ; Buildings_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_Buildings.HeatTransfer.Windows.Examples.Window_records.o] Error 1