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.001703/0.001703, allocations: 110.8 kB / 16.42 MB, free: 6.441 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.001386/0.001386, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.541/1.541, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.83/2.83, allocations: 469.4 MB / 0.7428 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001634, allocations: 64.11 kB / 1.065 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9331/0.9347, allocations: 159.1 MB / 1.221 GB, free: 2.367 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Examples.Distribution2PipeExample): time 1.891/2.826, allocations: 0.9706 GB / 2.191 GB, free: 5.965 MB / 1.67 GB Notification: Performance of NFInst.instExpressions: time 1.517/4.342, allocations: 157.8 MB / 2.346 GB, free: 133.6 MB / 1.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03598/4.378, allocations: 0.6093 MB / 2.346 GB, free: 133.6 MB / 1.67 GB Notification: Performance of NFTyping.typeComponents: time 0.03067/4.409, allocations: 9.51 MB / 2.355 GB, free: 133.4 MB / 1.67 GB Notification: Performance of NFTyping.typeBindings: time 0.07748/4.487, allocations: 24.58 MB / 2.379 GB, free: 132.5 MB / 1.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.04471/4.531, allocations: 15.39 MB / 2.394 GB, free: 132.1 MB / 1.67 GB Notification: Performance of NFFlatten.flatten: time 0.3527/4.884, allocations: 210.1 MB / 2.6 GB, free: 5.957 MB / 1.701 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1686/5.053, allocations: 80.35 MB / 2.678 GB, free: 6.176 MB / 1.779 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1719/5.225, allocations: 62.11 MB / 2.739 GB, free: 11.04 MB / 1.842 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1174/5.342, allocations: 48.35 MB / 2.786 GB, free: 14.19 MB / 1.889 GB Notification: Performance of NFPackage.collectConstants: time 0.03878/5.381, allocations: 7.691 MB / 2.793 GB, free: 6.5 MB / 1.889 GB Notification: Performance of NFFlatten.collectFunctions: time 0.09666/5.478, allocations: 18.94 MB / 2.812 GB, free: 4.512 MB / 1.904 GB Notification: Performance of NFScalarize.scalarize: time 0.05448/5.532, allocations: 21.01 MB / 2.833 GB, free: 15.84 MB / 1.936 GB Notification: Performance of NFVerifyModel.verify: time 0.1327/5.665, allocations: 40.79 MB / 2.872 GB, free: 7.195 MB / 1.967 GB Notification: Performance of NFConvertDAE.convert: time 2.771/8.436, allocations: 128.7 MB / 2.998 GB, free: 295.8 MB / 2.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.796e-06/8.436, allocations: 0 / 2.998 GB, free: 295.8 MB / 2.014 GB Notification: Performance of FrontEnd: time 1.673e-06/8.436, allocations: 0.6562 kB / 2.998 GB, free: 295.8 MB / 2.014 GB Notification: Performance of Transformations before backend: time 0.005424/8.441, allocations: 0 / 2.998 GB, free: 295.8 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.2841/8.725, allocations: 77.56 MB / 3.074 GB, free: 268.9 MB / 2.014 GB Notification: Performance of prepare preOptimizeDAE: time 7.035e-05/8.725, allocations: 12.41 kB / 3.074 GB, free: 268.9 MB / 2.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09271/8.818, allocations: 14.3 MB / 3.088 GB, free: 264.4 MB / 2.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2328/9.051, allocations: 98.23 MB / 3.184 GB, free: 235.3 MB / 2.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004667/9.056, allocations: 2.852 MB / 3.186 GB, free: 235.2 MB / 2.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02717/9.083, allocations: 3.775 MB / 3.19 GB, free: 235.2 MB / 2.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2023/9.285, allocations: 57.97 MB / 3.247 GB, free: 206.9 MB / 2.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002776/9.288, allocations: 153.1 kB / 3.247 GB, free: 206.8 MB / 2.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.02642/9.315, allocations: 1.485 MB / 3.248 GB, free: 205.3 MB / 2.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00119/9.316, allocations: 1.347 MB / 3.25 GB, free: 204 MB / 2.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1399/9.456, allocations: 49.28 MB / 3.298 GB, free: 155.3 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.598/10.05, allocations: 298.3 MB / 3.589 GB, free: 3.945 MB / 2.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.08328/10.14, allocations: 33.4 MB / 3.622 GB, free: 2.449 MB / 2.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04009/10.18, allocations: 15.28 MB / 3.637 GB, free: 3.141 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.2559/10.43, allocations: 75.41 MB / 3.71 GB, free: 7.133 MB / 2.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.322/11.76, allocations: 16.22 MB / 3.726 GB, free: 1.066 GB / 2.295 GB Notification: Performance of pre-optimization done (n=1588): time 8.555e-05/11.76, allocations: 0 / 3.726 GB, free: 1.066 GB / 2.295 GB Notification: Performance of matching and sorting (n=1588): time 0.1713/11.93, allocations: 49.3 MB / 3.774 GB, free: 1.065 GB / 2.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002461/11.93, allocations: 0.7955 MB / 3.775 GB, free: 1.064 GB / 2.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.225/12.15, allocations: 67.96 MB / 3.841 GB, free: 1.05 GB / 2.295 GB Notification: Performance of collectPreVariables (initialization): time 0.01196/12.16, allocations: 492.2 kB / 3.842 GB, free: 1.049 GB / 2.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.06488/12.23, allocations: 30.32 MB / 3.871 GB, free: 1.031 GB / 2.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.01629/12.25, allocations: 5.881 MB / 3.877 GB, free: 1.027 GB / 2.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.05476/12.3, allocations: 8.33 MB / 3.885 GB, free: 1.024 GB / 2.295 GB Notification: Performance of setup shared object (initialization): time 6.376e-05/12.3, allocations: 308.7 kB / 3.886 GB, free: 1.023 GB / 2.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05462/12.35, allocations: 21.7 MB / 3.907 GB, free: 1.017 GB / 2.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0716/12.43, allocations: 34.66 MB / 3.941 GB, free: 0.9955 GB / 2.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1075/12.53, allocations: 50.24 MB / 3.99 GB, free: 0.9598 GB / 2.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0008879/12.53, allocations: 96 kB / 3.99 GB, free: 0.9597 GB / 2.295 GB Notification: Performance of matching and sorting (n=4595) (initialization): time 0.1987/12.73, allocations: 66.02 MB / 4.054 GB, free: 0.9012 GB / 2.295 GB Notification: Performance of prepare postOptimizeDAE: time 0.001019/12.73, allocations: 144 kB / 4.054 GB, free: 0.901 GB / 2.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001654/12.74, allocations: 356 kB / 4.055 GB, free: 0.9007 GB / 2.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05399/12.79, allocations: 17.56 MB / 4.072 GB, free: 0.8838 GB / 2.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.08607/12.88, allocations: 16.74 MB / 4.088 GB, free: 0.8674 GB / 2.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04707/12.92, allocations: 32.5 MB / 4.12 GB, free: 0.8351 GB / 2.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08469/13.01, allocations: 6.971 MB / 4.127 GB, free: 0.8283 GB / 2.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01576/13.02, allocations: 1.652 MB / 4.128 GB, free: 0.8267 GB / 2.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.1226/13.15, allocations: 43.39 MB / 4.171 GB, free: 0.7843 GB / 2.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.07355/13.22, allocations: 34.04 MB / 4.204 GB, free: 0.7457 GB / 2.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.09922/13.32, allocations: 49.19 MB / 4.252 GB, free: 0.6931 GB / 2.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0004976/13.32, allocations: 92 kB / 4.252 GB, free: 0.693 GB / 2.295 GB Notification: Performance of matching and sorting (n=4595) (initialization_lambda0): time 0.2094/13.53, allocations: 65.85 MB / 4.316 GB, free: 0.6286 GB / 2.295 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006153/13.53, allocations: 148.1 kB / 4.317 GB, free: 0.6284 GB / 2.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001085/13.53, allocations: 356 kB / 4.317 GB, free: 0.6281 GB / 2.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0285/13.56, allocations: 10.29 MB / 4.327 GB, free: 0.618 GB / 2.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.08514/13.65, allocations: 16.93 MB / 4.344 GB, free: 0.6015 GB / 2.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04483/13.69, allocations: 42.78 MB / 4.385 GB, free: 0.5587 GB / 2.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08671/13.78, allocations: 6.078 MB / 4.391 GB, free: 0.5527 GB / 2.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01499/13.79, allocations: 1.625 MB / 4.393 GB, free: 0.5511 GB / 2.295 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.02518/13.82, allocations: 2.245 MB / 4.395 GB, free: 0.5489 GB / 2.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02875/13.85, allocations: 5.077 MB / 4.4 GB, free: 0.5439 GB / 2.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1361/13.98, allocations: 40.42 MB / 4.439 GB, free: 0.5045 GB / 2.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.09382/14.08, allocations: 30.86 MB / 4.47 GB, free: 485.7 MB / 2.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0006009/14.08, allocations: 27.97 kB / 4.47 GB, free: 485.7 MB / 2.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.04895/14.13, allocations: 10.63 MB / 4.48 GB, free: 474.9 MB / 2.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.03185/14.16, allocations: 423.8 kB / 4.48 GB, free: 474.5 MB / 2.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.06159/14.22, allocations: 2.894 MB / 4.483 GB, free: 471.6 MB / 2.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.008423/14.23, allocations: 1.359 MB / 4.485 GB, free: 470.3 MB / 2.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1408/14.37, allocations: 45.09 MB / 4.529 GB, free: 425.5 MB / 2.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1461/14.51, allocations: 51.29 MB / 4.579 GB, free: 374 MB / 2.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.03385/14.55, allocations: 15.33 MB / 4.594 GB, free: 358.7 MB / 2.295 GB Notification: Performance of sorting global known variables: time 0.1453/14.69, allocations: 47.59 MB / 4.64 GB, free: 311.4 MB / 2.295 GB Notification: Performance of Backend: time 1.152e-06/14.69, allocations: 4 kB / 4.64 GB, free: 311.4 MB / 2.295 GB Notification: Performance of simCode: created initialization part: time 0.42/15.11, allocations: 104.8 MB / 4.742 GB, free: 207.4 MB / 2.295 GB Notification: Performance of SimCode: time 2.536/17.65, allocations: 149.2 MB / 4.888 GB, free: 1.012 GB / 2.295 GB Notification: Performance of Templates: time 4.197/21.85, allocations: 1.234 GB / 6.122 GB, free: 0.9577 GB / 2.295 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