Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Networks.Examples.Distribution1PipeExample.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.Distribution1PipeExample,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.Distribution1PipeExample") translateModel(Buildings.DHC.Networks.Examples.Distribution1PipeExample,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.Distribution1PipeExample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00191/0.00191, allocations: 118 kB / 16.42 MB, free: 6.012 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.002579/0.002579, allocations: 183.4 kB / 17.35 MB, free: 5.629 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.582/1.582, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.798/2.798, allocations: 461.9 MB / 0.7355 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 59.91 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.976/0.9775, allocations: 157.4 MB / 1.208 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Examples.Distribution1PipeExample): time 1.913/2.891, allocations: 0.9514 GB / 2.16 GB, free: 10.98 MB / 1.639 GB Notification: Performance of NFInst.instExpressions: time 1.52/4.411, allocations: 154.1 MB / 2.31 GB, free: 129.4 MB / 1.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03921/4.45, allocations: 0.6377 MB / 2.311 GB, free: 129.4 MB / 1.67 GB Notification: Performance of NFTyping.typeComponents: time 0.03212/4.482, allocations: 9.275 MB / 2.32 GB, free: 129.2 MB / 1.67 GB Notification: Performance of NFTyping.typeBindings: time 0.07828/4.561, allocations: 23.33 MB / 2.343 GB, free: 128.3 MB / 1.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.04797/4.609, allocations: 15.46 MB / 2.358 GB, free: 127.9 MB / 1.67 GB Notification: Performance of NFFlatten.flatten: time 0.4/5.009, allocations: 252 MB / 2.604 GB, free: 7.711 MB / 1.717 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1637/5.172, allocations: 79 MB / 2.681 GB, free: 9.285 MB / 1.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1652/5.338, allocations: 61.21 MB / 2.741 GB, free: 15.09 MB / 1.857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1092/5.447, allocations: 47.94 MB / 2.788 GB, free: 2.68 MB / 1.889 GB Notification: Performance of NFPackage.collectConstants: time 0.03551/5.482, allocations: 7.242 MB / 2.795 GB, free: 11.43 MB / 1.904 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0861/5.568, allocations: 18.32 MB / 2.813 GB, free: 10.07 MB / 1.92 GB Notification: Performance of NFScalarize.scalarize: time 0.04836/5.617, allocations: 22.31 MB / 2.834 GB, free: 4.078 MB / 1.936 GB Notification: Performance of NFVerifyModel.verify: time 0.1223/5.739, allocations: 41.58 MB / 2.875 GB, free: 10.62 MB / 1.982 GB Notification: Performance of NFConvertDAE.convert: time 3.092/8.831, allocations: 128.3 MB / 3 GB, free: 320.4 MB / 2.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/8.831, allocations: 0.5469 kB / 3 GB, free: 320.4 MB / 2.029 GB Notification: Performance of FrontEnd: time 2.044e-06/8.831, allocations: 1.188 kB / 3 GB, free: 320.4 MB / 2.029 GB Notification: Performance of Transformations before backend: time 0.006962/8.838, allocations: 0 / 3 GB, free: 320.4 MB / 2.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8856 * Number of variables: 8856 Notification: Performance of Generate backend data structure: time 0.2972/9.135, allocations: 80.24 MB / 3.079 GB, free: 290.8 MB / 2.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.938e-05/9.135, allocations: 8.781 kB / 3.079 GB, free: 290.8 MB / 2.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1095/9.245, allocations: 18.99 MB / 3.097 GB, free: 286.2 MB / 2.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2586/9.503, allocations: 105.9 MB / 3.201 GB, free: 254.2 MB / 2.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004556/9.508, allocations: 2.842 MB / 3.203 GB, free: 254.1 MB / 2.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02503/9.533, allocations: 3.711 MB / 3.207 GB, free: 254.1 MB / 2.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1939/9.727, allocations: 60.35 MB / 3.266 GB, free: 219.2 MB / 2.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002149/9.729, allocations: 136.4 kB / 3.266 GB, free: 219.1 MB / 2.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.02032/9.75, allocations: 1.467 MB / 3.268 GB, free: 217.7 MB / 2.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001188/9.751, allocations: 1.312 MB / 3.269 GB, free: 216.4 MB / 2.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.144/9.895, allocations: 52.16 MB / 3.32 GB, free: 164.8 MB / 2.029 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.558/10.45, allocations: 295.4 MB / 3.608 GB, free: 0.6484 MB / 2.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0795/10.53, allocations: 33.32 MB / 3.641 GB, free: 15.32 MB / 2.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04052/10.57, allocations: 16.67 MB / 3.657 GB, free: 14.62 MB / 2.233 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 1.342/11.91, allocations: 61.8 MB / 3.717 GB, free: 1.054 GB / 2.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05739/11.97, allocations: 18.6 MB / 3.736 GB, free: 1.054 GB / 2.279 GB Notification: Performance of pre-optimization done (n=1487): time 4.772e-05/11.97, allocations: 0 / 3.736 GB, free: 1.054 GB / 2.279 GB Notification: Performance of matching and sorting (n=1487): time 0.3117/12.28, allocations: 83.28 MB / 3.817 GB, free: 1.052 GB / 2.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002827/12.28, allocations: 0.7841 MB / 3.818 GB, free: 1.051 GB / 2.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2323/12.52, allocations: 75.03 MB / 3.891 GB, free: 1.037 GB / 2.279 GB Notification: Performance of collectPreVariables (initialization): time 0.01227/12.53, allocations: 480 kB / 3.891 GB, free: 1.037 GB / 2.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.06378/12.59, allocations: 32.49 MB / 3.923 GB, free: 1.018 GB / 2.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.01684/12.61, allocations: 5.526 MB / 3.929 GB, free: 1.014 GB / 2.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.06737/12.68, allocations: 9.252 MB / 3.938 GB, free: 1.01 GB / 2.279 GB Notification: Performance of setup shared object (initialization): time 6.704e-05/12.68, allocations: 309.1 kB / 3.938 GB, free: 1.009 GB / 2.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.06835/12.75, allocations: 26.4 MB / 3.964 GB, free: 0.9963 GB / 2.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0773/12.82, allocations: 39.83 MB / 4.003 GB, free: 0.9524 GB / 2.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1184/12.94, allocations: 59.71 MB / 4.061 GB, free: 0.8897 GB / 2.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006477/12.94, allocations: 96 kB / 4.061 GB, free: 0.8896 GB / 2.279 GB Notification: Performance of matching and sorting (n=5025) (initialization): time 0.2303/13.17, allocations: 76.84 MB / 4.136 GB, free: 0.8144 GB / 2.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008339/13.17, allocations: 148 kB / 4.136 GB, free: 0.8143 GB / 2.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001128/13.17, allocations: 348 kB / 4.136 GB, free: 0.814 GB / 2.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03366/13.21, allocations: 11.16 MB / 4.147 GB, free: 0.8031 GB / 2.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.06832/13.28, allocations: 13.12 MB / 4.16 GB, free: 0.7903 GB / 2.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04326/13.32, allocations: 34.88 MB / 4.194 GB, free: 0.7554 GB / 2.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0804/13.4, allocations: 6.626 MB / 4.201 GB, free: 0.7489 GB / 2.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01444/13.41, allocations: 1.861 MB / 4.203 GB, free: 0.7471 GB / 2.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.1191/13.53, allocations: 48.55 MB / 4.25 GB, free: 0.6997 GB / 2.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.06997/13.6, allocations: 38.08 MB / 4.287 GB, free: 0.6571 GB / 2.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1138/13.72, allocations: 56.35 MB / 4.342 GB, free: 0.5974 GB / 2.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.000564/13.72, allocations: 92 kB / 4.342 GB, free: 0.5973 GB / 2.279 GB Notification: Performance of matching and sorting (n=5025) (initialization_lambda0): time 0.2102/13.93, allocations: 72.77 MB / 4.413 GB, free: 0.526 GB / 2.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006741/13.93, allocations: 148 kB / 4.413 GB, free: 0.5259 GB / 2.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00112/13.93, allocations: 348 kB / 4.414 GB, free: 0.5256 GB / 2.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02876/13.96, allocations: 9.024 MB / 4.423 GB, free: 0.5168 GB / 2.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.06796/14.03, allocations: 13.11 MB / 4.435 GB, free: 0.5039 GB / 2.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03041/14.06, allocations: 25.18 MB / 4.46 GB, free: 490.3 MB / 2.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08227/14.14, allocations: 5.642 MB / 4.465 GB, free: 484.6 MB / 2.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01496/14.15, allocations: 1.767 MB / 4.467 GB, free: 482.9 MB / 2.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1522 * 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 (3905): * Single equations (assignments): 3817 * Array equations: 22 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 16 * Torn equation systems: 16 * 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): 16 systems {1, 1, 1, 1, 1, 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): 16 systems {(1,26), (1,26), (1,26), (1,26), (4,59), (1,5), (1,26), (1,5), (1,5), (1,5), (1,5), (1,26), (1,26), (1,26), (1,5), (4,59)} Notification: Performance of prepare postOptimizeDAE: time 0.026/14.18, allocations: 2.288 MB / 4.469 GB, free: 480.6 MB / 2.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.03726/14.22, allocations: 5.491 MB / 4.475 GB, free: 475 MB / 2.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2/14.42, allocations: 42.6 MB / 4.516 GB, free: 432.5 MB / 2.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.09867/14.52, allocations: 32.97 MB / 4.549 GB, free: 399.4 MB / 2.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003386/14.52, allocations: 19.92 kB / 4.549 GB, free: 399.4 MB / 2.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.04789/14.57, allocations: 10.81 MB / 4.559 GB, free: 388.5 MB / 2.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02846/14.59, allocations: 364.7 kB / 4.56 GB, free: 388.1 MB / 2.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04932/14.64, allocations: 2.844 MB / 4.562 GB, free: 385.3 MB / 2.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006833/14.65, allocations: 1.104 MB / 4.563 GB, free: 384.2 MB / 2.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1341/14.78, allocations: 45.12 MB / 4.607 GB, free: 339.2 MB / 2.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1467/14.93, allocations: 54.62 MB / 4.661 GB, free: 284.4 MB / 2.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0341/14.96, allocations: 15.79 MB / 4.676 GB, free: 268.6 MB / 2.279 GB Notification: Performance of sorting global known variables: time 0.1346/15.1, allocations: 52.34 MB / 4.727 GB, free: 216.6 MB / 2.279 GB Notification: Performance of Backend: time 1.342e-06/15.1, allocations: 0 / 4.727 GB, free: 216.6 MB / 2.279 GB Notification: Performance of simCode: created initialization part: time 0.333/15.43, allocations: 94.62 MB / 4.82 GB, free: 122.9 MB / 2.279 GB Notification: Performance of SimCode: time 2.461/17.89, allocations: 157.8 MB / 4.974 GB, free: 1.01 GB / 2.28 GB Notification: Performance of Templates: time 4.276/22.17, allocations: 1.312 GB / 6.286 GB, free: 0.8564 GB / 2.28 GB make -j1 -f Buildings_latest_Buildings.DHC.Networks.Examples.Distribution1PipeExample.makefile make -j1 -f Buildings_latest_Buildings.DHC.Networks.Examples.Distribution1PipeExample.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_Distribution1PipeExample -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=54 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings.DHC.Networks.Examples.Distribution1PipeExample.o Buildings_latest_Buildings.DHC.Networks.Examples.Distribution1PipeExample.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_Distribution1PipeExample -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=54 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings.DHC.Networks.Examples.Distribution1PipeExample_functions.o Buildings_latest_Buildings.DHC.Networks.Examples.Distribution1PipeExample_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_Distribution1PipeExample -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=54 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings.DHC.Networks.Examples.Distribution1PipeExample_records.o Buildings_latest_Buildings.DHC.Networks.Examples.Distribution1PipeExample_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_Distribution1PipeExample -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=54 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings.DHC.Networks.Examples.Distribution1PipeExample_01exo.o Buildings_latest_Buildings.DHC.Networks.Examples.Distribution1PipeExample_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_Distribution1PipeExample -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=54 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings.DHC.Networks.Examples.Distribution1PipeExample_02nls.o Buildings_latest_Buildings.DHC.Networks.Examples.Distribution1PipeExample_02nls.c Buildings_latest_Buildings.DHC.Networks.Examples.Distribution1PipeExample_02nls.c:524:237: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[2345] /* 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[2584] /* 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.Distribution1PipeExample_functions.h:5811: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.Distribution1PipeExample_02nls.c:1654:237: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[2346] /* 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[2585] /* 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.Distribution1PipeExample_functions.h:5811: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.Distribution1PipeExample_02nls.c:2248:237: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[2347] /* 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[2586] /* 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.Distribution1PipeExample_functions.h:5811: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.Distribution1PipeExample_02nls.c:2842:237: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[2348] /* 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[2587] /* 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.Distribution1PipeExample_functions.h:5811: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.Distribution1PipeExample_02nls.c:4592:237: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[2349] /* 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[2588] /* 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.Distribution1PipeExample_functions.h:5811: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.Distribution1PipeExample_02nls.c:6105:237: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[1686] /* 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[1925] /* 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.Distribution1PipeExample_functions.h:5811: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.Distribution1PipeExample_02nls.c:7060:237: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[1690] /* 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[1929] /* 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.Distribution1PipeExample_functions.h:5811: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.Distribution1PipeExample_02nls.c:7654:237: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[1689] /* 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[1928] /* 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.Distribution1PipeExample_functions.h:5811: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.Distribution1PipeExample_02nls.c:8248:237: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[1688] /* 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[1927] /* 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.Distribution1PipeExample_functions.h:5811: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.Distribution1PipeExample_02nls.c:8842:237: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[1687] /* 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[1926] /* 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.Distribution1PipeExample_functions.h:5811: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.Distribution1PipeExample_02nls.c:10110:315: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[2584] /* terPlugFlow[1].hex.Q2_flow variable */) = (-0.1) * (((-(data->localData[0]->realVars[2345] /* terPlugFlow[1].con.u_m variable */))) * (omc_Buildings_DHC_Loads_BaseClasses_getPeakLoad(threadData, MMC_REFSTRINGLIT(tmp0), omc_Modelica_Utilities_Files_loadResource(threadData, 313.15)))); ^~~~~~ ./Buildings_latest_Buildings.DHC.Networks.Examples.Distribution1PipeExample_functions.h:5811: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.Distribution1PipeExample_02nls.c:11167:237: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[2346] /* 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[2585] /* 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.Distribution1PipeExample_functions.h:5811: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.Distribution1PipeExample_02nls.c:11673:237: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[2347] /* 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[2586] /* 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.Distribution1PipeExample_functions.h:5811: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.Distribution1PipeExample_02nls.c:12179:237: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[2348] /* 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[2587] /* 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.Distribution1PipeExample_functions.h:5811: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.Distribution1PipeExample_02nls.c:12685:237: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[2349] /* 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[2588] /* 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.Distribution1PipeExample_functions.h:5811: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.Distribution1PipeExample_02nls.c:14690:315: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[1925] /* terAutoSize[1].hex.Q2_flow variable */) = (-0.1) * (((-(data->localData[0]->realVars[1686] /* terAutoSize[1].con.u_m variable */))) * (omc_Buildings_DHC_Loads_BaseClasses_getPeakLoad(threadData, MMC_REFSTRINGLIT(tmp0), omc_Modelica_Utilities_Files_loadResource(threadData, 313.15)))); ^~~~~~ ./Buildings_latest_Buildings.DHC.Networks.Examples.Distribution1PipeExample_functions.h:5811: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.Distribution1PipeExample_02nls.c:15572:237: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[1690] /* 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[1929] /* 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.Distribution1PipeExample_functions.h:5811: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.Distribution1PipeExample_02nls.c:16078:237: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[1687] /* 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[1926] /* 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.Distribution1PipeExample_functions.h:5811: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.Distribution1PipeExample_02nls.c:16584:237: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[1688] /* 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[1927] /* 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.Distribution1PipeExample_functions.h:5811: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.Distribution1PipeExample_02nls.o] Error 1