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: "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2,fileNamePrefix="Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2,fileNamePrefix="Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007158/0.007158, allocations: 97.39 kB / 15.73 MB, free: 6.484 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.001853/0.001853, allocations: 192.1 kB / 16.67 MB, free: 6.391 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.742/2.742, allocations: 469.8 MB / 0.7425 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 59.89 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.272, allocations: 159.1 MB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2): time 0.9879/1.26, allocations: 0.5037 GB / 1.724 GB, free: 0.6914 MB / 1.404 GB Notification: Performance of NFInst.instExpressions: time 0.08419/1.344, allocations: 68.94 MB / 1.791 GB, free: 11.57 MB / 1.482 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007805/1.352, allocations: 262.6 kB / 1.791 GB, free: 11.31 MB / 1.482 GB Notification: Performance of NFTyping.typeComponents: time 0.0109/1.363, allocations: 4.356 MB / 1.796 GB, free: 6.934 MB / 1.482 GB Notification: Performance of NFTyping.typeBindings: time 0.02362/1.387, allocations: 9.778 MB / 1.805 GB, free: 13.12 MB / 1.498 GB Notification: Performance of NFTyping.typeClassSections: time 0.01522/1.402, allocations: 6.604 MB / 1.812 GB, free: 6.57 MB / 1.498 GB Notification: Performance of NFFlatten.flatten: time 0.7493/2.151, allocations: 84.76 MB / 1.895 GB, free: 135.5 MB / 1.498 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04002/2.191, allocations: 31.12 MB / 1.925 GB, free: 131.3 MB / 1.498 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03625/2.227, allocations: 23.39 MB / 1.948 GB, free: 128.8 MB / 1.498 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02662/2.254, allocations: 18.18 MB / 1.965 GB, free: 118.3 MB / 1.498 GB Notification: Performance of NFPackage.collectConstants: time 0.01224/2.266, allocations: 2.695 MB / 1.968 GB, free: 115.7 MB / 1.498 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02469/2.291, allocations: 8.638 MB / 1.977 GB, free: 110.4 MB / 1.498 GB Notification: Performance of NFScalarize.scalarize: time 0.01186/2.303, allocations: 7.96 MB / 1.984 GB, free: 107.2 MB / 1.498 GB Notification: Performance of NFVerifyModel.verify: time 0.03171/2.335, allocations: 15.59 MB / 2 GB, free: 97.1 MB / 1.498 GB Notification: Performance of NFConvertDAE.convert: time 0.05824/2.393, allocations: 48.86 MB / 2.047 GB, free: 49.46 MB / 1.498 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/2.393, allocations: 0 / 2.047 GB, free: 49.46 MB / 1.498 GB Notification: Performance of FrontEnd: time 2.214e-06/2.393, allocations: 0 / 2.047 GB, free: 49.46 MB / 1.498 GB Notification: Performance of Transformations before backend: time 0.001269/2.394, allocations: 0 / 2.047 GB, free: 49.46 MB / 1.498 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.0685/2.463, allocations: 31.03 MB / 2.078 GB, free: 18.65 MB / 1.498 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/2.463, allocations: 12.03 kB / 2.078 GB, free: 18.64 MB / 1.498 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005267/2.468, allocations: 1.848 MB / 2.079 GB, free: 16.79 MB / 1.498 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02842/2.497, allocations: 6.57 MB / 2.086 GB, free: 10.2 MB / 1.498 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07491/2.572, allocations: 38.45 MB / 2.123 GB, free: 4.754 MB / 1.529 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001434/2.573, allocations: 1.107 MB / 2.124 GB, free: 3.652 MB / 1.529 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005063/2.578, allocations: 1.432 MB / 2.126 GB, free: 2.227 MB / 1.529 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05757/2.636, allocations: 22.52 MB / 2.148 GB, free: 10.73 MB / 1.561 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003673/2.636, allocations: 60.2 kB / 2.148 GB, free: 10.7 MB / 1.561 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003/2.639, allocations: 0.5805 MB / 2.148 GB, free: 10.12 MB / 1.561 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004979/2.64, allocations: 0.5278 MB / 2.149 GB, free: 9.598 MB / 1.561 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04707/2.687, allocations: 19.1 MB / 2.168 GB, free: 6.754 MB / 1.576 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.1751/2.862, allocations: 113.9 MB / 2.279 GB, free: 15.73 MB / 1.701 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02166/2.884, allocations: 10.45 MB / 2.289 GB, free: 5.148 MB / 1.701 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01199/2.896, allocations: 5.595 MB / 2.294 GB, free: 15.53 MB / 1.717 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.0443/2.94, allocations: 18.61 MB / 2.313 GB, free: 12.84 MB / 1.732 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0137/2.954, allocations: 5.875 MB / 2.318 GB, free: 6.871 MB / 1.732 GB Notification: Performance of pre-optimization done (n=533): time 1.127e-05/2.954, allocations: 0 / 2.318 GB, free: 6.871 MB / 1.732 GB Notification: Performance of matching and sorting (n=533): time 0.04994/3.004, allocations: 18.29 MB / 2.336 GB, free: 4.586 MB / 1.748 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002735/3.004, allocations: 423.8 kB / 2.337 GB, free: 4.086 MB / 1.748 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06096/3.065, allocations: 28.43 MB / 2.364 GB, free: 7.789 MB / 1.779 GB Notification: Performance of collectPreVariables (initialization): time 0.001904/3.067, allocations: 187.6 kB / 2.365 GB, free: 7.602 MB / 1.779 GB Notification: Performance of collectInitialEqns (initialization): time 0.0179/3.085, allocations: 12.25 MB / 2.377 GB, free: 11.4 MB / 1.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.003383/3.088, allocations: 2.058 MB / 2.379 GB, free: 9.367 MB / 1.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007065/3.095, allocations: 3.327 MB / 2.382 GB, free: 6.031 MB / 1.795 GB Notification: Performance of setup shared object (initialization): time 0.0001297/3.095, allocations: 313 kB / 2.382 GB, free: 5.723 MB / 1.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01577/3.111, allocations: 7.883 MB / 2.39 GB, free: 13.83 MB / 1.811 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02342/3.135, allocations: 13.45 MB / 2.403 GB, free: 14.09 MB / 1.826 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03514/3.17, allocations: 19.13 MB / 2.422 GB, free: 9.508 MB / 1.842 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001204/3.17, allocations: 44 kB / 2.422 GB, free: 9.465 MB / 1.842 GB Notification: Performance of matching and sorting (n=1800) (initialization): time 0.06039/3.23, allocations: 25.01 MB / 2.446 GB, free: 1.227 MB / 1.857 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001375/3.231, allocations: 68 kB / 2.446 GB, free: 1.16 MB / 1.857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002337/3.231, allocations: 140 kB / 2.446 GB, free: 1.023 MB / 1.857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02293/3.254, allocations: 7.799 MB / 2.454 GB, free: 9.23 MB / 1.873 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.06268/3.316, allocations: 12.04 MB / 2.466 GB, free: 13.36 MB / 1.889 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6009/3.917, allocations: 16.01 MB / 2.481 GB, free: 0.8094 GB / 1.889 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01897/3.936, allocations: 2.268 MB / 2.484 GB, free: 0.8094 GB / 1.889 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002789/3.939, allocations: 0.6562 MB / 2.484 GB, free: 0.8094 GB / 1.889 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03131/3.971, allocations: 16.42 MB / 2.5 GB, free: 0.8093 GB / 1.889 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01867/3.989, allocations: 13.14 MB / 2.513 GB, free: 0.8023 GB / 1.889 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02874/4.018, allocations: 18.58 MB / 2.531 GB, free: 0.7925 GB / 1.889 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0002474/4.018, allocations: 41.34 kB / 2.531 GB, free: 0.7925 GB / 1.889 GB Notification: Performance of matching and sorting (n=1800) (initialization_lambda0): time 0.05417/4.072, allocations: 24.49 MB / 2.555 GB, free: 0.7857 GB / 1.889 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001175/4.073, allocations: 67.69 kB / 2.555 GB, free: 0.7857 GB / 1.889 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002371/4.073, allocations: 143.3 kB / 2.555 GB, free: 0.7857 GB / 1.889 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009506/4.082, allocations: 4.029 MB / 2.559 GB, free: 0.7851 GB / 1.889 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05898/4.141, allocations: 12.14 MB / 2.571 GB, free: 0.7848 GB / 1.889 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01831/4.16, allocations: 21.15 MB / 2.592 GB, free: 0.771 GB / 1.889 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02082/4.181, allocations: 1.862 MB / 2.594 GB, free: 0.7708 GB / 1.889 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00284/4.183, allocations: 0.6366 MB / 2.594 GB, free: 0.7707 GB / 1.889 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.003912/4.187, allocations: 1.002 MB / 2.595 GB, free: 0.77 GB / 1.889 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006188/4.194, allocations: 2.201 MB / 2.597 GB, free: 0.7696 GB / 1.889 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0278/4.221, allocations: 13.83 MB / 2.611 GB, free: 0.7642 GB / 1.889 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.645e-05/4.222, allocations: 54.19 kB / 2.611 GB, free: 0.7642 GB / 1.889 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/4.222, allocations: 0 / 2.611 GB, free: 0.7642 GB / 1.889 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01939/4.241, allocations: 11.06 MB / 2.622 GB, free: 0.7586 GB / 1.889 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06566/4.307, allocations: 34.68 MB / 2.656 GB, free: 0.7306 GB / 1.889 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.47e-05/4.307, allocations: 8.969 kB / 2.656 GB, free: 0.7306 GB / 1.889 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003639/4.31, allocations: 0.8971 MB / 2.656 GB, free: 0.7297 GB / 1.889 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01337/4.324, allocations: 5.678 MB / 2.662 GB, free: 0.7242 GB / 1.889 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009575/4.325, allocations: 171.9 kB / 2.662 GB, free: 0.7241 GB / 1.889 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01257/4.337, allocations: 8.681 MB / 2.671 GB, free: 0.7155 GB / 1.889 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/4.337, allocations: 15.94 kB / 2.671 GB, free: 0.7155 GB / 1.889 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03713/4.374, allocations: 20.81 MB / 2.691 GB, free: 0.6948 GB / 1.889 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0101/4.385, allocations: 4.088 MB / 2.695 GB, free: 0.6908 GB / 1.889 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005659/4.39, allocations: 120 kB / 2.695 GB, free: 0.6907 GB / 1.889 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01309/4.403, allocations: 0.9817 MB / 2.696 GB, free: 0.6898 GB / 1.889 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009364/4.404, allocations: 347.3 kB / 2.696 GB, free: 0.6894 GB / 1.889 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007456/4.405, allocations: 275.8 kB / 2.697 GB, free: 0.6892 GB / 1.889 GB Notification: Performance of sorting global known variables: time 0.03218/4.437, allocations: 19.78 MB / 2.716 GB, free: 0.67 GB / 1.889 GB Notification: Performance of sort global known variables: time 5.51e-07/4.437, allocations: 3.172 kB / 2.716 GB, free: 0.67 GB / 1.889 GB Notification: Performance of remove unused functions: time 0.03365/4.471, allocations: 10.59 MB / 2.726 GB, free: 0.66 GB / 1.889 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 21 (ter[1].con.I.y,ter[1].TLoaODE.TAir,ter[2].con.I.y,ter[2].TLoaODE.TAir,ter[3].con.I.y,ter[3].TLoaODE.TAir,ter[4].con.I.y,ter[4].TLoaODE.TAir,ter[5].con.I.y,ter[5].TLoaODE.TAir,dis.con[1].junConSup.vol.dynBal.U,dis.con[1].junConRet.vol.dynBal.U,dis.con[2].junConSup.vol.dynBal.U,dis.con[2].junConRet.vol.dynBal.U,dis.con[3].junConSup.vol.dynBal.U,dis.con[3].junConRet.vol.dynBal.U,dis.con[4].junConSup.vol.dynBal.U,dis.con[4].junConRet.vol.dynBal.U,dis.con[5].junConSup.vol.dynBal.U,dis.con[5].junConRet.vol.dynBal.U,vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,loa.nextTimeEvent,loa.nextTimeEventScaled) * Number of discrete states: 2 (loa.nextTimeEvent,loa.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (328): * Single equations (assignments): 322 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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,226)} Notification: Performance of Backend phase and start with SimCode phase: time 0.04066/4.512, allocations: 23.24 MB / 2.749 GB, free: 0.6373 GB / 1.889 GB Notification: Performance of simCode: created initialization part: time 0.2437/4.755, allocations: 66.6 MB / 2.814 GB, free: 0.5722 GB / 1.889 GB Notification: Performance of simCode: created event and clocks part: time 1.921e-05/4.755, allocations: 11 kB / 2.814 GB, free: 0.5721 GB / 1.889 GB Notification: Performance of simCode: created simulation system equations: time 0.009995/4.765, allocations: 5.196 MB / 2.819 GB, free: 0.5671 GB / 1.889 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0497/4.815, allocations: 10.75 MB / 2.83 GB, free: 0.5568 GB / 1.889 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3463/5.162, allocations: 208.8 MB / 3.034 GB, free: 355.2 MB / 1.889 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02128/5.183, allocations: 16.07 MB / 3.049 GB, free: 339.1 MB / 1.889 GB Notification: Performance of simCode: alias equations: time 0.02531/5.208, allocations: 10.39 MB / 3.059 GB, free: 328.7 MB / 1.889 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01736/5.226, allocations: 10.82 MB / 3.07 GB, free: 317.9 MB / 1.889 GB Notification: Performance of SimCode: time 1.302e-06/5.226, allocations: 0 / 3.07 GB, free: 317.9 MB / 1.889 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 83.08/88.31, allocations: 0.6122 GB / 3.682 GB, free: 0.565 GB / 1.889 GB Error: Error building simulator. Build log: cmd: cd 'Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.fmutmp/sources/' && mkdir build_cmake_dynamic && cd build_cmake_dynamic && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER='clang' -DCMAKE_CXX_COMPILER='clang++ -std=c++17' .. && cmake --build . --parallel -j1 --target install && cd .. && rm -rf build_cmake_dynamic -- The C compiler identification is Clang 14.0.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- FMI2 include directory: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Building for FMI platform linux64 -- Install directory: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.fmutmp/sources/../binaries/linux64 -- Linking /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a -- Linking /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaStandardTables.a -- Linking /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaIO.a -- Linking /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaMatIO.a -- Linking /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libzlib.a -- CVODE: Not linked -- Not using FMI2_FUNCTION_PREFIX -- Installing dynamic dependencies from list: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaStandardTables.a;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaIO.a;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaMatIO.a;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libzlib.a -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_COMPILER -- Build files have been written to: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.fmutmp/sources/build_cmake_dynamic [ 0%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/external_solvers/dgemm.c.o [ 1%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/external_solvers/dger.c.o [ 2%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/external_solvers/dgesv.c.o [ 3%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/external_solvers/dgetf2.c.o [ 4%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/external_solvers/dgetrf.c.o [ 5%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/external_solvers/dgetrs.c.o [ 6%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/external_solvers/dlamch.c.o [ 6%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/external_solvers/dlaswp.c.o [ 7%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/external_solvers/dogleg_.c.o [ 8%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/external_solvers/dpmpar_.c.o [ 9%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/external_solvers/dscal.c.o [ 10%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/external_solvers/dswap.c.o [ 11%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/external_solvers/dtrsm.c.o [ 12%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/external_solvers/enorm_.c.o [ 12%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/external_solvers/hybrj_.c.o [ 13%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/external_solvers/i_nint.c.o [ 14%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/external_solvers/idamax.c.o [ 15%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/external_solvers/ieeeck.c.o [ 16%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/external_solvers/ilaenv.c.o [ 17%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/external_solvers/iparmq.c.o [ 18%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/external_solvers/lsame.c.o [ 18%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/external_solvers/pow_di.c.o [ 19%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/external_solvers/qform_.c.o [ 20%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/external_solvers/qrfac_.c.o [ 21%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/external_solvers/r1mpyq_.c.o [ 22%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/external_solvers/r1updt_.c.o [ 23%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/external_solvers/s_cmp.c.o [ 24%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/external_solvers/s_copy.c.o [ 25%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/external_solvers/xerbla.c.o [ 25%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/gc/memory_pool.c.o [ 26%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/gc/omc_gc.c.o [ 27%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/math-support/pivot.c.o [ 28%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/meta/meta_modelica_catch.c.o [ 29%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/simulation/jacobian_util.c.o [ 30%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/simulation/omc_simulation_util.c.o [ 31%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/simulation/options.c.o [ 31%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/simulation/simulation_info_json.c.o [ 32%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/simulation/simulation_omc_assert.c.o [ 33%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/simulation/solver/delay.c.o [ 34%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/simulation/solver/fmi_events.c.o [ 35%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/simulation/solver/initialization/initialization.c.o [ 36%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/simulation/solver/linearSolverLapack.c.o [ 37%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/simulation/solver/linearSolverTotalPivot.c.o [ 37%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/simulation/solver/linearSystem.c.o [ 38%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/simulation/solver/model_help.c.o [ 39%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/simulation/solver/nonlinearSolverHomotopy.c.o [ 40%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/simulation/solver/nonlinearSolverHybrd.c.o [ 41%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/simulation/solver/nonlinearSystem.c.o [ 42%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/simulation/solver/nonlinearValuesList.c.o [ 43%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/simulation/solver/omc_math.c.o [ 43%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/simulation/solver/spatialDistribution.c.o [ 44%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/simulation/solver/stateset.c.o [ 45%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/simulation/solver/synchronous.c.o [ 46%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/util/ModelicaUtilities.c.o [ 47%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/util/base_array.c.o [ 48%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/util/boolean_array.c.o [ 49%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/util/context.c.o [ 50%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/util/division.c.o [ 50%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/util/doubleEndedList.c.o [ 51%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/util/generic_array.c.o [ 52%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/util/index_spec.c.o [ 53%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/util/integer_array.c.o [ 54%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/util/list.c.o [ 55%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/util/modelica_string.c.o [ 56%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/util/modelica_string_lit.c.o [ 56%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/util/omc_error.c.o [ 57%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/util/omc_file.c.o [ 58%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/util/omc_init.c.o [ 59%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/util/omc_mmap.c.o [ 60%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/util/omc_msvc.c.o [ 61%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/util/omc_numbers.c.o [ 62%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/util/parallel_helper.c.o [ 62%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/util/rational.c.o [ 63%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/util/real_array.c.o [ 64%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/util/ringbuffer.c.o [ 65%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/util/simulation_options.c.o [ 66%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/util/string_array.c.o [ 67%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/util/utility.c.o [ 68%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/util/varinfo.c.o [ 68%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.c.o [ 69%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2_01exo.c.o [ 70%] Building C object CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2_02nls.c.o /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.fmutmp/sources/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2_02nls.c:2587:228: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[557] /* 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[797] /* ter[4].hex.Q2_flow variable */)); ^~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.fmutmp/sources/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())) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.fmutmp/sources/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2_functions.h:2099:101: note: passing argument to parameter '_uri' here modelica_string omc_Modelica_Utilities_Files_loadResource(threadData_t *threadData, modelica_string _uri); ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.fmutmp/sources/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2_02nls.c:2729:228: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[558] /* 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[798] /* ter[5].hex.Q2_flow variable */)); ^~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.fmutmp/sources/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())) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.fmutmp/sources/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2_functions.h:2099:101: note: passing argument to parameter '_uri' here modelica_string omc_Modelica_Utilities_Files_loadResource(threadData_t *threadData, modelica_string _uri); ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.fmutmp/sources/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2_02nls.c:3317:228: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[555] /* 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[795] /* ter[2].hex.Q2_flow variable */)); ^~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.fmutmp/sources/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())) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.fmutmp/sources/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2_functions.h:2099:101: note: passing argument to parameter '_uri' here modelica_string omc_Modelica_Utilities_Files_loadResource(threadData_t *threadData, modelica_string _uri); ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.fmutmp/sources/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2_02nls.c:3432:228: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[554] /* 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[794] /* ter[1].hex.Q2_flow variable */)); ^~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.fmutmp/sources/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())) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.fmutmp/sources/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2_functions.h:2099:101: note: passing argument to parameter '_uri' here modelica_string omc_Modelica_Utilities_Files_loadResource(threadData_t *threadData, modelica_string _uri); ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.fmutmp/sources/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2_02nls.c:3771:228: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[556] /* 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[796] /* ter[3].hex.Q2_flow variable */)); ^~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.fmutmp/sources/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())) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.fmutmp/sources/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2_functions.h:2099:101: note: passing argument to parameter '_uri' here modelica_string omc_Modelica_Utilities_Files_loadResource(threadData_t *threadData, modelica_string _uri); ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.fmutmp/sources/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2_02nls.c:5756:228: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[558] /* 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[798] /* ter[5].hex.Q2_flow variable */)); ^~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.fmutmp/sources/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())) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.fmutmp/sources/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2_functions.h:2099:101: note: passing argument to parameter '_uri' here modelica_string omc_Modelica_Utilities_Files_loadResource(threadData_t *threadData, modelica_string _uri); ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.fmutmp/sources/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2_02nls.c:6262:228: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[557] /* 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[797] /* ter[4].hex.Q2_flow variable */)); ^~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.fmutmp/sources/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())) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.fmutmp/sources/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2_functions.h:2099:101: note: passing argument to parameter '_uri' here modelica_string omc_Modelica_Utilities_Files_loadResource(threadData_t *threadData, modelica_string _uri); ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.fmutmp/sources/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2_02nls.c:6768:228: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[556] /* 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[796] /* ter[3].hex.Q2_flow variable */)); ^~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.fmutmp/sources/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())) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.fmutmp/sources/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2_functions.h:2099:101: note: passing argument to parameter '_uri' here modelica_string omc_Modelica_Utilities_Files_loadResource(threadData_t *threadData, modelica_string _uri); ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.fmutmp/sources/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2_02nls.c:7274:228: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[555] /* 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[795] /* ter[2].hex.Q2_flow variable */)); ^~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.fmutmp/sources/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())) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.fmutmp/sources/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2_functions.h:2099:101: note: passing argument to parameter '_uri' here modelica_string omc_Modelica_Utilities_Files_loadResource(threadData_t *threadData, modelica_string _uri); ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.fmutmp/sources/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2_02nls.c:7780:228: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *') (data->localData[0]->realVars[554] /* 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[794] /* ter[1].hex.Q2_flow variable */)); ^~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.fmutmp/sources/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())) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.fmutmp/sources/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2_functions.h:2099:101: note: passing argument to parameter '_uri' here modelica_string omc_Modelica_Utilities_Files_loadResource(threadData_t *threadData, modelica_string _uri); ^ 10 errors generated. gmake[2]: *** [CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/build.make:1210: CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2_02nls.c.o] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:84: CMakeFiles/Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2.dir/all] Error 2 gmake: *** [Makefile:136: all] Error 2