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.318/2.318, allocations: 387.1 MB / 399.7 MB, free: 9.461 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.001205/0.001205, allocations: 172.9 kB / 492.3 MB, free: 0.6094 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.557/1.557, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.0009104/0.0009106, allocations: 98.41 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.502e-05/3.513e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.2991, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.963/5.262, allocations: 1.784 GB / 2.996 GB, free: 78.83 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003157/5.262, allocations: 87.95 kB / 2.997 GB, free: 78.74 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.473/6.736, allocations: 242.4 MB / 3.233 GB, free: 294.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.264e-06/6.736, allocations: 0 / 3.233 GB, free: 294.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.001172/6.737, allocations: 119.9 kB / 3.233 GB, free: 294.1 MB / 1.151 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.04008/6.777, allocations: 5.583 MB / 3.239 GB, free: 288.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/6.777, allocations: 12.03 kB / 3.239 GB, free: 288.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06146/6.838, allocations: 5.207 MB / 3.244 GB, free: 283.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.415/8.253, allocations: 293.5 MB / 3.53 GB, free: 317.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003273/8.254, allocations: 217.5 kB / 3.531 GB, free: 317.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001438/8.255, allocations: 289.6 kB / 3.531 GB, free: 317.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00961/8.265, allocations: 4.298 MB / 3.535 GB, free: 317.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.02e-05/8.265, allocations: 4.625 kB / 3.535 GB, free: 317.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000356/8.265, allocations: 107.1 kB / 3.535 GB, free: 317.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.666e-05/8.265, allocations: 60.56 kB / 3.535 GB, free: 317.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007774/8.273, allocations: 4.028 MB / 3.539 GB, free: 317 MB / 1.151 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.4964/8.769, allocations: 270 MB / 3.803 GB, free: 135.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005714/8.775, allocations: 3.463 MB / 3.806 GB, free: 132.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003096/8.778, allocations: 2.544 MB / 3.809 GB, free: 130 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002967/8.779, allocations: 94.05 kB / 3.809 GB, free: 129.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003311/8.782, allocations: 2.738 MB / 3.812 GB, free: 127.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=201): time 4.729e-06/8.782, allocations: 0 / 3.812 GB, free: 127.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=201): time 0.03377/8.816, allocations: 6.992 MB / 3.818 GB, free: 120.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004087/8.816, allocations: 428.6 kB / 3.819 GB, free: 119.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.576/10.39, allocations: 322.5 MB / 4.134 GB, free: 264.3 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.001394/10.39, allocations: 81.7 kB / 4.134 GB, free: 264.2 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.004263/10.4, allocations: 2.885 MB / 4.137 GB, free: 261.8 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.001262/10.4, allocations: 0.6677 MB / 4.137 GB, free: 261.3 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004397/10.4, allocations: 52 kB / 4.137 GB, free: 261.3 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001796/10.4, allocations: 418.1 kB / 4.138 GB, free: 260.9 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004496/10.4, allocations: 3.672 MB / 4.141 GB, free: 257.6 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007669/10.41, allocations: 4.216 MB / 4.145 GB, free: 253.7 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009967/10.42, allocations: 3.675 MB / 4.149 GB, free: 250.6 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.913e-05/10.42, allocations: 0 / 4.149 GB, free: 250.6 MB / 1.182 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.04749/10.47, allocations: 10.28 MB / 4.159 GB, free: 241.6 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009152/10.47, allocations: 3.366 MB / 4.162 GB, free: 238.1 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04628/10.52, allocations: 11.64 MB / 4.174 GB, free: 228.8 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.172/10.69, allocations: 46.71 MB / 4.219 GB, free: 200.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007461/10.7, allocations: 1.211 MB / 4.22 GB, free: 199.7 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009281/10.71, allocations: 8.541 MB / 4.229 GB, free: 190.8 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03025/10.74, allocations: 1.622 MB / 4.23 GB, free: 189.2 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001491/10.74, allocations: 192.7 kB / 4.231 GB, free: 189 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/10.74, allocations: 8 kB / 4.231 GB, free: 189 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01837/10.76, allocations: 9.316 MB / 4.24 GB, free: 179.7 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01459/10.77, allocations: 8.469 MB / 4.248 GB, free: 171.2 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005087/10.78, allocations: 1.495 MB / 4.249 GB, free: 169.7 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009542/10.79, allocations: 1.465 MB / 4.251 GB, free: 168.3 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02003/10.81, allocations: 12.96 MB / 4.264 GB, free: 154.9 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03146/10.84, allocations: 1.574 MB / 4.265 GB, free: 153.3 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001495/10.84, allocations: 179.8 kB / 4.265 GB, free: 153.2 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.002189/10.84, allocations: 406.3 kB / 4.266 GB, free: 152.8 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02286/10.86, allocations: 0.6056 MB / 4.266 GB, free: 152.2 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01657/10.88, allocations: 7.903 MB / 4.274 GB, free: 144.3 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.17e-05/10.88, allocations: 20 kB / 4.274 GB, free: 144.3 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.377e-05/10.88, allocations: 4.844 kB / 4.274 GB, free: 144.3 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.034e-05/10.88, allocations: 11.95 kB / 4.274 GB, free: 144.3 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1814/11.06, allocations: 135.6 MB / 4.406 GB, free: 8.383 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.8441/11.91, allocations: 10.12 MB / 4.416 GB, free: 348.3 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004844/11.91, allocations: 0.6266 MB / 4.417 GB, free: 348.3 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.155/12.07, allocations: 25.39 MB / 4.442 GB, free: 348.3 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001001/12.07, allocations: 84.5 kB / 4.442 GB, free: 348.3 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01079/12.08, allocations: 8.469 MB / 4.45 GB, free: 343.8 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/12.08, allocations: 4.062 kB / 4.45 GB, free: 343.8 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06965/12.15, allocations: 10.92 MB / 4.461 GB, free: 343.4 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.1144/12.26, allocations: 64.62 MB / 4.524 GB, free: 326.7 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02925/12.29, allocations: 54.62 kB / 4.524 GB, free: 326.6 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02771/12.32, allocations: 1.098 MB / 4.525 GB, free: 325.8 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001055/12.32, allocations: 135.3 kB / 4.525 GB, free: 325.7 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001036/12.32, allocations: 133.3 kB / 4.525 GB, free: 325.6 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.2794/12.6, allocations: 236.4 MB / 4.756 GB, free: 104.4 MB / 1.182 GB Notification: Performance of sort global known variables: time 5.01e-07/12.6, allocations: 4 kB / 4.756 GB, free: 104.4 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.07368/12.67, allocations: 32.97 MB / 4.788 GB, free: 71.75 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.006786/12.68, allocations: 2.008 MB / 4.79 GB, free: 70.58 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.02285/12.7, allocations: 14.55 MB / 4.804 GB, free: 57.51 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/12.7, allocations: 4.188 kB / 4.804 GB, free: 57.51 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.006105/12.71, allocations: 3.683 MB / 4.808 GB, free: 54.23 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02357/12.73, allocations: 0.8808 MB / 4.809 GB, free: 53.48 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02987/12.76, allocations: 12.17 MB / 4.821 GB, free: 42.47 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007542/12.77, allocations: 4.007 MB / 4.825 GB, free: 39.47 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.9187/13.69, allocations: 87.16 MB / 4.91 GB, free: 333.1 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00192/13.69, allocations: 290.6 kB / 4.91 GB, free: 333.1 MB / 1.182 GB Notification: Performance of SimCode: time 1.563e-06/13.69, allocations: 3.469 kB / 4.91 GB, free: 333.1 MB / 1.182 GB Notification: Performance of Templates: time 5.335/19.03, allocations: 1.585 GB / 6.495 GB, free: 32.72 MB / 1.307 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:5429:22: error: expected ';' at end of declaration boolean_array ths->_D_24tmpVar9; ^ ; Buildings_9_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_9_Buildings.HeatTransfer.Windows.Examples.Window_records.c:5429:19: note: previous definition is here boolean_array ths->_D_24tmpVar9; ^ Buildings_9_Buildings.HeatTransfer.Windows.Examples.Window_records.c:5430:25: error: expected ';' at end of declaration modelica_boolean ths->_D_24tmpVar8; ^ ; Buildings_9_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_9_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_9_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_9_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_9_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_9_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_9_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_9_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_9_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_9_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_9_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_9_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_9_Buildings.HeatTransfer.Windows.Examples.Window_records.o] Error 1