Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7514/0.7514, allocations: 141.8 MB / 149.1 MB, free: 1.965 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 189.2 kB / 182 MB, free: 1.426 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 221.3 MB / 436 MB, free: 6.145 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009458/0.0009458, allocations: 96.53 kB / 0.507 GB, free: 2.832 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001768/0.001768, allocations: 284.1 kB / 0.5885 GB, free: 47.79 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1759/0.1777, allocations: 89.64 MB / 0.676 GB, free: 6.07 MB / 458.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.5818, allocations: 82.77 MB / 0.7568 GB, free: 25.28 MB / 458.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.362/4.944, allocations: 2.144 GB / 2.901 GB, free: 146 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/4.944, allocations: 103.9 kB / 2.901 GB, free: 145.9 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 481 * Number of variables: 481 Notification: Performance of Generate backend data structure: time 4.453/9.397, allocations: 1.248 GB / 4.149 GB, free: 61.49 MB / 0.745 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/9.397, allocations: 10.94 kB / 4.149 GB, free: 61.49 MB / 0.745 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00322/9.4, allocations: 0.5224 MB / 4.149 GB, free: 61.29 MB / 0.745 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00834/9.408, allocations: 3.33 MB / 4.153 GB, free: 60.75 MB / 0.745 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/9.409, allocations: 64.53 kB / 4.153 GB, free: 60.75 MB / 0.745 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007821/9.409, allocations: 126.2 kB / 4.153 GB, free: 60.74 MB / 0.745 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004113/9.413, allocations: 1.752 MB / 4.154 GB, free: 60.73 MB / 0.745 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004471/9.418, allocations: 2.122 MB / 4.156 GB, free: 60.54 MB / 0.745 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.892e-05/9.418, allocations: 0 / 4.156 GB, free: 60.54 MB / 0.745 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000192/9.418, allocations: 3.812 kB / 4.156 GB, free: 60.54 MB / 0.745 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.323e-05/9.418, allocations: 70.95 kB / 4.157 GB, free: 60.54 MB / 0.745 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01493/9.433, allocations: 10.26 MB / 4.167 GB, free: 57.03 MB / 0.745 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001935/9.435, allocations: 1.326 MB / 4.168 GB, free: 57 MB / 0.745 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001068/9.436, allocations: 0.9178 MB / 4.169 GB, free: 56.98 MB / 0.745 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007591/9.437, allocations: 1.177 MB / 4.17 GB, free: 55.67 MB / 0.745 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/9.437, allocations: 50.72 kB / 4.17 GB, free: 55.63 MB / 0.745 GB Notification: Performance of pre-optimization done (n=113): time 3.246e-06/9.437, allocations: 0 / 4.17 GB, free: 55.63 MB / 0.745 GB Notification: Performance of matching and sorting (n=115): time 0.008611/9.446, allocations: 4.251 MB / 4.174 GB, free: 54.74 MB / 0.745 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/9.446, allocations: 286.2 kB / 4.174 GB, free: 54.43 MB / 0.745 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004503/9.45, allocations: 2.581 MB / 4.177 GB, free: 54.2 MB / 0.745 GB Notification: Performance of collectPreVariables (initialization): time 0.0003209/9.451, allocations: 35.42 kB / 4.177 GB, free: 54.17 MB / 0.745 GB Notification: Performance of collectInitialEqns (initialization): time 0.000627/9.451, allocations: 0.8546 MB / 4.178 GB, free: 53.75 MB / 0.745 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004885/9.452, allocations: 381.4 kB / 4.178 GB, free: 53.5 MB / 0.745 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.602e-05/9.452, allocations: 4.625 kB / 4.178 GB, free: 53.5 MB / 0.745 GB Notification: Performance of setup shared object (initialization): time 9.08e-05/9.452, allocations: 361 kB / 4.178 GB, free: 53.2 MB / 0.745 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001194/9.453, allocations: 0.988 MB / 4.179 GB, free: 53.2 MB / 0.745 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001412/9.455, allocations: 1.4 MB / 4.181 GB, free: 52.8 MB / 0.745 GB Notification: It was not possible to analyze the given system symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.004869/9.46, allocations: 2.553 MB / 4.183 GB, free: 52.4 MB / 0.745 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/9.46, allocations: 3.844 kB / 4.183 GB, free: 52.4 MB / 0.745 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004295/9.464, allocations: 2.582 MB / 4.186 GB, free: 52.2 MB / 0.745 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004292/9.464, allocations: 2.5 MB / 4.188 GB, free: 49.64 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/9.464, allocations: 3.969 kB / 4.188 GB, free: 49.64 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.748e-05/9.464, allocations: 11.69 kB / 4.188 GB, free: 49.64 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/9.466, allocations: 276.2 kB / 4.189 GB, free: 49.64 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003938/9.466, allocations: 0.6235 MB / 4.189 GB, free: 49.05 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002986/9.469, allocations: 145.9 kB / 4.189 GB, free: 49.04 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002017/9.469, allocations: 71.25 kB / 4.189 GB, free: 49.04 MB / 0.745 GB Notification: Performance of prepare postOptimizeDAE: time 9.357e-06/9.469, allocations: 5.562 kB / 4.189 GB, free: 49.04 MB / 0.745 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003315/9.473, allocations: 2.27 MB / 4.192 GB, free: 49.02 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/9.473, allocations: 5.781 kB / 4.192 GB, free: 49.02 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/9.473, allocations: 17 kB / 4.192 GB, free: 49.01 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/9.474, allocations: 265.5 kB / 4.192 GB, free: 49.01 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/9.474, allocations: 20.95 kB / 4.192 GB, free: 49.01 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002522/9.476, allocations: 142.6 kB / 4.192 GB, free: 49 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001473/9.476, allocations: 75.8 kB / 4.192 GB, free: 49 MB / 0.745 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: vol.dynBal.medium.p = vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 7 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i,conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0004896/9.477, allocations: 329.5 kB / 4.192 GB, free: 48.7 MB / 0.745 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005977/9.477, allocations: 280 kB / 4.193 GB, free: 48.55 MB / 0.745 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003843/9.481, allocations: 2.067 MB / 4.195 GB, free: 48.46 MB / 0.745 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/9.481, allocations: 14.12 kB / 4.195 GB, free: 48.46 MB / 0.745 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/9.481, allocations: 0 / 4.195 GB, free: 48.46 MB / 0.745 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002313/9.484, allocations: 1.867 MB / 4.197 GB, free: 48.19 MB / 0.745 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009861/9.494, allocations: 5.102 MB / 4.202 GB, free: 47.66 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.918e-06/9.494, allocations: 6.312 kB / 4.202 GB, free: 47.66 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/9.495, allocations: 221.4 kB / 4.202 GB, free: 47.66 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.732e-05/9.495, allocations: 11.22 kB / 4.202 GB, free: 47.66 MB / 0.745 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.589e-05/9.495, allocations: 25.41 kB / 4.202 GB, free: 47.66 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002692/9.495, allocations: 0.6168 MB / 4.202 GB, free: 47.07 MB / 0.745 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/9.495, allocations: 11.19 kB / 4.202 GB, free: 47.07 MB / 0.745 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004773/9.5, allocations: 4.024 MB / 4.206 GB, free: 45.9 MB / 0.745 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006593/9.507, allocations: 5.85 MB / 4.212 GB, free: 44.36 MB / 0.745 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001843/9.508, allocations: 0.6523 MB / 4.213 GB, free: 44.12 MB / 0.745 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008427/9.509, allocations: 20.84 kB / 4.213 GB, free: 44.12 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002119/9.511, allocations: 135.9 kB / 4.213 GB, free: 44.11 MB / 0.745 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002969/9.512, allocations: 130.6 kB / 4.213 GB, free: 44.1 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001229/9.512, allocations: 60.28 kB / 4.213 GB, free: 44.1 MB / 0.745 GB Notification: Performance of sort global known variables: time 0.003242/9.515, allocations: 1.958 MB / 4.215 GB, free: 43.96 MB / 0.745 GB Notification: Performance of remove unused functions: time 0.007566/9.523, allocations: 2.084 MB / 4.217 GB, free: 43.89 MB / 0.745 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 5 (conPID.I.y,vol.dynBal.U,vol.dynBal.mXi[1],beaCooHea.conCoo.hex.vol.dynBal.U,beaCooHea.conHea.hex.vol.dynBal.U) * Number of discrete variables: 6 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i) * Number of discrete states: 6 (beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (113): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.004141/9.527, allocations: 2.967 MB / 4.22 GB, free: 42.96 MB / 0.745 GB Notification: Performance of simCode: created initialization part: time 0.005224/9.532, allocations: 4.064 MB / 4.224 GB, free: 42.18 MB / 0.745 GB Notification: Performance of simCode: created event and clocks part: time 1.266e-05/9.532, allocations: 3.781 kB / 4.224 GB, free: 42.18 MB / 0.745 GB Notification: Performance of simCode: created simulation system equations: time 0.00208/9.534, allocations: 1.685 MB / 4.225 GB, free: 41.98 MB / 0.745 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007443/9.542, allocations: 1.31 MB / 4.227 GB, free: 41.97 MB / 0.745 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01071/9.552, allocations: 4.858 MB / 4.231 GB, free: 40.84 MB / 0.745 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002734/9.555, allocations: 2.282 MB / 4.234 GB, free: 40.09 MB / 0.745 GB Notification: Performance of SimCode: time 2.494e-06/9.555, allocations: 0 / 4.234 GB, free: 40.09 MB / 0.745 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly/BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly.fmutmp/sources' clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_FMU.o BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_FMU.c In file included from BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_FMU.c:9: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_FMU.c:287:2: error: unknown type name 'user' user-selected operating points divided by nominal temperature difference. ^ BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_FMU.c:287:6: error: expected identifier or '(' user-selected operating points divided by nominal temperature difference. ^ BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_FMU.c:288:19: warning: missing terminating '"' character [-Winvalid-pp-token] Must be positive." ^ BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_FMU.c:291:19: warning: missing terminating '"' character [-Winvalid-pp-token] Must be positive." ^ BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_FMU.c:294:19: warning: missing terminating '"' character [-Winvalid-pp-token] Must be positive." ^ BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_FMU.c:361:19: warning: missing terminating '"' character [-Winvalid-pp-token] Must be positive." ^ BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_FMU.c:364:19: warning: missing terminating '"' character [-Winvalid-pp-token] Must be positive." ^ BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_FMU.c:367:19: warning: missing terminating '"' character [-Winvalid-pp-token] Must be positive." ^ BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_FMU.c:486:19: warning: missing terminating '"' character [-Winvalid-pp-token] Must be positive." ^ BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_FMU.c:489:19: warning: missing terminating '"' character [-Winvalid-pp-token] Must be positive." ^ BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_FMU.c:492:19: warning: missing terminating '"' character [-Winvalid-pp-token] Must be positive." ^ BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_FMU.c:559:19: warning: missing terminating '"' character [-Winvalid-pp-token] Must be positive." ^ BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_FMU.c:562:19: warning: missing terminating '"' character [-Winvalid-pp-token] Must be positive." ^ BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_FMU.c:565:19: warning: missing terminating '"' character [-Winvalid-pp-token] Must be positive." ^ BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_FMU.c:610:19: warning: missing terminating '"' character [-Winvalid-pp-token] Must be positive." ^ BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_FMU.c:613:19: warning: missing terminating '"' character [-Winvalid-pp-token] Must be positive." ^ BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_FMU.c:616:19: warning: missing terminating '"' character [-Winvalid-pp-token] Must be positive." ^ BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_FMU.c:650:19: warning: missing terminating '"' character [-Winvalid-pp-token] Must be positive." ^ BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_FMU.c:653:19: warning: missing terminating '"' character [-Winvalid-pp-token] Must be positive." ^ BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_FMU.c:656:19: warning: missing terminating '"' character [-Winvalid-pp-token] Must be positive." ^ In file included from BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_FMU.c:1338: include/fmi2/fmu2_model_interface.c:382:3: warning: implicit declaration of function 'BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_FMU.c:1337:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_setupDataStruc ^ In file included from BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_FMU.c:1338: include/fmi2/fmu2_model_interface.c:580:5: warning: implicit declaration of function 'BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_FMU.c:1337:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_setupDataStruc ^ 22 warnings and 2 errors generated. make: *** [: BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_FMU.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly/BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly.fmutmp/sources' Error: Error building simulator. Build log: checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu build_short: x86_64-linux-gnu host_short: x86_64-linux-gnu checking for gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking how to run the C preprocessor... clang -E checking whether make sets $(MAKE)... yes checking for cross-compilation flags... not cross-compiling checking if -Werror works... ok checking looking for --no-undefined... yes checking looking for dollars in identifiers... CPPFLAGS: -fdollars-in-identifiers checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... no checking for an ANSI C-conforming const... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for size_t... yes checking for vprintf... yes checking for _doprnt... yes checking for strdup... yes checking for strerror... yes checking LAPACK/BLAS flags... not found checking for static pthreads... no checking for pthread_mutex_lock in -lpthread... yes checking for cos in -lm... yes checking for filesystem access... OK configure: creating ./config.status config.status: creating Makefile rm -f BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly.def BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly.o BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly.a BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly.so BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_FMU.o BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly.o BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_functions.o BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_records.o BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_01exo.o BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_02nls.o BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_03lsy.o BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_04set.o BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_05evt.o BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_06inz.o BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_07dly.o BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_08bnd.o BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_09alg.o BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_10asr.o BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_11mix.o BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_12jac.o BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_13opt.o BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_14lnz.o BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_15syn.o BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_16dae.o BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_17inl.o BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_init_fmu.o include/./gc/memory_pool.o include/./util/base_array.o include/./util/boolean_array.o include/./util/omc_error.o include/./util/division.o include/./util/generic_array.o include/./util/index_spec.o include/./util/integer_array.o include/./util/list.o include/./util/modelica_string.o include/./util/real_array.o include/./util/ringbuffer.o include/./util/string_array.o include/./util/utility.o include/./util/varinfo.o include/./util/ModelicaUtilities.o include/./util/omc_msvc.o include/./util/simulation_options.o include/./util/cJSON.o include/./util/rational.o include/./util/modelica_string_lit.o include/./util/omc_init.o include/./util/omc_mmap.o include/./math-support/pivot.o include/./simulation/simulation_info_json.o include/./simulation/options.o include/./simulation/simulation_omc_assert.o include/./simulation/solver/delay.o include/./simulation/solver/nonlinearSystem.o include/./simulation/solver/nonlinearValuesList.o include/./simulation/solver/nonlinearSolverHybrd.o include/./simulation/solver/nonlinearSolverHomotopy.o include/./simulation/solver/omc_math.o include/./simulation/solver/model_help.o include/./simulation/solver/stateset.o include/./simulation/solver/synchronous.o include/./simulation/solver/initialization/initialization.o include/./meta/meta_modelica_catch.o include/./external_solvers/enorm_.o include/./external_solvers/hybrj_.o include/./external_solvers/dpmpar_.o include/./external_solvers/qrfac_.o include/./external_solvers/qform_.o include/./external_solvers/dogleg_.o include/./external_solvers/r1updt_.o include/./external_solvers/r1mpyq_.o include/./external_solvers/dgesv.o include/./external_solvers/dgetrf.o include/./external_solvers/dlamch.o include/./external_solvers/ilaenv.o include/./external_solvers/xerbla.o include/./external_solvers/dgetf2.o include/./external_solvers/dgetrs.o include/./external_solvers/dlaswp.o include/./external_solvers/ieeeck.o include/./external_solvers/iparmq.o include/./external_solvers/dgemm.o include/./external_solvers/dger.o include/./external_solvers/dscal.o include/./external_solvers/dswap.o include/./external_solvers/dtrsm.o include/./external_solvers/idamax.o include/./external_solvers/lsame.o include/./external_solvers/i_nint.o include/./external_solvers/pow_di.o include/./external_solvers/s_cmp.o include/./external_solvers/s_copy.o