Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.141/4.141, allocations: 432.6 MB / 445.2 MB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.001e-05/4.011e-05, allocations: 5.359 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.267, allocations: 98.73 MB / 0.6347 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.495/1.762, allocations: 449.6 MB / 1.074 GB, free: 5.574 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004569/1.763, allocations: 98.5 kB / 1.074 GB, free: 5.523 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.774/9.537, allocations: 1.267 GB / 2.34 GB, free: 42.44 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.463e-06/9.537, allocations: 0 / 2.34 GB, free: 42.44 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.001616/9.539, allocations: 143.8 kB / 2.341 GB, free: 42.3 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 684 * Number of variables: 684 Notification: Performance of Generate backend data structure: time 0.02394/9.563, allocations: 5.834 MB / 2.346 GB, free: 36.39 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/9.563, allocations: 12.03 kB / 2.346 GB, free: 36.38 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001896/9.565, allocations: 387.4 kB / 2.347 GB, free: 35.99 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005362/9.57, allocations: 0.718 MB / 2.347 GB, free: 35.26 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1013/9.671, allocations: 30.09 MB / 2.377 GB, free: 5.055 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004138/9.672, allocations: 253.4 kB / 2.377 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001944/9.674, allocations: 367.8 kB / 2.377 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01167/9.685, allocations: 3.916 MB / 2.381 GB, free: 372 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001074/9.686, allocations: 7.938 kB / 2.381 GB, free: 364 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005031/9.686, allocations: 114.9 kB / 2.381 GB, free: 252 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-05/9.686, allocations: 83.92 kB / 2.381 GB, free: 168 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01064/9.697, allocations: 3.127 MB / 2.384 GB, free: 13.02 MB / 0.8542 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.0624/9.759, allocations: 21.97 MB / 2.406 GB, free: 6.41 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01367/9.773, allocations: 3.731 MB / 2.41 GB, free: 2.645 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004455/9.778, allocations: 1.542 MB / 2.411 GB, free: 1.105 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7269/10.5, allocations: 10.71 MB / 2.422 GB, free: 92.65 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003969/10.51, allocations: 1.358 MB / 2.423 GB, free: 92.56 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=169): time 5.791e-06/10.51, allocations: 0 / 2.423 GB, free: 92.56 MB / 0.8698 GB Notification: Performance of matching and sorting (n=169): time 0.009852/10.52, allocations: 2.825 MB / 2.426 GB, free: 92.45 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.666e-05/10.52, allocations: 99.94 kB / 2.426 GB, free: 92.35 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0255/10.54, allocations: 8.137 MB / 2.434 GB, free: 91.95 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0009787/10.55, allocations: 94.42 kB / 2.434 GB, free: 91.92 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.005337/10.55, allocations: 2.685 MB / 2.436 GB, free: 91.48 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001742/10.55, allocations: 0.6198 MB / 2.437 GB, free: 91.17 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004999/10.55, allocations: 68.97 kB / 2.437 GB, free: 91.17 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0004029/10.55, allocations: 460.6 kB / 2.437 GB, free: 90.86 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004549/10.56, allocations: 1.92 MB / 2.439 GB, free: 90.85 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006718/10.56, allocations: 3.851 MB / 2.443 GB, free: 88.79 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006093/10.57, allocations: 2.515 MB / 2.446 GB, free: 88.72 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.665e-05/10.57, allocations: 16.09 kB / 2.446 GB, free: 88.72 MB / 0.8698 GB Notification: Performance of matching and sorting (n=432) (initialization): time 0.01727/10.59, allocations: 5.972 MB / 2.451 GB, free: 88.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.00575/10.59, allocations: 24.92 MB / 2.476 GB, free: 63.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002076/10.59, allocations: 50.97 kB / 2.476 GB, free: 63.05 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001166/10.6, allocations: 250.5 kB / 2.476 GB, free: 63.03 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007202/10.6, allocations: 0.9762 MB / 2.477 GB, free: 63.03 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004356/10.61, allocations: 4.713 MB / 2.482 GB, free: 59.29 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01613/10.62, allocations: 1.903 MB / 2.483 GB, free: 59.17 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001132/10.62, allocations: 185.3 kB / 2.484 GB, free: 59.17 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/10.62, allocations: 3.812 kB / 2.484 GB, free: 59.17 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01394/10.64, allocations: 5.447 MB / 2.489 GB, free: 59.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002237/10.64, allocations: 50.44 kB / 2.489 GB, free: 59.07 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009137/10.64, allocations: 247.1 kB / 2.489 GB, free: 59.04 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007111/10.65, allocations: 0.9764 MB / 2.49 GB, free: 59.04 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004333/10.65, allocations: 4.706 MB / 2.495 GB, free: 55.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01583/10.67, allocations: 1.823 MB / 2.497 GB, free: 55.21 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001195/10.67, allocations: 181.2 kB / 2.497 GB, free: 55.21 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 228 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (428): * Single equations (assignments): 424 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001322/10.67, allocations: 340.2 kB / 2.497 GB, free: 55.11 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002725/10.67, allocations: 0.5556 MB / 2.498 GB, free: 54.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009791/10.68, allocations: 3.427 MB / 2.501 GB, free: 54.59 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.452e-05/10.68, allocations: 21.41 kB / 2.501 GB, free: 54.59 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/10.68, allocations: 4.406 kB / 2.501 GB, free: 54.59 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005278/10.69, allocations: 2.617 MB / 2.504 GB, free: 54.09 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01958/10.71, allocations: 7.09 MB / 2.51 GB, free: 53.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.282e-05/10.71, allocations: 0 / 2.51 GB, free: 53.66 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004166/10.71, allocations: 444.3 kB / 2.511 GB, free: 53.66 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009133/10.71, allocations: 181.9 kB / 2.511 GB, free: 53.64 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004559/10.71, allocations: 86.48 kB / 2.511 GB, free: 53.64 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004057/10.72, allocations: 4.655 MB / 2.516 GB, free: 49.88 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/10.72, allocations: 0 / 2.516 GB, free: 49.88 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01087/10.73, allocations: 4.363 MB / 2.52 GB, free: 49.33 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008731/10.74, allocations: 4.77 MB / 2.525 GB, free: 45.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002557/10.74, allocations: 78.44 kB / 2.525 GB, free: 45.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009649/10.75, allocations: 0.8489 MB / 2.525 GB, free: 45.92 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007116/10.75, allocations: 110.7 kB / 2.526 GB, free: 45.91 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002354/10.75, allocations: 58.05 kB / 2.526 GB, free: 45.91 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.01683/10.77, allocations: 6.113 MB / 2.532 GB, free: 45.67 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.715e-06/10.77, allocations: 3.281 kB / 2.532 GB, free: 45.67 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01813/10.79, allocations: 3.263 MB / 2.535 GB, free: 45.55 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 30 (sla1.vol[1].dynBal.U,sla1.con_a[1].lay[1].T[1],sla1.con_a[1].lay[1].T[2],sla1.con_a[1].lay[1].T[3],sla1.con_a[1].lay[1].T[4],sla1.con_a[1].lay[1].T[5],sla1.con_b[1].lay[1].T[1],sla1.con_b[1].lay[2].T[1],sla1.con_b[1].lay[2].T[2],sla2.vol[1].dynBal.U,sla2.con_a[1].lay[1].T[1],sla2.con_a[1].lay[1].T[2],sla2.con_a[1].lay[1].T[3],sla2.con_a[1].lay[1].T[4],sla2.con_a[1].lay[1].T[5],sla2.con_b[1].lay[1].T[1],sla2.con_b[1].lay[2].T[1],sla2.con_b[1].lay[2].T[2],sla3.sla.vol[1].dynBal.U,sla3.sla.con_a[1].lay[1].T[1],sla3.sla.con_a[1].lay[1].T[2],sla3.sla.con_a[1].lay[1].T[3],sla3.sla.con_a[1].lay[1].T[4],sla3.sla.con_a[1].lay[1].T[5],sla3.sla.con_b[1].lay[1].T[1],sla3.sla.con_b[1].lay[2].T[1],sla3.sla.con_b[1].lay[2].T[2],senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (167): * Single equations (assignments): 158 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01556/10.8, allocations: 6.625 MB / 2.541 GB, free: 44.23 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01771/10.82, allocations: 7.501 MB / 2.549 GB, free: 43.39 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.809e-06/10.82, allocations: 4.5 kB / 2.549 GB, free: 43.39 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003639/10.82, allocations: 1.597 MB / 2.55 GB, free: 43.05 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01896/10.84, allocations: 2.416 MB / 2.553 GB, free: 43.02 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04227/10.88, allocations: 14.11 MB / 2.566 GB, free: 40.74 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008813/10.89, allocations: 4.442 MB / 2.571 GB, free: 39.84 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.02551/10.92, allocations: 5.497 MB / 2.576 GB, free: 39.64 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005907/10.92, allocations: 2.317 MB / 2.578 GB, free: 39.63 MB / 0.8698 GB Notification: Performance of SimCode: time 1.763e-06/10.92, allocations: 4 kB / 2.578 GB, free: 39.63 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.14/12.06, allocations: 182.4 MB / 2.756 GB, free: 112.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003228/12.06, allocations: 268.7 kB / 2.757 GB, free: 111.9 MB / 0.9167 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_6_0_0_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU_08bnd_part0.o Buildings_6_0_0_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU_08bnd_part0.c In file included from Buildings_6_0_0_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU_08bnd_part0.c:1: In file included from ./Buildings_6_0_0_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_6_0_0_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU_08bnd_part1.o Buildings_6_0_0_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU_08bnd_part1.c In file included from Buildings_6_0_0_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU_08bnd_part1.c:1: In file included from ./Buildings_6_0_0_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_6_0_0_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU.o Buildings_6_0_0_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU.c In file included from Buildings_6_0_0_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU.c:7: In file included from ./Buildings_6_0_0_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_6_0_0_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU_functions.o Buildings_6_0_0_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU_functions.c In file included from Buildings_6_0_0_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU_functions.c:2: In file included from ./Buildings_6_0_0_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_6_0_0_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU_records.o Buildings_6_0_0_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU_records.c In file included from Buildings_6_0_0_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Buildings_6_0_0_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU_records.c:4111:22: error: expected ';' at end of declaration modelica_real ths->_D_24tmpVar5; ^ ; Buildings_6_0_0_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU_records.c:4112:19: error: redefinition of 'ths' modelica_real ths->_D_24tmpVar4; ^ Buildings_6_0_0_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU_records.c:4111:19: note: previous definition is here modelica_real ths->_D_24tmpVar5; ^ Buildings_6_0_0_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU_records.c:4112:22: error: expected ';' at end of declaration modelica_real ths->_D_24tmpVar4; ^ ; Buildings_6_0_0_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU_records.c:4118:17: error: member reference type 'modelica_real' (aka 'double') is not a pointer tmp9 = ths->_nLay /* Range stop-value */; ~~~ ^ Buildings_6_0_0_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU_records.c:4121:10: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar5 = 0.0; /* defaultValue */ ~~~ ^ Buildings_6_0_0_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU_records.c:4129:14: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar4 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_material, 1, ths->_i)._R; ~~~ ^ Buildings_6_0_0_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU_records.c:4129:93: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar4 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_material, 1, ths->_i)._R; ~~~ ^ ./Buildings_6_0_0_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU_functions.h:175:164: note: expanded from macro 'Buildings_HeatTransfer_Data_BaseClasses_Material_array_get' #define Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(src,ndims,...) (*(Buildings_HeatTransfer_Data_BaseClasses_Material*)(generic_array_get(&src, sizeof(Buildings_HeatTransfer_Data_BaseClasses_Material), __VA_ARGS__))) ^~~ Buildings_6_0_0_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU_records.c:4129:112: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar4 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_material, 1, ths->_i)._R; ~~~ ^ ./Buildings_6_0_0_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU_functions.h:175:227: note: expanded from macro 'Buildings_HeatTransfer_Data_BaseClasses_Material_array_get' #define Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(src,ndims,...) (*(Buildings_HeatTransfer_Data_BaseClasses_Material*)(generic_array_get(&src, sizeof(Buildings_HeatTransfer_Data_BaseClasses_Material), __VA_ARGS__))) ^~~~~~~~~~~ Buildings_6_0_0_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU_records.c:4130:14: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar5 = ths->_D_24tmpVar5 + ths->_D_24tmpVar4; ~~~ ^ Buildings_6_0_0_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU_records.c:4130:34: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar5 = ths->_D_24tmpVar5 + ths->_D_24tmpVar4; ~~~ ^ Buildings_6_0_0_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU_records.c:4130:54: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar5 = ths->_D_24tmpVar5 + ths->_D_24tmpVar4; ~~~ ^ Buildings_6_0_0_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU_records.c:4137:17: error: member reference type 'modelica_real' (aka 'double') is not a pointer tmp6 = ths->_D_24tmpVar5; ~~~ ^ Buildings_6_0_0_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU_records.c:4143:22: error: expected ';' at end of declaration integer_array ths->_D_24tmpVar7; ^ ; Buildings_6_0_0_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU_records.c:4144:22: error: redefinition of 'ths' with a different type: 'modelica_integer' (aka 'long') vs 'integer_array' (aka 'struct base_array_s') modelica_integer ths->_D_24tmpVar6; ^ Buildings_6_0_0_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU_records.c:4143:19: note: previous definition is here integer_array ths->_D_24tmpVar7; ^ Buildings_6_0_0_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU_records.c:4144:25: error: expected ';' at end of declaration modelica_integer ths->_D_24tmpVar6; ^ ; Buildings_6_0_0_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU_records.c:4152:16: error: member reference type 'integer_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? tmp14 = ths->_nLay /* Range stop-value */; ~~~^~ . Buildings_6_0_0_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU_records.c:4152:18: error: no member named '_nLay' in 'struct base_array_s' tmp14 = ths->_nLay /* Range stop-value */; ~~~ ^ Buildings_6_0_0_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU_records.c:4159:39: error: member reference type 'integer_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? simple_alloc_1d_integer_array(&ths->_D_24tmpVar7,tmp15); ~~~^~ . Buildings_6_0_0_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU_records.c:4159:41: error: no member named '_D_24tmpVar7' in 'struct base_array_s' simple_alloc_1d_integer_array(&ths->_D_24tmpVar7,tmp15); ~~~ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 2 warnings and 20 errors generated. : recipe for target 'Buildings_6_0_0_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU_records.o' failed make: *** [Buildings_6_0_0_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU_records.o] Error 1