Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.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_latest_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_latest_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.001279/0.001279, allocations: 110.5 kB / 16.41 MB, free: 6.465 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.001363/0.001363, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.38/1.38, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.737/2.737, allocations: 472.7 MB / 0.746 GB, free: 456 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 67.89 kB / 1.07 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9224/0.924, allocations: 159.9 MB / 1.226 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2): time 1.537/2.461, allocations: 0.5037 GB / 1.73 GB, free: 17.11 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.09565/2.556, allocations: 68.94 MB / 1.797 GB, free: 44 kB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01478/2.571, allocations: 262.5 kB / 1.798 GB, free: 44 kB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01527/2.587, allocations: 4.455 MB / 1.802 GB, free: 14.02 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.03325/2.62, allocations: 10.23 MB / 1.812 GB, free: 7.727 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01936/2.639, allocations: 6.604 MB / 1.818 GB, free: 1.898 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.1841/2.823, allocations: 84.83 MB / 1.901 GB, free: 14.44 MB / 1.389 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0586/2.882, allocations: 31.11 MB / 1.932 GB, free: 15.16 MB / 1.42 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05598/2.938, allocations: 23.86 MB / 1.955 GB, free: 7.266 MB / 1.436 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03941/2.978, allocations: 18.19 MB / 1.973 GB, free: 5.035 MB / 1.451 GB Notification: Performance of NFPackage.collectConstants: time 0.01101/2.989, allocations: 2.695 MB / 1.975 GB, free: 2.34 MB / 1.451 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03207/3.021, allocations: 8.645 MB / 1.984 GB, free: 9.684 MB / 1.467 GB Notification: Performance of NFScalarize.scalarize: time 0.01628/3.037, allocations: 7.96 MB / 1.992 GB, free: 1.699 MB / 1.467 GB Notification: Performance of NFVerifyModel.verify: time 0.03925/3.076, allocations: 15.59 MB / 2.007 GB, free: 2.035 MB / 1.482 GB Notification: Performance of NFConvertDAE.convert: time 0.09674/3.173, allocations: 48.85 MB / 2.055 GB, free: 1.02 MB / 1.529 GB Notification: Performance of FrontEnd - DAE generated: time 1.287e-05/3.173, allocations: 3.984 kB / 2.055 GB, free: 1.016 MB / 1.529 GB Notification: Performance of FrontEnd: time 2.685e-06/3.173, allocations: 4 kB / 2.055 GB, free: 1.012 MB / 1.529 GB Notification: Performance of Transformations before backend: time 0.002034/3.175, allocations: 0 / 2.055 GB, free: 1.012 MB / 1.529 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.1069/3.282, allocations: 31.02 MB / 2.085 GB, free: 1.715 MB / 1.561 GB Notification: Performance of prepare preOptimizeDAE: time 6.724e-05/3.282, allocations: 8.031 kB / 2.085 GB, free: 1.707 MB / 1.561 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03725/3.319, allocations: 6.568 MB / 2.091 GB, free: 11.12 MB / 1.576 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09768/3.417, allocations: 40.25 MB / 2.131 GB, free: 2.738 MB / 1.607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001774/3.419, allocations: 1.105 MB / 2.132 GB, free: 1.633 MB / 1.607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007194/3.426, allocations: 1.434 MB / 2.133 GB, free: 204 kB / 1.607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07052/3.497, allocations: 22.51 MB / 2.155 GB, free: 8.562 MB / 1.639 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006854/3.497, allocations: 59.48 kB / 2.155 GB, free: 8.504 MB / 1.639 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006186/3.504, allocations: 0.5898 MB / 2.156 GB, free: 7.914 MB / 1.639 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006031/3.504, allocations: 0.5196 MB / 2.156 GB, free: 7.391 MB / 1.639 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05378/3.558, allocations: 19.1 MB / 2.175 GB, free: 4.258 MB / 1.654 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 1.078/4.636, allocations: 113.9 MB / 2.286 GB, free: 0.5973 GB / 1.686 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02223/4.658, allocations: 10.44 MB / 2.296 GB, free: 0.5935 GB / 1.686 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01171/4.67, allocations: 5.598 MB / 2.302 GB, free: 0.5908 GB / 1.686 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.04889/4.719, allocations: 18.63 MB / 2.32 GB, free: 0.579 GB / 1.686 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01277/4.732, allocations: 5.869 MB / 2.326 GB, free: 0.5758 GB / 1.686 GB Notification: Performance of pre-optimization done (n=533): time 1.277e-05/4.732, allocations: 0 / 2.326 GB, free: 0.5758 GB / 1.686 GB Notification: Performance of matching and sorting (n=533): time 0.04879/4.781, allocations: 18.28 MB / 2.343 GB, free: 0.5679 GB / 1.686 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001363/4.781, allocations: 427.6 kB / 2.344 GB, free: 0.5674 GB / 1.686 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06316/4.844, allocations: 28.43 MB / 2.372 GB, free: 0.5399 GB / 1.686 GB Notification: Performance of collectPreVariables (initialization): time 0.002463/4.846, allocations: 185.5 kB / 2.372 GB, free: 0.5397 GB / 1.686 GB Notification: Performance of collectInitialEqns (initialization): time 0.0183/4.865, allocations: 12.26 MB / 2.384 GB, free: 0.5286 GB / 1.686 GB Notification: Performance of collectInitialBindings (initialization): time 0.004258/4.869, allocations: 2.056 MB / 2.386 GB, free: 0.5266 GB / 1.686 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0128/4.882, allocations: 3.328 MB / 2.389 GB, free: 0.5234 GB / 1.686 GB Notification: Performance of setup shared object (initialization): time 6.093e-05/4.882, allocations: 305.1 kB / 2.389 GB, free: 0.5231 GB / 1.686 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01521/4.897, allocations: 7.884 MB / 2.397 GB, free: 0.5154 GB / 1.686 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02064/4.918, allocations: 13.45 MB / 2.41 GB, free: 0.5001 GB / 1.686 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03057/4.948, allocations: 19.13 MB / 2.429 GB, free: 491.1 MB / 1.686 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002007/4.949, allocations: 40 kB / 2.429 GB, free: 491 MB / 1.686 GB Notification: Performance of matching and sorting (n=1800) (initialization): time 0.05968/5.008, allocations: 25.02 MB / 2.453 GB, free: 465.9 MB / 1.686 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001662/5.009, allocations: 64 kB / 2.453 GB, free: 465.9 MB / 1.686 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002462/5.009, allocations: 148.1 kB / 2.453 GB, free: 465.7 MB / 1.686 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02034/5.029, allocations: 7.796 MB / 2.461 GB, free: 457.9 MB / 1.686 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.06485/5.094, allocations: 12.05 MB / 2.473 GB, free: 445.9 MB / 1.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01997/5.114, allocations: 16.01 MB / 2.489 GB, free: 429.6 MB / 1.686 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02466/5.139, allocations: 2.264 MB / 2.491 GB, free: 427.3 MB / 1.686 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004437/5.143, allocations: 0.6522 MB / 2.491 GB, free: 426.7 MB / 1.686 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03468/5.178, allocations: 16.43 MB / 2.507 GB, free: 410.2 MB / 1.686 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02006/5.198, allocations: 13.14 MB / 2.52 GB, free: 394.7 MB / 1.686 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02877/5.227, allocations: 18.57 MB / 2.538 GB, free: 374.1 MB / 1.686 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001813/5.227, allocations: 40 kB / 2.538 GB, free: 374 MB / 1.686 GB Notification: Performance of matching and sorting (n=1800) (initialization_lambda0): time 0.05642/5.284, allocations: 24.49 MB / 2.562 GB, free: 349.5 MB / 1.686 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002027/5.284, allocations: 72.05 kB / 2.562 GB, free: 349.4 MB / 1.686 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000252/5.284, allocations: 144 kB / 2.563 GB, free: 349.2 MB / 1.686 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01014/5.294, allocations: 4.029 MB / 2.566 GB, free: 345.2 MB / 1.686 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.06274/5.357, allocations: 12.14 MB / 2.578 GB, free: 333 MB / 1.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02079/5.378, allocations: 21.14 MB / 2.599 GB, free: 311.4 MB / 1.686 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02353/5.401, allocations: 1.862 MB / 2.601 GB, free: 309.5 MB / 1.686 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003593/5.405, allocations: 0.6327 MB / 2.601 GB, free: 308.9 MB / 1.686 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.00625/5.411, allocations: 1.004 MB / 2.602 GB, free: 307.9 MB / 1.686 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008389/5.42, allocations: 2.196 MB / 2.605 GB, free: 305.6 MB / 1.686 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03541/5.455, allocations: 13.83 MB / 2.618 GB, free: 291.7 MB / 1.686 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02197/5.477, allocations: 11.05 MB / 2.629 GB, free: 280.5 MB / 1.686 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.862e-05/5.477, allocations: 4 kB / 2.629 GB, free: 280.5 MB / 1.686 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01267/5.49, allocations: 4.078 MB / 2.633 GB, free: 276.4 MB / 1.686 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007776/5.498, allocations: 123.9 kB / 2.633 GB, free: 276.3 MB / 1.686 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01538/5.513, allocations: 0.966 MB / 2.634 GB, free: 275.3 MB / 1.686 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001657/5.515, allocations: 307.8 kB / 2.634 GB, free: 275 MB / 1.686 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04126/5.556, allocations: 16.75 MB / 2.651 GB, free: 258.3 MB / 1.686 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03729/5.593, allocations: 18.17 MB / 2.668 GB, free: 239.9 MB / 1.686 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.008835/5.602, allocations: 4.983 MB / 2.673 GB, free: 234.9 MB / 1.686 GB Notification: Performance of sorting global known variables: time 0.04072/5.643, allocations: 19.77 MB / 2.692 GB, free: 215.3 MB / 1.686 GB Notification: Performance of Backend: time 1.282e-06/5.643, allocations: 0 / 2.692 GB, free: 215.3 MB / 1.686 GB Notification: Performance of simCode: created initialization part: time 0.2932/5.936, allocations: 64.66 MB / 2.756 GB, free: 151 MB / 1.686 GB Notification: Performance of SimCode: time 0.1383/6.075, allocations: 58.21 MB / 2.812 GB, free: 93 MB / 1.686 GB Notification: Performance of Templates: time 2.064/8.139, allocations: 472 MB / 3.273 GB, free: 332.1 MB / 1.686 GB make -j1 -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2.makefile make -j1 -f Buildings_latest_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_latest_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_latest_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2.o Buildings_latest_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_latest_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_latest_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_functions.o Buildings_latest_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_latest_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_latest_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_records.o Buildings_latest_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_latest_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_latest_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_01exo.o Buildings_latest_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_latest_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_latest_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_02nls.o Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_02nls.c Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_02nls.c:2588:228: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[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[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_latest_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_latest_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_02nls.c:2730:228: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[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[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_latest_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_latest_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_02nls.c:3318:228: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[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[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_latest_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_latest_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_02nls.c:3433:228: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[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[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_latest_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_latest_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_02nls.c:3772:228: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[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[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_latest_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_latest_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_02nls.c:5757:228: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[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[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_latest_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_latest_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_02nls.c:6263:228: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[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[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_latest_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_latest_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_02nls.c:6769:228: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[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[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_latest_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_latest_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_02nls.c:7275:228: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[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[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_latest_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_latest_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_02nls.c:7781:228: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[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[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_latest_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_latest_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_02nls.o] Error 1