Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample.conf.json 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/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.DHC.Networks.Examples.Distribution2PipeExample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|terAutoSize.1..TLoaODE.TAir|minTSet.y|terAutoSize.1..QReqHea_flow|terAutoSize.1..QActHea_flow|terAutoSize.1..mReqHeaWat_flow|terAutoSize.1..port_aHeaWat.m_flow|terPlugFlow.1..TLoaODE.TAir|terPlugFlow.1..QReqHea_flow|terPlugFlow.1..QActHea_flow|terPlugFlow.1..mReqHeaWat_flow|terPlugFlow.1..port_aHeaWat.m_flow",fileNamePrefix="Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample") translateModel(Buildings.DHC.Networks.Examples.Distribution2PipeExample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|terAutoSize.1..TLoaODE.TAir|minTSet.y|terAutoSize.1..QReqHea_flow|terAutoSize.1..QActHea_flow|terAutoSize.1..mReqHeaWat_flow|terAutoSize.1..port_aHeaWat.m_flow|terPlugFlow.1..TLoaODE.TAir|terPlugFlow.1..QReqHea_flow|terPlugFlow.1..QActHea_flow|terPlugFlow.1..mReqHeaWat_flow|terPlugFlow.1..port_aHeaWat.m_flow",fileNamePrefix="Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002353/0.002353, allocations: 112.7 kB / 16.42 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00258/0.00258, allocations: 190.7 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.686/2.686, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 63.91 kB / 1.055 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9837/0.9852, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Examples.Distribution2PipeExample): time 1.954/2.939, allocations: 0.9706 GB / 2.179 GB, free: 7.031 MB / 1.654 GB Notification: Performance of NFInst.instExpressions: time 1.501/4.44, allocations: 157.8 MB / 2.333 GB, free: 134.5 MB / 1.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03682/4.477, allocations: 0.611 MB / 2.334 GB, free: 134.5 MB / 1.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0301/4.507, allocations: 9.266 MB / 2.343 GB, free: 134.4 MB / 1.67 GB Notification: Performance of NFTyping.typeBindings: time 0.07504/4.582, allocations: 23.44 MB / 2.366 GB, free: 133.4 MB / 1.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.04735/4.629, allocations: 15.35 MB / 2.381 GB, free: 133.1 MB / 1.67 GB Notification: Performance of NFFlatten.flatten: time 0.3333/4.963, allocations: 209.8 MB / 2.586 GB, free: 3.969 MB / 1.686 GB Notification: Performance of NFFlatten.resolveConnections: time 0.158/5.121, allocations: 80.36 MB / 2.664 GB, free: 4.188 MB / 1.764 GB Notification: Performance of NFEvalConstants.evaluate: time 0.151/5.272, allocations: 61.96 MB / 2.725 GB, free: 9.191 MB / 1.826 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1064/5.378, allocations: 48.35 MB / 2.772 GB, free: 12.34 MB / 1.873 GB Notification: Performance of NFPackage.collectConstants: time 0.03917/5.417, allocations: 7.688 MB / 2.779 GB, free: 4.656 MB / 1.873 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0839/5.501, allocations: 18.91 MB / 2.798 GB, free: 2.699 MB / 1.889 GB Notification: Performance of NFScalarize.scalarize: time 0.04573/5.547, allocations: 21.01 MB / 2.818 GB, free: 14.02 MB / 1.92 GB Notification: Performance of NFVerifyModel.verify: time 0.1217/5.669, allocations: 40.79 MB / 2.858 GB, free: 5.363 MB / 1.951 GB Notification: Performance of NFConvertDAE.convert: time 3.127/8.796, allocations: 128.7 MB / 2.984 GB, free: 290 MB / 2.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/8.796, allocations: 0.875 kB / 2.984 GB, free: 290 MB / 2.014 GB Notification: Performance of FrontEnd: time 1.933e-06/8.796, allocations: 0 / 2.984 GB, free: 290 MB / 2.014 GB Notification: Performance of Transformations before backend: time 0.004363/8.801, allocations: 1.406 kB / 2.984 GB, free: 290 MB / 2.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8964 * Number of variables: 8964 Notification: Performance of Generate backend data structure: time 0.2785/9.079, allocations: 77.56 MB / 3.059 GB, free: 263.1 MB / 2.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/9.079, allocations: 7.844 kB / 3.06 GB, free: 263.1 MB / 2.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08922/9.168, allocations: 14.3 MB / 3.073 GB, free: 259.4 MB / 2.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2272/9.396, allocations: 98.23 MB / 3.169 GB, free: 235.1 MB / 2.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004604/9.4, allocations: 2.855 MB / 3.172 GB, free: 235 MB / 2.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02557/9.426, allocations: 3.776 MB / 3.176 GB, free: 235 MB / 2.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.174/9.6, allocations: 57.97 MB / 3.232 GB, free: 210.7 MB / 2.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002029/9.602, allocations: 148.5 kB / 3.233 GB, free: 210.7 MB / 2.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0195/9.621, allocations: 1.483 MB / 3.234 GB, free: 209.6 MB / 2.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001155/9.623, allocations: 1.346 MB / 3.235 GB, free: 209.4 MB / 2.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.126/9.749, allocations: 49.28 MB / 3.284 GB, free: 163.6 MB / 2.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.514/10.26, allocations: 298.3 MB / 3.575 GB, free: 12.21 MB / 2.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07194/10.33, allocations: 33.37 MB / 3.607 GB, free: 10.66 MB / 2.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03721/10.37, allocations: 15.28 MB / 3.622 GB, free: 11.35 MB / 2.217 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.2417/10.61, allocations: 75.42 MB / 3.696 GB, free: 15.34 MB / 2.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04882/10.66, allocations: 16.21 MB / 3.712 GB, free: 15 MB / 2.311 GB Notification: Performance of pre-optimization done (n=1588): time 3.265e-05/10.66, allocations: 0 / 3.712 GB, free: 15 MB / 2.311 GB Notification: Performance of matching and sorting (n=1588): time 1.322/11.98, allocations: 49.29 MB / 3.76 GB, free: 1.095 GB / 2.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003025/11.98, allocations: 0.7978 MB / 3.761 GB, free: 1.095 GB / 2.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1969/12.18, allocations: 67.96 MB / 3.827 GB, free: 1.084 GB / 2.311 GB Notification: Performance of collectPreVariables (initialization): time 0.01308/12.19, allocations: 492.3 kB / 3.828 GB, free: 1.083 GB / 2.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.06066/12.26, allocations: 30.32 MB / 3.857 GB, free: 1.065 GB / 2.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0159/12.27, allocations: 5.88 MB / 3.863 GB, free: 1.061 GB / 2.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.05417/12.33, allocations: 8.321 MB / 3.871 GB, free: 1.058 GB / 2.311 GB Notification: Performance of setup shared object (initialization): time 7.455e-05/12.33, allocations: 312.6 kB / 3.871 GB, free: 1.057 GB / 2.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05467/12.38, allocations: 21.7 MB / 3.893 GB, free: 1.051 GB / 2.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.06909/12.45, allocations: 34.66 MB / 3.926 GB, free: 1.03 GB / 2.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1044/12.55, allocations: 50.24 MB / 3.975 GB, free: 1.003 GB / 2.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004763/12.55, allocations: 94.59 kB / 3.976 GB, free: 1.003 GB / 2.311 GB Notification: Performance of matching and sorting (n=4595) (initialization): time 0.19/12.74, allocations: 66.02 MB / 4.04 GB, free: 0.9507 GB / 2.311 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002596/12.74, allocations: 148 kB / 4.04 GB, free: 0.9505 GB / 2.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008526/12.75, allocations: 360 kB / 4.041 GB, free: 0.9502 GB / 2.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05078/12.8, allocations: 17.56 MB / 4.058 GB, free: 0.9334 GB / 2.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.08365/12.88, allocations: 16.74 MB / 4.074 GB, free: 0.917 GB / 2.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0419/12.92, allocations: 32.49 MB / 4.106 GB, free: 0.8848 GB / 2.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07758/13, allocations: 6.965 MB / 4.113 GB, free: 0.8779 GB / 2.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01392/13.01, allocations: 1.66 MB / 4.114 GB, free: 0.8763 GB / 2.311 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.1044/13.12, allocations: 43.38 MB / 4.157 GB, free: 0.8339 GB / 2.311 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.06179/13.18, allocations: 34.05 MB / 4.19 GB, free: 0.7953 GB / 2.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.096/13.28, allocations: 49.19 MB / 4.238 GB, free: 0.7427 GB / 2.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.000521/13.28, allocations: 96 kB / 4.238 GB, free: 0.7427 GB / 2.311 GB Notification: Performance of matching and sorting (n=4595) (initialization_lambda0): time 0.1943/13.47, allocations: 65.84 MB / 4.302 GB, free: 0.6782 GB / 2.311 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007737/13.47, allocations: 148 kB / 4.302 GB, free: 0.6781 GB / 2.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001293/13.47, allocations: 356 kB / 4.303 GB, free: 0.6777 GB / 2.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03089/13.5, allocations: 10.29 MB / 4.313 GB, free: 0.6677 GB / 2.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.08586/13.59, allocations: 16.94 MB / 4.329 GB, free: 0.6511 GB / 2.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04633/13.64, allocations: 42.76 MB / 4.371 GB, free: 0.6083 GB / 2.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08161/13.72, allocations: 6.078 MB / 4.377 GB, free: 0.6023 GB / 2.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01785/13.74, allocations: 1.63 MB / 4.379 GB, free: 0.6008 GB / 2.311 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1498 * Number of states: 0 () * Number of discrete variables: 35 ($PRE.loa.nextTimeEvent,$whenCondition1,terPlugFlow[5].con.con1.y,terPlugFlow[4].con.con1.y,terPlugFlow[3].con.con1.y,terPlugFlow[2].con.con1.y,terPlugFlow[1].con.con1.y,terAutoSize[5].con.con1.y,terAutoSize[4].con.con1.y,terAutoSize[3].con.con1.y,terAutoSize[2].con.con1.y,terAutoSize[1].con.con1.y,terAutoSize[1].hex.flowRegime_nominal,terAutoSize[1].hex.flowRegime,terAutoSize[2].hex.flowRegime_nominal,terAutoSize[2].hex.flowRegime,terAutoSize[3].hex.flowRegime_nominal,terAutoSize[3].hex.flowRegime,terAutoSize[4].hex.flowRegime_nominal,terAutoSize[4].hex.flowRegime,terAutoSize[5].hex.flowRegime_nominal,terAutoSize[5].hex.flowRegime,terPlugFlow[1].hex.flowRegime_nominal,terPlugFlow[1].hex.flowRegime,terPlugFlow[2].hex.flowRegime_nominal,terPlugFlow[2].hex.flowRegime,terPlugFlow[3].hex.flowRegime_nominal,terPlugFlow[3].hex.flowRegime,terPlugFlow[4].hex.flowRegime_nominal,terPlugFlow[4].hex.flowRegime,terPlugFlow[5].hex.flowRegime_nominal,terPlugFlow[5].hex.flowRegime,loa.nextTimeEventScaled,$PRE.loa.nextTimeEventScaled,loa.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3695): * Single equations (assignments): 3626 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 11 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 11 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 12 systems {(10,207), (1,5), (1,5), (1,5), (1,5), (1,5), (1,5), (1,5), (1,5), (1,5), (1,5), (11,206)} Notification: Performance of prepare postOptimizeDAE: time 0.02521/13.76, allocations: 2.252 MB / 4.381 GB, free: 0.5985 GB / 2.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02786/13.79, allocations: 5.064 MB / 4.386 GB, free: 0.5935 GB / 2.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1309/13.92, allocations: 40.43 MB / 4.425 GB, free: 0.5542 GB / 2.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.08809/14.01, allocations: 30.85 MB / 4.455 GB, free: 0.5239 GB / 2.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004485/14.01, allocations: 31.97 kB / 4.455 GB, free: 0.5239 GB / 2.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.04378/14.05, allocations: 10.62 MB / 4.466 GB, free: 0.5135 GB / 2.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0288/14.08, allocations: 431.9 kB / 4.466 GB, free: 0.513 GB / 2.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05365/14.13, allocations: 2.883 MB / 4.469 GB, free: 0.5102 GB / 2.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007043/14.14, allocations: 1.359 MB / 4.47 GB, free: 0.5089 GB / 2.311 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1269/14.27, allocations: 45.08 MB / 4.514 GB, free: 476.3 MB / 2.311 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1287/14.4, allocations: 51.3 MB / 4.564 GB, free: 424.9 MB / 2.311 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.03288/14.43, allocations: 15.34 MB / 4.579 GB, free: 409.5 MB / 2.311 GB Notification: Performance of sorting global known variables: time 0.111/14.54, allocations: 47.58 MB / 4.626 GB, free: 362.2 MB / 2.311 GB Notification: Performance of Backend: time 1.412e-06/14.54, allocations: 0 / 4.626 GB, free: 362.2 MB / 2.311 GB Notification: Performance of simCode: created initialization part: time 0.4099/14.95, allocations: 104.8 MB / 4.728 GB, free: 258.2 MB / 2.311 GB Notification: Performance of SimCode: time 0.428/15.38, allocations: 149.2 MB / 4.874 GB, free: 109.3 MB / 2.311 GB Notification: Performance of Templates: time 6.132/21.51, allocations: 1.234 GB / 6.108 GB, free: 0.9474 GB / 2.311 GB make -j1 -f Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample.makefile make -j1 -f Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_latest_Buildings_DHC_Networks_Examples_Distribution2PipeExample -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=54 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample.o Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_latest_Buildings_DHC_Networks_Examples_Distribution2PipeExample -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=54 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample_functions.o Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample_functions.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_latest_Buildings_DHC_Networks_Examples_Distribution2PipeExample -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=54 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample_records.o Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample_records.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_latest_Buildings_DHC_Networks_Examples_Distribution2PipeExample -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=54 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample_01exo.o Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample_01exo.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_latest_Buildings_DHC_Networks_Examples_Distribution2PipeExample -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=54 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample_02nls.o Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample_02nls.c Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample_02nls.c:1692:237: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[2583] /* terPlugFlow[4].con.u_m variable */) = (DIVISION_SIM(10.0,omc_Buildings_DHC_Loads_BaseClasses_getPeakLoad(threadData, MMC_REFSTRINGLIT(tmp0), omc_Modelica_Utilities_Files_loadResource(threadData, 313.15)),"Buildings.DHC.Loads.BaseClasses.getPeakLoad(\"#Peak space heating load\", Modelica.Utilities.Files.loadResource(313.15))",equationIndexes)) * ((data->localData[0]->realVars[2823] /* terPlugFlow[4].hex.Q2_flow variable */)); ^~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/division.h:45:70: note: expanded from macro 'DIVISION_SIM' #define DIVISION_SIM(a,b,msg,equation) (__OMC_DIV_SIM(threadData, a, b, msg, equationIndexes, data->simulationInfo->noThrowDivZero, data->localData[0]->timeValue, initial())) ^ ./Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample_functions.h:5885:101: note: passing argument to parameter '_uri' here modelica_string omc_Modelica_Utilities_Files_loadResource(threadData_t *threadData, modelica_string _uri); ^ Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample_02nls.c:1834:237: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[2584] /* terPlugFlow[5].con.u_m variable */) = (DIVISION_SIM(10.0,omc_Buildings_DHC_Loads_BaseClasses_getPeakLoad(threadData, MMC_REFSTRINGLIT(tmp0), omc_Modelica_Utilities_Files_loadResource(threadData, 313.15)),"Buildings.DHC.Loads.BaseClasses.getPeakLoad(\"#Peak space heating load\", Modelica.Utilities.Files.loadResource(313.15))",equationIndexes)) * ((data->localData[0]->realVars[2824] /* terPlugFlow[5].hex.Q2_flow variable */)); ^~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/division.h:45:70: note: expanded from macro 'DIVISION_SIM' #define DIVISION_SIM(a,b,msg,equation) (__OMC_DIV_SIM(threadData, a, b, msg, equationIndexes, data->simulationInfo->noThrowDivZero, data->localData[0]->timeValue, initial())) ^ ./Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample_functions.h:5885:101: note: passing argument to parameter '_uri' here modelica_string omc_Modelica_Utilities_Files_loadResource(threadData_t *threadData, modelica_string _uri); ^ Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample_02nls.c:2347:237: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[2582] /* terPlugFlow[3].con.u_m variable */) = (DIVISION_SIM(10.0,omc_Buildings_DHC_Loads_BaseClasses_getPeakLoad(threadData, MMC_REFSTRINGLIT(tmp0), omc_Modelica_Utilities_Files_loadResource(threadData, 313.15)),"Buildings.DHC.Loads.BaseClasses.getPeakLoad(\"#Peak space heating load\", Modelica.Utilities.Files.loadResource(313.15))",equationIndexes)) * ((data->localData[0]->realVars[2822] /* terPlugFlow[3].hex.Q2_flow variable */)); ^~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/division.h:45:70: note: expanded from macro 'DIVISION_SIM' #define DIVISION_SIM(a,b,msg,equation) (__OMC_DIV_SIM(threadData, a, b, msg, equationIndexes, data->simulationInfo->noThrowDivZero, data->localData[0]->timeValue, initial())) ^ ./Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample_functions.h:5885:101: note: passing argument to parameter '_uri' here modelica_string omc_Modelica_Utilities_Files_loadResource(threadData_t *threadData, modelica_string _uri); ^ Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample_02nls.c:2748:237: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[2580] /* terPlugFlow[1].con.u_m variable */) = (DIVISION_SIM(10.0,omc_Buildings_DHC_Loads_BaseClasses_getPeakLoad(threadData, MMC_REFSTRINGLIT(tmp0), omc_Modelica_Utilities_Files_loadResource(threadData, 313.15)),"Buildings.DHC.Loads.BaseClasses.getPeakLoad(\"#Peak space heating load\", Modelica.Utilities.Files.loadResource(313.15))",equationIndexes)) * ((data->localData[0]->realVars[2820] /* terPlugFlow[1].hex.Q2_flow variable */)); ^~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/division.h:45:70: note: expanded from macro 'DIVISION_SIM' #define DIVISION_SIM(a,b,msg,equation) (__OMC_DIV_SIM(threadData, a, b, msg, equationIndexes, data->simulationInfo->noThrowDivZero, data->localData[0]->timeValue, initial())) ^ ./Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample_functions.h:5885:101: note: passing argument to parameter '_uri' here modelica_string omc_Modelica_Utilities_Files_loadResource(threadData_t *threadData, modelica_string _uri); ^ Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample_02nls.c:2936:237: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[2581] /* terPlugFlow[2].con.u_m variable */) = (DIVISION_SIM(10.0,omc_Buildings_DHC_Loads_BaseClasses_getPeakLoad(threadData, MMC_REFSTRINGLIT(tmp0), omc_Modelica_Utilities_Files_loadResource(threadData, 313.15)),"Buildings.DHC.Loads.BaseClasses.getPeakLoad(\"#Peak space heating load\", Modelica.Utilities.Files.loadResource(313.15))",equationIndexes)) * ((data->localData[0]->realVars[2821] /* terPlugFlow[2].hex.Q2_flow variable */)); ^~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/division.h:45:70: note: expanded from macro 'DIVISION_SIM' #define DIVISION_SIM(a,b,msg,equation) (__OMC_DIV_SIM(threadData, a, b, msg, equationIndexes, data->simulationInfo->noThrowDivZero, data->localData[0]->timeValue, initial())) ^ ./Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample_functions.h:5885:101: note: passing argument to parameter '_uri' here modelica_string omc_Modelica_Utilities_Files_loadResource(threadData_t *threadData, modelica_string _uri); ^ Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample_02nls.c:8441:237: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[1910] /* terAutoSize[1].con.u_m variable */) = (DIVISION_SIM(10.0,omc_Buildings_DHC_Loads_BaseClasses_getPeakLoad(threadData, MMC_REFSTRINGLIT(tmp0), omc_Modelica_Utilities_Files_loadResource(threadData, 313.15)),"Buildings.DHC.Loads.BaseClasses.getPeakLoad(\"#Peak space heating load\", Modelica.Utilities.Files.loadResource(313.15))",equationIndexes)) * ((data->localData[0]->realVars[2150] /* terAutoSize[1].hex.Q2_flow variable */)); ^~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/division.h:45:70: note: expanded from macro 'DIVISION_SIM' #define DIVISION_SIM(a,b,msg,equation) (__OMC_DIV_SIM(threadData, a, b, msg, equationIndexes, data->simulationInfo->noThrowDivZero, data->localData[0]->timeValue, initial())) ^ ./Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample_functions.h:5885:101: note: passing argument to parameter '_uri' here modelica_string omc_Modelica_Utilities_Files_loadResource(threadData_t *threadData, modelica_string _uri); ^ Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample_02nls.c:8556:237: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[1911] /* terAutoSize[2].con.u_m variable */) = (DIVISION_SIM(10.0,omc_Buildings_DHC_Loads_BaseClasses_getPeakLoad(threadData, MMC_REFSTRINGLIT(tmp0), omc_Modelica_Utilities_Files_loadResource(threadData, 313.15)),"Buildings.DHC.Loads.BaseClasses.getPeakLoad(\"#Peak space heating load\", Modelica.Utilities.Files.loadResource(313.15))",equationIndexes)) * ((data->localData[0]->realVars[2151] /* terAutoSize[2].hex.Q2_flow variable */)); ^~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/division.h:45:70: note: expanded from macro 'DIVISION_SIM' #define DIVISION_SIM(a,b,msg,equation) (__OMC_DIV_SIM(threadData, a, b, msg, equationIndexes, data->simulationInfo->noThrowDivZero, data->localData[0]->timeValue, initial())) ^ ./Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample_functions.h:5885:101: note: passing argument to parameter '_uri' here modelica_string omc_Modelica_Utilities_Files_loadResource(threadData_t *threadData, modelica_string _uri); ^ Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample_02nls.c:8695:237: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[1912] /* terAutoSize[3].con.u_m variable */) = (DIVISION_SIM(10.0,omc_Buildings_DHC_Loads_BaseClasses_getPeakLoad(threadData, MMC_REFSTRINGLIT(tmp0), omc_Modelica_Utilities_Files_loadResource(threadData, 313.15)),"Buildings.DHC.Loads.BaseClasses.getPeakLoad(\"#Peak space heating load\", Modelica.Utilities.Files.loadResource(313.15))",equationIndexes)) * ((data->localData[0]->realVars[2152] /* terAutoSize[3].hex.Q2_flow variable */)); ^~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/division.h:45:70: note: expanded from macro 'DIVISION_SIM' #define DIVISION_SIM(a,b,msg,equation) (__OMC_DIV_SIM(threadData, a, b, msg, equationIndexes, data->simulationInfo->noThrowDivZero, data->localData[0]->timeValue, initial())) ^ ./Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample_functions.h:5885:101: note: passing argument to parameter '_uri' here modelica_string omc_Modelica_Utilities_Files_loadResource(threadData_t *threadData, modelica_string _uri); ^ Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample_02nls.c:8912:237: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[1914] /* terAutoSize[5].con.u_m variable */) = (DIVISION_SIM(10.0,omc_Buildings_DHC_Loads_BaseClasses_getPeakLoad(threadData, MMC_REFSTRINGLIT(tmp0), omc_Modelica_Utilities_Files_loadResource(threadData, 313.15)),"Buildings.DHC.Loads.BaseClasses.getPeakLoad(\"#Peak space heating load\", Modelica.Utilities.Files.loadResource(313.15))",equationIndexes)) * ((data->localData[0]->realVars[2154] /* terAutoSize[5].hex.Q2_flow variable */)); ^~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/division.h:45:70: note: expanded from macro 'DIVISION_SIM' #define DIVISION_SIM(a,b,msg,equation) (__OMC_DIV_SIM(threadData, a, b, msg, equationIndexes, data->simulationInfo->noThrowDivZero, data->localData[0]->timeValue, initial())) ^ ./Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample_functions.h:5885:101: note: passing argument to parameter '_uri' here modelica_string omc_Modelica_Utilities_Files_loadResource(threadData_t *threadData, modelica_string _uri); ^ Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample_02nls.c:9306:237: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[1913] /* terAutoSize[4].con.u_m variable */) = (DIVISION_SIM(10.0,omc_Buildings_DHC_Loads_BaseClasses_getPeakLoad(threadData, MMC_REFSTRINGLIT(tmp0), omc_Modelica_Utilities_Files_loadResource(threadData, 313.15)),"Buildings.DHC.Loads.BaseClasses.getPeakLoad(\"#Peak space heating load\", Modelica.Utilities.Files.loadResource(313.15))",equationIndexes)) * ((data->localData[0]->realVars[2153] /* terAutoSize[4].hex.Q2_flow variable */)); ^~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/division.h:45:70: note: expanded from macro 'DIVISION_SIM' #define DIVISION_SIM(a,b,msg,equation) (__OMC_DIV_SIM(threadData, a, b, msg, equationIndexes, data->simulationInfo->noThrowDivZero, data->localData[0]->timeValue, initial())) ^ ./Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample_functions.h:5885:101: note: passing argument to parameter '_uri' here modelica_string omc_Modelica_Utilities_Files_loadResource(threadData_t *threadData, modelica_string _uri); ^ Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample_02nls.c:12369:237: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[2584] /* terPlugFlow[5].con.u_m variable */) = (DIVISION_SIM(10.0,omc_Buildings_DHC_Loads_BaseClasses_getPeakLoad(threadData, MMC_REFSTRINGLIT(tmp0), omc_Modelica_Utilities_Files_loadResource(threadData, 313.15)),"Buildings.DHC.Loads.BaseClasses.getPeakLoad(\"#Peak space heating load\", Modelica.Utilities.Files.loadResource(313.15))",equationIndexes)) * ((data->localData[0]->realVars[2824] /* terPlugFlow[5].hex.Q2_flow variable */)); ^~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/division.h:45:70: note: expanded from macro 'DIVISION_SIM' #define DIVISION_SIM(a,b,msg,equation) (__OMC_DIV_SIM(threadData, a, b, msg, equationIndexes, data->simulationInfo->noThrowDivZero, data->localData[0]->timeValue, initial())) ^ ./Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample_functions.h:5885:101: note: passing argument to parameter '_uri' here modelica_string omc_Modelica_Utilities_Files_loadResource(threadData_t *threadData, modelica_string _uri); ^ Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample_02nls.c:12875:237: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[2583] /* terPlugFlow[4].con.u_m variable */) = (DIVISION_SIM(10.0,omc_Buildings_DHC_Loads_BaseClasses_getPeakLoad(threadData, MMC_REFSTRINGLIT(tmp0), omc_Modelica_Utilities_Files_loadResource(threadData, 313.15)),"Buildings.DHC.Loads.BaseClasses.getPeakLoad(\"#Peak space heating load\", Modelica.Utilities.Files.loadResource(313.15))",equationIndexes)) * ((data->localData[0]->realVars[2823] /* terPlugFlow[4].hex.Q2_flow variable */)); ^~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/division.h:45:70: note: expanded from macro 'DIVISION_SIM' #define DIVISION_SIM(a,b,msg,equation) (__OMC_DIV_SIM(threadData, a, b, msg, equationIndexes, data->simulationInfo->noThrowDivZero, data->localData[0]->timeValue, initial())) ^ ./Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample_functions.h:5885:101: note: passing argument to parameter '_uri' here modelica_string omc_Modelica_Utilities_Files_loadResource(threadData_t *threadData, modelica_string _uri); ^ Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample_02nls.c:13381:237: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[2582] /* terPlugFlow[3].con.u_m variable */) = (DIVISION_SIM(10.0,omc_Buildings_DHC_Loads_BaseClasses_getPeakLoad(threadData, MMC_REFSTRINGLIT(tmp0), omc_Modelica_Utilities_Files_loadResource(threadData, 313.15)),"Buildings.DHC.Loads.BaseClasses.getPeakLoad(\"#Peak space heating load\", Modelica.Utilities.Files.loadResource(313.15))",equationIndexes)) * ((data->localData[0]->realVars[2822] /* terPlugFlow[3].hex.Q2_flow variable */)); ^~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/division.h:45:70: note: expanded from macro 'DIVISION_SIM' #define DIVISION_SIM(a,b,msg,equation) (__OMC_DIV_SIM(threadData, a, b, msg, equationIndexes, data->simulationInfo->noThrowDivZero, data->localData[0]->timeValue, initial())) ^ ./Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample_functions.h:5885:101: note: passing argument to parameter '_uri' here modelica_string omc_Modelica_Utilities_Files_loadResource(threadData_t *threadData, modelica_string _uri); ^ Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample_02nls.c:13887:237: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[2581] /* terPlugFlow[2].con.u_m variable */) = (DIVISION_SIM(10.0,omc_Buildings_DHC_Loads_BaseClasses_getPeakLoad(threadData, MMC_REFSTRINGLIT(tmp0), omc_Modelica_Utilities_Files_loadResource(threadData, 313.15)),"Buildings.DHC.Loads.BaseClasses.getPeakLoad(\"#Peak space heating load\", Modelica.Utilities.Files.loadResource(313.15))",equationIndexes)) * ((data->localData[0]->realVars[2821] /* terPlugFlow[2].hex.Q2_flow variable */)); ^~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/division.h:45:70: note: expanded from macro 'DIVISION_SIM' #define DIVISION_SIM(a,b,msg,equation) (__OMC_DIV_SIM(threadData, a, b, msg, equationIndexes, data->simulationInfo->noThrowDivZero, data->localData[0]->timeValue, initial())) ^ ./Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample_functions.h:5885:101: note: passing argument to parameter '_uri' here modelica_string omc_Modelica_Utilities_Files_loadResource(threadData_t *threadData, modelica_string _uri); ^ Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample_02nls.c:14393:237: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[2580] /* terPlugFlow[1].con.u_m variable */) = (DIVISION_SIM(10.0,omc_Buildings_DHC_Loads_BaseClasses_getPeakLoad(threadData, MMC_REFSTRINGLIT(tmp0), omc_Modelica_Utilities_Files_loadResource(threadData, 313.15)),"Buildings.DHC.Loads.BaseClasses.getPeakLoad(\"#Peak space heating load\", Modelica.Utilities.Files.loadResource(313.15))",equationIndexes)) * ((data->localData[0]->realVars[2820] /* terPlugFlow[1].hex.Q2_flow variable */)); ^~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/division.h:45:70: note: expanded from macro 'DIVISION_SIM' #define DIVISION_SIM(a,b,msg,equation) (__OMC_DIV_SIM(threadData, a, b, msg, equationIndexes, data->simulationInfo->noThrowDivZero, data->localData[0]->timeValue, initial())) ^ ./Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample_functions.h:5885:101: note: passing argument to parameter '_uri' here modelica_string omc_Modelica_Utilities_Files_loadResource(threadData_t *threadData, modelica_string _uri); ^ Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample_02nls.c:15659:237: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[1914] /* terAutoSize[5].con.u_m variable */) = (DIVISION_SIM(10.0,omc_Buildings_DHC_Loads_BaseClasses_getPeakLoad(threadData, MMC_REFSTRINGLIT(tmp0), omc_Modelica_Utilities_Files_loadResource(threadData, 313.15)),"Buildings.DHC.Loads.BaseClasses.getPeakLoad(\"#Peak space heating load\", Modelica.Utilities.Files.loadResource(313.15))",equationIndexes)) * ((data->localData[0]->realVars[2154] /* terAutoSize[5].hex.Q2_flow variable */)); ^~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/division.h:45:70: note: expanded from macro 'DIVISION_SIM' #define DIVISION_SIM(a,b,msg,equation) (__OMC_DIV_SIM(threadData, a, b, msg, equationIndexes, data->simulationInfo->noThrowDivZero, data->localData[0]->timeValue, initial())) ^ ./Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample_functions.h:5885:101: note: passing argument to parameter '_uri' here modelica_string omc_Modelica_Utilities_Files_loadResource(threadData_t *threadData, modelica_string _uri); ^ Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample_02nls.c:16165:237: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[1913] /* terAutoSize[4].con.u_m variable */) = (DIVISION_SIM(10.0,omc_Buildings_DHC_Loads_BaseClasses_getPeakLoad(threadData, MMC_REFSTRINGLIT(tmp0), omc_Modelica_Utilities_Files_loadResource(threadData, 313.15)),"Buildings.DHC.Loads.BaseClasses.getPeakLoad(\"#Peak space heating load\", Modelica.Utilities.Files.loadResource(313.15))",equationIndexes)) * ((data->localData[0]->realVars[2153] /* terAutoSize[4].hex.Q2_flow variable */)); ^~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/division.h:45:70: note: expanded from macro 'DIVISION_SIM' #define DIVISION_SIM(a,b,msg,equation) (__OMC_DIV_SIM(threadData, a, b, msg, equationIndexes, data->simulationInfo->noThrowDivZero, data->localData[0]->timeValue, initial())) ^ ./Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample_functions.h:5885:101: note: passing argument to parameter '_uri' here modelica_string omc_Modelica_Utilities_Files_loadResource(threadData_t *threadData, modelica_string _uri); ^ Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample_02nls.c:16671:237: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[1912] /* terAutoSize[3].con.u_m variable */) = (DIVISION_SIM(10.0,omc_Buildings_DHC_Loads_BaseClasses_getPeakLoad(threadData, MMC_REFSTRINGLIT(tmp0), omc_Modelica_Utilities_Files_loadResource(threadData, 313.15)),"Buildings.DHC.Loads.BaseClasses.getPeakLoad(\"#Peak space heating load\", Modelica.Utilities.Files.loadResource(313.15))",equationIndexes)) * ((data->localData[0]->realVars[2152] /* terAutoSize[3].hex.Q2_flow variable */)); ^~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/division.h:45:70: note: expanded from macro 'DIVISION_SIM' #define DIVISION_SIM(a,b,msg,equation) (__OMC_DIV_SIM(threadData, a, b, msg, equationIndexes, data->simulationInfo->noThrowDivZero, data->localData[0]->timeValue, initial())) ^ ./Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample_functions.h:5885:101: note: passing argument to parameter '_uri' here modelica_string omc_Modelica_Utilities_Files_loadResource(threadData_t *threadData, modelica_string _uri); ^ Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample_02nls.c:17177:237: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[1911] /* terAutoSize[2].con.u_m variable */) = (DIVISION_SIM(10.0,omc_Buildings_DHC_Loads_BaseClasses_getPeakLoad(threadData, MMC_REFSTRINGLIT(tmp0), omc_Modelica_Utilities_Files_loadResource(threadData, 313.15)),"Buildings.DHC.Loads.BaseClasses.getPeakLoad(\"#Peak space heating load\", Modelica.Utilities.Files.loadResource(313.15))",equationIndexes)) * ((data->localData[0]->realVars[2151] /* terAutoSize[2].hex.Q2_flow variable */)); ^~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/division.h:45:70: note: expanded from macro 'DIVISION_SIM' #define DIVISION_SIM(a,b,msg,equation) (__OMC_DIV_SIM(threadData, a, b, msg, equationIndexes, data->simulationInfo->noThrowDivZero, data->localData[0]->timeValue, initial())) ^ ./Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample_functions.h:5885:101: note: passing argument to parameter '_uri' here modelica_string omc_Modelica_Utilities_Files_loadResource(threadData_t *threadData, modelica_string _uri); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: Buildings_latest_Buildings.DHC.Networks.Examples.Distribution2PipeExample_02nls.o] Error 1