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.001109/0.001114, allocations: 111 kB / 16.42 MB, free: 6.492 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.001088/0.001088, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.401/1.401, allocations: 222.9 MB / 241.1 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.703/2.703, allocations: 469.4 MB / 0.7428 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 59.91 kB / 1.065 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9319/0.9334, allocations: 159.1 MB / 1.221 GB, free: 2.355 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Examples.Distribution1PipeExample): time 1.905/2.838, allocations: 0.9514 GB / 2.172 GB, free: 9.621 MB / 1.654 GB Notification: Performance of NFInst.instExpressions: time 1.425/4.263, allocations: 154.1 MB / 2.323 GB, free: 128.4 MB / 1.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04132/4.305, allocations: 0.64 MB / 2.323 GB, free: 128.4 MB / 1.67 GB Notification: Performance of NFTyping.typeComponents: time 0.03105/4.336, allocations: 9.5 MB / 2.333 GB, free: 128.2 MB / 1.67 GB Notification: Performance of NFTyping.typeBindings: time 0.07381/4.41, allocations: 24.45 MB / 2.357 GB, free: 127.3 MB / 1.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.04049/4.45, allocations: 15.49 MB / 2.372 GB, free: 126.9 MB / 1.67 GB Notification: Performance of NFFlatten.flatten: time 0.378/4.828, allocations: 252.2 MB / 2.618 GB, free: 8.18 MB / 1.732 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1637/4.992, allocations: 79.01 MB / 2.695 GB, free: 9.754 MB / 1.811 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1627/5.155, allocations: 61.35 MB / 2.755 GB, free: 15.41 MB / 1.873 GB Notification: Performance of NFSimplifyModel.simplify: time 0.111/5.266, allocations: 47.94 MB / 2.802 GB, free: 3.008 MB / 1.904 GB Notification: Performance of NFPackage.collectConstants: time 0.03271/5.298, allocations: 7.238 MB / 2.809 GB, free: 11.77 MB / 1.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0779/5.376, allocations: 18.34 MB / 2.827 GB, free: 10.38 MB / 1.936 GB Notification: Performance of NFScalarize.scalarize: time 0.04571/5.422, allocations: 22.32 MB / 2.849 GB, free: 4.383 MB / 1.951 GB Notification: Performance of NFVerifyModel.verify: time 0.1127/5.535, allocations: 41.57 MB / 2.889 GB, free: 10.94 MB / 1.998 GB Notification: Performance of NFConvertDAE.convert: time 2.807/8.342, allocations: 128.3 MB / 3.015 GB, free: 323.9 MB / 2.029 GB Notification: Performance of FrontEnd - DAE generated: time 1.041e-05/8.342, allocations: 0 / 3.015 GB, free: 323.9 MB / 2.029 GB Notification: Performance of FrontEnd: time 1.994e-06/8.342, allocations: 1.531 kB / 3.015 GB, free: 323.9 MB / 2.029 GB Notification: Performance of Transformations before backend: time 0.005677/8.347, allocations: 0.5312 kB / 3.015 GB, free: 323.9 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.3341/8.682, allocations: 80.25 MB / 3.093 GB, free: 292.6 MB / 2.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.036e-05/8.682, allocations: 12.83 kB / 3.093 GB, free: 292.6 MB / 2.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1132/8.795, allocations: 18.99 MB / 3.111 GB, free: 284.2 MB / 2.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2823/9.077, allocations: 105.9 MB / 3.215 GB, free: 252.2 MB / 2.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004847/9.082, allocations: 2.838 MB / 3.218 GB, free: 252.1 MB / 2.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02792/9.11, allocations: 3.712 MB / 3.221 GB, free: 252 MB / 2.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2194/9.329, allocations: 60.35 MB / 3.28 GB, free: 209.6 MB / 2.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002704/9.332, allocations: 139.8 kB / 3.28 GB, free: 209.6 MB / 2.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.02476/9.357, allocations: 1.464 MB / 3.282 GB, free: 208.1 MB / 2.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001186/9.358, allocations: 1.31 MB / 3.283 GB, free: 206.8 MB / 2.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1622/9.52, allocations: 52.17 MB / 3.334 GB, free: 155.2 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.7041/10.22, allocations: 295.4 MB / 3.622 GB, free: 7.078 MB / 2.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.08539/10.31, allocations: 33.33 MB / 3.655 GB, free: 5.738 MB / 2.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04589/10.36, allocations: 16.67 MB / 3.671 GB, free: 5.043 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.372/11.73, allocations: 61.8 MB / 3.732 GB, free: 1.04 GB / 2.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04891/11.78, allocations: 18.59 MB / 3.75 GB, free: 1.039 GB / 2.279 GB Notification: Performance of pre-optimization done (n=1487): time 3.461e-05/11.78, allocations: 0 / 3.75 GB, free: 1.039 GB / 2.279 GB Notification: Performance of matching and sorting (n=1487): time 0.3075/12.08, allocations: 83.28 MB / 3.831 GB, free: 1.037 GB / 2.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002601/12.09, allocations: 0.7897 MB / 3.832 GB, free: 1.037 GB / 2.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2164/12.3, allocations: 75.03 MB / 3.905 GB, free: 1.023 GB / 2.279 GB Notification: Performance of collectPreVariables (initialization): time 0.01179/12.31, allocations: 482.4 kB / 3.906 GB, free: 1.022 GB / 2.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.06885/12.38, allocations: 32.5 MB / 3.937 GB, free: 1.003 GB / 2.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.01484/12.4, allocations: 5.526 MB / 3.943 GB, free: 0.9987 GB / 2.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.05405/12.45, allocations: 9.254 MB / 3.952 GB, free: 0.9949 GB / 2.279 GB Notification: Performance of setup shared object (initialization): time 0.0001148/12.45, allocations: 301.1 kB / 3.952 GB, free: 0.9946 GB / 2.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05961/12.51, allocations: 26.4 MB / 3.978 GB, free: 0.9756 GB / 2.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.07178/12.58, allocations: 39.84 MB / 4.017 GB, free: 0.9318 GB / 2.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1118/12.69, allocations: 59.71 MB / 4.075 GB, free: 0.8691 GB / 2.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004124/12.7, allocations: 92 kB / 4.075 GB, free: 0.869 GB / 2.279 GB Notification: Performance of matching and sorting (n=5025) (initialization): time 0.2009/12.9, allocations: 76.83 MB / 4.15 GB, free: 0.7938 GB / 2.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002395/12.9, allocations: 150 kB / 4.15 GB, free: 0.7936 GB / 2.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000695/12.9, allocations: 348 kB / 4.151 GB, free: 0.7933 GB / 2.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03233/12.93, allocations: 11.17 MB / 4.162 GB, free: 0.7825 GB / 2.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.06711/13, allocations: 13.11 MB / 4.174 GB, free: 0.7696 GB / 2.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04028/13.04, allocations: 34.89 MB / 4.208 GB, free: 0.7348 GB / 2.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.072/13.11, allocations: 6.624 MB / 4.215 GB, free: 0.7283 GB / 2.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01331/13.12, allocations: 1.861 MB / 4.217 GB, free: 0.7265 GB / 2.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.1071/13.23, allocations: 48.55 MB / 4.264 GB, free: 0.679 GB / 2.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.06982/13.3, allocations: 38.08 MB / 4.301 GB, free: 0.6364 GB / 2.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1054/13.4, allocations: 56.36 MB / 4.356 GB, free: 0.5767 GB / 2.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0004049/13.41, allocations: 96 kB / 4.356 GB, free: 0.5766 GB / 2.279 GB Notification: Performance of matching and sorting (n=5025) (initialization_lambda0): time 0.2/13.61, allocations: 72.76 MB / 4.427 GB, free: 0.5054 GB / 2.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.000676/13.61, allocations: 152 kB / 4.428 GB, free: 0.5053 GB / 2.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009546/13.61, allocations: 348 kB / 4.428 GB, free: 0.5049 GB / 2.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02599/13.63, allocations: 9.022 MB / 4.437 GB, free: 0.4961 GB / 2.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.06461/13.7, allocations: 13.12 MB / 4.45 GB, free: 494.9 MB / 2.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02759/13.73, allocations: 25.18 MB / 4.474 GB, free: 469.2 MB / 2.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08267/13.81, allocations: 5.639 MB / 4.48 GB, free: 463.5 MB / 2.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01317/13.82, allocations: 1.76 MB / 4.481 GB, free: 461.7 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.02204/13.84, allocations: 2.295 MB / 4.484 GB, free: 459.4 MB / 2.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02705/13.87, allocations: 5.495 MB / 4.489 GB, free: 453.9 MB / 2.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1476/14.02, allocations: 42.6 MB / 4.531 GB, free: 411.4 MB / 2.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.09775/14.12, allocations: 32.97 MB / 4.563 GB, free: 378.3 MB / 2.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004073/14.12, allocations: 19.98 kB / 4.563 GB, free: 378.3 MB / 2.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.05573/14.17, allocations: 10.8 MB / 4.573 GB, free: 367.4 MB / 2.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02758/14.2, allocations: 359.9 kB / 4.574 GB, free: 367 MB / 2.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05537/14.25, allocations: 2.861 MB / 4.576 GB, free: 364.2 MB / 2.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.009/14.26, allocations: 1.108 MB / 4.578 GB, free: 363.1 MB / 2.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.126/14.39, allocations: 45.12 MB / 4.622 GB, free: 318.1 MB / 2.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1434/14.53, allocations: 54.63 MB / 4.675 GB, free: 263.3 MB / 2.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.03478/14.57, allocations: 15.79 MB / 4.69 GB, free: 247.5 MB / 2.279 GB Notification: Performance of sorting global known variables: time 0.1367/14.71, allocations: 52.33 MB / 4.742 GB, free: 195.5 MB / 2.279 GB Notification: Performance of Backend: time 2.455e-06/14.71, allocations: 0 / 4.742 GB, free: 195.5 MB / 2.279 GB Notification: Performance of simCode: created initialization part: time 0.3474/15.05, allocations: 94.64 MB / 4.834 GB, free: 101.8 MB / 2.279 GB Notification: Performance of SimCode: time 1.608/16.66, allocations: 157.8 MB / 4.988 GB, free: 1.009 GB / 2.279 GB Notification: Performance of Templates: time 4.016/20.68, allocations: 1.312 GB / 6.3 GB, free: 0.8188 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