Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ter.1..TLoaODE.TAir|minTSet.y|ter.1..QReqHea_flow|ter.1..QActHea_flow|ter.1..mReqHeaWat_flow|ter.1..port_aHeaWat.m_flow",fileNamePrefix="Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2") translateModel(Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ter.1..TLoaODE.TAir|minTSet.y|ter.1..QReqHea_flow|ter.1..QActHea_flow|ter.1..mReqHeaWat_flow|ter.1..port_aHeaWat.m_flow",fileNamePrefix="Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 119.6 kB / 16.81 MB, free: 5.754 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.001254/0.001254, allocations: 199.1 kB / 17.77 MB, free: 5.125 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.445/1.445, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.881/2.881, allocations: 476.7 MB / 0.7556 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 68.31 kB / 1.097 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3761, allocations: 168.7 MB / 1.262 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2): time 1.476/1.852, allocations: 0.5066 GB / 1.769 GB, free: 3.613 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.1012/1.953, allocations: 69.23 MB / 1.836 GB, free: 8.348 MB / 1.342 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0138/1.967, allocations: 258.6 kB / 1.837 GB, free: 8.094 MB / 1.342 GB Notification: Performance of NFTyping.typeComponents: time 0.01462/1.982, allocations: 4.482 MB / 1.841 GB, free: 3.59 MB / 1.342 GB Notification: Performance of NFTyping.typeBindings: time 0.0331/2.015, allocations: 10.23 MB / 1.851 GB, free: 9.328 MB / 1.357 GB Notification: Performance of NFTyping.typeClassSections: time 0.02326/2.038, allocations: 6.67 MB / 1.857 GB, free: 2.703 MB / 1.357 GB Notification: Performance of NFFlatten.flatten: time 0.1651/2.203, allocations: 85.04 MB / 1.94 GB, free: 14.64 MB / 1.451 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04912/2.252, allocations: 25.33 MB / 1.965 GB, free: 5.137 MB / 1.467 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0626/2.315, allocations: 23.95 MB / 1.989 GB, free: 13.16 MB / 1.498 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04279/2.358, allocations: 19.06 MB / 2.007 GB, free: 10.05 MB / 1.514 GB Notification: Performance of NFPackage.collectConstants: time 0.01179/2.37, allocations: 2.695 MB / 2.01 GB, free: 7.355 MB / 1.514 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03474/2.404, allocations: 8.832 MB / 2.018 GB, free: 14.51 MB / 1.529 GB Notification: Performance of NFScalarize.scalarize: time 0.01695/2.421, allocations: 8.183 MB / 2.026 GB, free: 6.301 MB / 1.529 GB Notification: Performance of NFVerifyModel.verify: time 0.03892/2.46, allocations: 15.59 MB / 2.042 GB, free: 6.645 MB / 1.545 GB Notification: Performance of NFConvertDAE.convert: time 0.08208/2.542, allocations: 48.88 MB / 2.089 GB, free: 5.605 MB / 1.592 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/2.542, allocations: 0 / 2.089 GB, free: 5.605 MB / 1.592 GB Notification: Performance of FrontEnd: time 1.674e-06/2.542, allocations: 0 / 2.089 GB, free: 5.605 MB / 1.592 GB Notification: Performance of Transformations before backend: time 0.001543/2.544, allocations: 0 / 2.089 GB, free: 5.605 MB / 1.592 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3491 * Number of variables: 3491 Notification: Performance of Generate backend data structure: time 0.08938/2.633, allocations: 31.03 MB / 2.12 GB, free: 6.305 MB / 1.623 GB Notification: Performance of prepare preOptimizeDAE: time 5.721e-05/2.633, allocations: 8.031 kB / 2.12 GB, free: 6.297 MB / 1.623 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03654/2.67, allocations: 6.574 MB / 2.126 GB, free: 15.7 MB / 1.639 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09825/2.768, allocations: 40.23 MB / 2.165 GB, free: 7.332 MB / 1.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001647/2.77, allocations: 1.109 MB / 2.167 GB, free: 6.223 MB / 1.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006748/2.776, allocations: 1.43 MB / 2.168 GB, free: 4.793 MB / 1.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06453/2.841, allocations: 22.52 MB / 2.19 GB, free: 13.15 MB / 1.701 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007559/2.842, allocations: 55.5 kB / 2.19 GB, free: 13.09 MB / 1.701 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00754/2.849, allocations: 0.5859 MB / 2.191 GB, free: 12.51 MB / 1.701 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009259/2.85, allocations: 0.5274 MB / 2.191 GB, free: 11.98 MB / 1.701 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.56/4.41, allocations: 19.1 MB / 2.21 GB, free: 0.643 GB / 1.701 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.1763/4.586, allocations: 113.9 MB / 2.321 GB, free: 0.5583 GB / 1.701 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02041/4.607, allocations: 10.1 MB / 2.331 GB, free: 0.5529 GB / 1.701 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01045/4.617, allocations: 5.349 MB / 2.336 GB, free: 0.5503 GB / 1.701 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.04602/4.663, allocations: 18.62 MB / 2.354 GB, free: 0.5379 GB / 1.701 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01376/4.677, allocations: 5.869 MB / 2.36 GB, free: 0.5321 GB / 1.701 GB Notification: Performance of pre-optimization done (n=533): time 1.466e-05/4.677, allocations: 3.875 kB / 2.36 GB, free: 0.5321 GB / 1.701 GB Notification: Performance of matching and sorting (n=533): time 0.07924/4.756, allocations: 18.21 MB / 2.378 GB, free: 0.5145 GB / 1.701 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001393/4.756, allocations: 419.8 kB / 2.378 GB, free: 0.514 GB / 1.701 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.09813/4.854, allocations: 28.43 MB / 2.406 GB, free: 498.2 MB / 1.701 GB Notification: Performance of collectPreVariables (initialization): time 0.002958/4.857, allocations: 185.7 kB / 2.406 GB, free: 498 MB / 1.701 GB Notification: Performance of collectInitialEqns (initialization): time 0.02651/4.884, allocations: 12.26 MB / 2.418 GB, free: 486.7 MB / 1.701 GB Notification: Performance of collectInitialBindings (initialization): time 0.004918/4.889, allocations: 2.053 MB / 2.42 GB, free: 484.9 MB / 1.701 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01687/4.906, allocations: 3.328 MB / 2.423 GB, free: 481.5 MB / 1.701 GB Notification: Performance of setup shared object (initialization): time 5.206e-05/4.906, allocations: 305.1 kB / 2.424 GB, free: 481.2 MB / 1.701 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02558/4.931, allocations: 7.884 MB / 2.431 GB, free: 473.4 MB / 1.701 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03374/4.965, allocations: 13.45 MB / 2.444 GB, free: 457.7 MB / 1.701 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04289/5.008, allocations: 19.13 MB / 2.463 GB, free: 436.5 MB / 1.701 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002035/5.008, allocations: 44 kB / 2.463 GB, free: 436.5 MB / 1.701 GB Notification: Performance of matching and sorting (n=1800) (initialization): time 0.05468/5.063, allocations: 24.94 MB / 2.487 GB, free: 411.5 MB / 1.701 GB Notification: Performance of prepare postOptimizeDAE: time 9.387e-05/5.063, allocations: 68 kB / 2.488 GB, free: 411.4 MB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00016/5.063, allocations: 140 kB / 2.488 GB, free: 411.3 MB / 1.701 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01991/5.083, allocations: 7.794 MB / 2.495 GB, free: 403.5 MB / 1.701 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05977/5.143, allocations: 12.3 MB / 2.507 GB, free: 391.2 MB / 1.701 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01949/5.162, allocations: 16.01 MB / 2.523 GB, free: 374.9 MB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0239/5.186, allocations: 2.283 MB / 2.525 GB, free: 372.9 MB / 1.701 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003587/5.19, allocations: 0.6521 MB / 2.526 GB, free: 372.3 MB / 1.701 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03089/5.221, allocations: 16.43 MB / 2.542 GB, free: 355.8 MB / 1.701 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01929/5.24, allocations: 13.13 MB / 2.555 GB, free: 340.3 MB / 1.701 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02703/5.267, allocations: 18.58 MB / 2.573 GB, free: 319.7 MB / 1.701 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.000157/5.267, allocations: 44 kB / 2.573 GB, free: 319.6 MB / 1.701 GB Notification: Performance of matching and sorting (n=1800) (initialization_lambda0): time 0.05238/5.319, allocations: 24.43 MB / 2.597 GB, free: 295.1 MB / 1.701 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001626/5.32, allocations: 64 kB / 2.597 GB, free: 295.1 MB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002482/5.32, allocations: 144 kB / 2.597 GB, free: 294.9 MB / 1.701 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009816/5.33, allocations: 4.026 MB / 2.601 GB, free: 290.9 MB / 1.701 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.06138/5.391, allocations: 12.42 MB / 2.613 GB, free: 278.4 MB / 1.701 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02038/5.411, allocations: 21.14 MB / 2.634 GB, free: 256.8 MB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02464/5.436, allocations: 1.853 MB / 2.635 GB, free: 255.1 MB / 1.701 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003629/5.44, allocations: 0.6366 MB / 2.636 GB, free: 254.5 MB / 1.701 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 648 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.loa.nextTimeEvent,$whenCondition1,ter[5].con.con1.y,ter[4].con.con1.y,ter[3].con.con1.y,ter[2].con.con1.y,ter[1].con.con1.y,ter[1].hex.flowRegime_nominal,ter[1].hex.flowRegime,ter[2].hex.flowRegime_nominal,ter[2].hex.flowRegime,ter[3].hex.flowRegime_nominal,ter[3].hex.flowRegime,ter[4].hex.flowRegime_nominal,ter[4].hex.flowRegime,ter[5].hex.flowRegime_nominal,ter[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 (1386): * Single equations (assignments): 1362 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 11 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 11 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(11,206)} Notification: Performance of prepare postOptimizeDAE: time 0.006598/5.446, allocations: 1.005 MB / 2.637 GB, free: 253.6 MB / 1.701 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01109/5.457, allocations: 2.193 MB / 2.639 GB, free: 251.4 MB / 1.701 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04011/5.497, allocations: 13.76 MB / 2.653 GB, free: 237.5 MB / 1.701 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0256/5.523, allocations: 10.96 MB / 2.663 GB, free: 226.4 MB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.185e-05/5.523, allocations: 0 / 2.663 GB, free: 226.4 MB / 1.701 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01411/5.537, allocations: 4.081 MB / 2.667 GB, free: 222.4 MB / 1.701 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008964/5.546, allocations: 116 kB / 2.667 GB, free: 222.2 MB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01655/5.563, allocations: 0.9757 MB / 2.668 GB, free: 221.3 MB / 1.701 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001673/5.564, allocations: 311.8 kB / 2.669 GB, free: 221 MB / 1.701 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04383/5.608, allocations: 16.75 MB / 2.685 GB, free: 204.2 MB / 1.701 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04146/5.65, allocations: 18.17 MB / 2.703 GB, free: 185.9 MB / 1.701 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01009/5.66, allocations: 4.873 MB / 2.708 GB, free: 181 MB / 1.701 GB Notification: Performance of sorting global known variables: time 0.04453/5.704, allocations: 19.77 MB / 2.727 GB, free: 161.3 MB / 1.701 GB Notification: Performance of Backend: time 8.71e-07/5.704, allocations: 0 / 2.727 GB, free: 161.3 MB / 1.701 GB Notification: Performance of simCode: created initialization part: time 0.2715/5.976, allocations: 64.02 MB / 2.789 GB, free: 97.95 MB / 1.701 GB Notification: Performance of SimCode: time 0.1211/6.097, allocations: 58.46 MB / 2.846 GB, free: 39.66 MB / 1.701 GB Notification: Performance of Templates: time 2.055/8.152, allocations: 479.2 MB / 3.314 GB, free: 245.9 MB / 1.701 GB make -j1 -f Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2.makefile make -j1 -f Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2.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_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=28 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2.o Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2.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_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=28 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_functions.o Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_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_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=28 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_records.o Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_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_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=28 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_01exo.o Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_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_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=28 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_02nls.o Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_02nls.c Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_02nls.c:2588:265: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[543]] /* ter[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[data->simulationInfo->realVarsIndex[783]] /* ter[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_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_functions.h:2606:101: note: passing argument to parameter '_uri' here modelica_string omc_Modelica_Utilities_Files_loadResource(threadData_t *threadData, modelica_string _uri); ^ Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_02nls.c:2730:265: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[544]] /* ter[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[data->simulationInfo->realVarsIndex[784]] /* ter[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_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_functions.h:2606:101: note: passing argument to parameter '_uri' here modelica_string omc_Modelica_Utilities_Files_loadResource(threadData_t *threadData, modelica_string _uri); ^ Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_02nls.c:3346:265: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[541]] /* ter[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[data->simulationInfo->realVarsIndex[781]] /* ter[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_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_functions.h:2606:101: note: passing argument to parameter '_uri' here modelica_string omc_Modelica_Utilities_Files_loadResource(threadData_t *threadData, modelica_string _uri); ^ Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_02nls.c:3461:265: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[540]] /* ter[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[data->simulationInfo->realVarsIndex[780]] /* ter[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_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_functions.h:2606:101: note: passing argument to parameter '_uri' here modelica_string omc_Modelica_Utilities_Files_loadResource(threadData_t *threadData, modelica_string _uri); ^ Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_02nls.c:3828:265: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[542]] /* ter[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[data->simulationInfo->realVarsIndex[782]] /* ter[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_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_functions.h:2606:101: note: passing argument to parameter '_uri' here modelica_string omc_Modelica_Utilities_Files_loadResource(threadData_t *threadData, modelica_string _uri); ^ Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_02nls.c:5827:265: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[544]] /* ter[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[data->simulationInfo->realVarsIndex[784]] /* ter[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_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_functions.h:2606:101: note: passing argument to parameter '_uri' here modelica_string omc_Modelica_Utilities_Files_loadResource(threadData_t *threadData, modelica_string _uri); ^ Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_02nls.c:6333:265: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[543]] /* ter[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[data->simulationInfo->realVarsIndex[783]] /* ter[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_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_functions.h:2606:101: note: passing argument to parameter '_uri' here modelica_string omc_Modelica_Utilities_Files_loadResource(threadData_t *threadData, modelica_string _uri); ^ Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_02nls.c:6839:265: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[542]] /* ter[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[data->simulationInfo->realVarsIndex[782]] /* ter[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_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_functions.h:2606:101: note: passing argument to parameter '_uri' here modelica_string omc_Modelica_Utilities_Files_loadResource(threadData_t *threadData, modelica_string _uri); ^ Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_02nls.c:7345:265: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[541]] /* ter[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[data->simulationInfo->realVarsIndex[781]] /* ter[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_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_functions.h:2606:101: note: passing argument to parameter '_uri' here modelica_string omc_Modelica_Utilities_Files_loadResource(threadData_t *threadData, modelica_string _uri); ^ Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_02nls.c:7851:265: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[540]] /* ter[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[data->simulationInfo->realVarsIndex[780]] /* ter[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_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_functions.h:2606:101: note: passing argument to parameter '_uri' here modelica_string omc_Modelica_Utilities_Files_loadResource(threadData_t *threadData, modelica_string _uri); ^ 10 errors generated. make: *** [: Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_02nls.o] Error 1