Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ter.1..TLoaODE.TAir|minTSet.y|ter.1..QReqHea_flow|ter.1..QActHea_flow|ter.1..mReqHeaWat_flow|ter.1..port_aHeaWat.m_flow",fileNamePrefix="Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2") translateModel(Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ter.1..TLoaODE.TAir|minTSet.y|ter.1..QReqHea_flow|ter.1..QActHea_flow|ter.1..mReqHeaWat_flow|ter.1..port_aHeaWat.m_flow",fileNamePrefix="Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006033/0.006033, allocations: 99.64 kB / 15.73 MB, free: 6.008 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.001404/0.001404, allocations: 191 kB / 16.67 MB, free: 5.926 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.561/2.561, allocations: 469.8 MB / 0.7425 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 67.83 kB / 1.065 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.005/1.006, allocations: 159.1 MB / 1.221 GB, free: 2.121 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2): time 1.776/2.782, allocations: 0.5047 GB / 1.725 GB, free: 17.4 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.1032/2.885, allocations: 69.04 MB / 1.793 GB, free: 1.645 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0179/2.903, allocations: 262.6 kB / 1.793 GB, free: 1.645 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01587/2.919, allocations: 4.489 MB / 1.797 GB, free: 15.6 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.03503/2.954, allocations: 10.22 MB / 1.807 GB, free: 10.44 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01963/2.974, allocations: 6.615 MB / 1.814 GB, free: 4.762 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.1717/3.145, allocations: 84.66 MB / 1.897 GB, free: 4.105 MB / 1.373 GB Notification: Performance of NFFlatten.resolveConnections: time 0.06287/3.208, allocations: 25.34 MB / 1.921 GB, free: 10.93 MB / 1.404 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06611/3.274, allocations: 23.87 MB / 1.945 GB, free: 3.316 MB / 1.42 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04066/3.315, allocations: 18.19 MB / 1.962 GB, free: 1.078 MB / 1.436 GB Notification: Performance of NFPackage.collectConstants: time 0.01231/3.327, allocations: 2.691 MB / 1.965 GB, free: 14.38 MB / 1.451 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03389/3.361, allocations: 8.656 MB / 1.973 GB, free: 5.723 MB / 1.451 GB Notification: Performance of NFScalarize.scalarize: time 0.01953/3.381, allocations: 8.175 MB / 1.981 GB, free: 13.52 MB / 1.467 GB Notification: Performance of NFVerifyModel.verify: time 0.0428/3.424, allocations: 15.58 MB / 1.997 GB, free: 13.86 MB / 1.482 GB Notification: Performance of NFConvertDAE.convert: time 0.09198/3.516, allocations: 48.87 MB / 2.044 GB, free: 12.84 MB / 1.529 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/3.516, allocations: 0 / 2.044 GB, free: 12.84 MB / 1.529 GB Notification: Performance of FrontEnd: time 1.853e-06/3.516, allocations: 0 / 2.044 GB, free: 12.84 MB / 1.529 GB Notification: Performance of Transformations before backend: time 0.00207/3.518, allocations: 0 / 2.044 GB, free: 12.84 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.1124/3.63, allocations: 31.02 MB / 2.075 GB, free: 13.54 MB / 1.561 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/3.63, allocations: 12.03 kB / 2.075 GB, free: 13.53 MB / 1.561 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03839/3.668, allocations: 6.57 MB / 2.081 GB, free: 6.938 MB / 1.561 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1013/3.77, allocations: 38.49 MB / 2.119 GB, free: 324 kB / 1.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001754/3.771, allocations: 1.116 MB / 2.12 GB, free: 15.2 MB / 1.607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007638/3.779, allocations: 1.43 MB / 2.121 GB, free: 13.77 MB / 1.607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07389/3.853, allocations: 22.52 MB / 2.143 GB, free: 6.125 MB / 1.623 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009799/3.854, allocations: 71.14 kB / 2.143 GB, free: 6.059 MB / 1.623 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007172/3.861, allocations: 0.5781 MB / 2.144 GB, free: 5.48 MB / 1.623 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007175/3.862, allocations: 0.5197 MB / 2.144 GB, free: 4.957 MB / 1.623 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05701/3.919, allocations: 19.11 MB / 2.163 GB, free: 1.812 MB / 1.639 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.155/5.074, allocations: 113.9 MB / 2.274 GB, free: 0.585 GB / 1.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01991/5.094, allocations: 10.1 MB / 2.284 GB, free: 0.5808 GB / 1.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009994/5.104, allocations: 5.348 MB / 2.289 GB, free: 0.5783 GB / 1.67 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.04922/5.153, allocations: 18.63 MB / 2.307 GB, free: 0.5664 GB / 1.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01337/5.166, allocations: 5.871 MB / 2.313 GB, free: 0.5633 GB / 1.67 GB Notification: Performance of pre-optimization done (n=533): time 1.443e-05/5.166, allocations: 0.6562 kB / 2.313 GB, free: 0.5633 GB / 1.67 GB Notification: Performance of matching and sorting (n=533): time 0.05903/5.225, allocations: 18.2 MB / 2.331 GB, free: 0.5546 GB / 1.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001831/5.226, allocations: 423.8 kB / 2.331 GB, free: 0.5541 GB / 1.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07382/5.299, allocations: 28.44 MB / 2.359 GB, free: 0.5266 GB / 1.67 GB Notification: Performance of collectPreVariables (initialization): time 0.002892/5.302, allocations: 189.7 kB / 2.359 GB, free: 0.5264 GB / 1.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.01708/5.319, allocations: 12.26 MB / 2.371 GB, free: 0.5153 GB / 1.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.003826/5.323, allocations: 2.048 MB / 2.373 GB, free: 0.5133 GB / 1.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007906/5.331, allocations: 3.321 MB / 2.376 GB, free: 0.51 GB / 1.67 GB Notification: Performance of setup shared object (initialization): time 6.887e-05/5.331, allocations: 316.1 kB / 2.377 GB, free: 0.5097 GB / 1.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01366/5.345, allocations: 7.879 MB / 2.384 GB, free: 0.502 GB / 1.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02079/5.366, allocations: 13.45 MB / 2.398 GB, free: 498.4 MB / 1.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03015/5.396, allocations: 19.12 MB / 2.416 GB, free: 477.4 MB / 1.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001854/5.396, allocations: 40 kB / 2.416 GB, free: 477.3 MB / 1.67 GB Notification: Performance of matching and sorting (n=1800) (initialization): time 0.05953/5.455, allocations: 24.95 MB / 2.441 GB, free: 452.3 MB / 1.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001024/5.456, allocations: 71.94 kB / 2.441 GB, free: 452.2 MB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001811/5.456, allocations: 144 kB / 2.441 GB, free: 452.1 MB / 1.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01965/5.475, allocations: 7.793 MB / 2.449 GB, free: 444.3 MB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.06198/5.537, allocations: 12.04 MB / 2.46 GB, free: 432.3 MB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01778/5.555, allocations: 16.01 MB / 2.476 GB, free: 416 MB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0267/5.582, allocations: 2.276 MB / 2.478 GB, free: 413.7 MB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006454/5.588, allocations: 0.6521 MB / 2.479 GB, free: 413 MB / 1.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0388/5.627, allocations: 16.43 MB / 2.495 GB, free: 396.6 MB / 1.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02283/5.65, allocations: 13.13 MB / 2.508 GB, free: 381.1 MB / 1.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03475/5.685, allocations: 18.59 MB / 2.526 GB, free: 360.4 MB / 1.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0002319/5.685, allocations: 40 kB / 2.526 GB, free: 360.4 MB / 1.67 GB Notification: Performance of matching and sorting (n=1800) (initialization_lambda0): time 0.06328/5.748, allocations: 24.44 MB / 2.55 GB, free: 335.9 MB / 1.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002515/5.748, allocations: 64 kB / 2.55 GB, free: 335.8 MB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003551/5.749, allocations: 148.1 kB / 2.55 GB, free: 335.7 MB / 1.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0101/5.759, allocations: 4.028 MB / 2.554 GB, free: 331.6 MB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.06498/5.824, allocations: 12.14 MB / 2.566 GB, free: 319.5 MB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0229/5.847, allocations: 21.14 MB / 2.586 GB, free: 297.8 MB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02858/5.875, allocations: 1.855 MB / 2.588 GB, free: 295.9 MB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00461/5.88, allocations: 0.6365 MB / 2.589 GB, free: 295.3 MB / 1.67 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.008484/5.888, allocations: 1.001 MB / 2.59 GB, free: 294.3 MB / 1.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.013/5.901, allocations: 2.204 MB / 2.592 GB, free: 292.1 MB / 1.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04191/5.943, allocations: 13.75 MB / 2.605 GB, free: 278.2 MB / 1.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001066/5.943, allocations: 56 kB / 2.605 GB, free: 278.2 MB / 1.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.847e-05/5.943, allocations: 0 / 2.605 GB, free: 278.2 MB / 1.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02951/5.973, allocations: 10.97 MB / 2.616 GB, free: 267 MB / 1.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1101/6.083, allocations: 34.61 MB / 2.65 GB, free: 232.2 MB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.05e-05/6.083, allocations: 8 kB / 2.65 GB, free: 232.2 MB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004461/6.088, allocations: 0.8974 MB / 2.651 GB, free: 231.3 MB / 1.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01522/6.103, allocations: 5.666 MB / 2.656 GB, free: 225.6 MB / 1.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001855/6.105, allocations: 167.9 kB / 2.656 GB, free: 225.5 MB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01693/6.122, allocations: 8.685 MB / 2.665 GB, free: 216.8 MB / 1.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.355e-05/6.122, allocations: 15.94 kB / 2.665 GB, free: 216.7 MB / 1.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05208/6.174, allocations: 20.72 MB / 2.685 GB, free: 195.6 MB / 1.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01651/6.19, allocations: 4.086 MB / 2.689 GB, free: 191.5 MB / 1.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01402/6.204, allocations: 128 kB / 2.689 GB, free: 191.3 MB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02267/6.227, allocations: 0.9802 MB / 2.69 GB, free: 190.4 MB / 1.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002082/6.229, allocations: 347.5 kB / 2.691 GB, free: 190 MB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002331/6.231, allocations: 275.8 kB / 2.691 GB, free: 189.7 MB / 1.67 GB Notification: Performance of sorting global known variables: time 0.05411/6.285, allocations: 19.77 MB / 2.71 GB, free: 170.1 MB / 1.67 GB Notification: Performance of sort global known variables: time 4.51e-07/6.285, allocations: 0 / 2.71 GB, free: 170.1 MB / 1.67 GB Notification: Performance of remove unused functions: time 0.05595/6.341, allocations: 10.59 MB / 2.721 GB, free: 159.5 MB / 1.67 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.007015/6.348, allocations: 1.877 MB / 2.722 GB, free: 157.9 MB / 1.67 GB Notification: Performance of simCode: created initialization part: time 0.2714/6.62, allocations: 65.44 MB / 2.786 GB, free: 92.38 MB / 1.67 GB Notification: Performance of simCode: created event and clocks part: time 3.083e-05/6.62, allocations: 11 kB / 2.786 GB, free: 92.37 MB / 1.67 GB Notification: Performance of simCode: created simulation system equations: time 0.01286/6.633, allocations: 5.009 MB / 2.791 GB, free: 87.34 MB / 1.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06358/6.696, allocations: 10.75 MB / 2.802 GB, free: 76.89 MB / 1.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1188/6.815, allocations: 50 MB / 2.85 GB, free: 26.68 MB / 1.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03421/6.849, allocations: 16.07 MB / 2.866 GB, free: 10.57 MB / 1.67 GB Notification: Performance of simCode: alias equations: time 0.03376/6.883, allocations: 10.39 MB / 2.876 GB, free: 204 kB / 1.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.455/8.338, allocations: 1.332 MB / 2.878 GB, free: 0.5856 GB / 1.67 GB Notification: Performance of SimCode: time 1.583e-06/8.338, allocations: 0 / 2.878 GB, free: 0.5856 GB / 1.67 GB Notification: Performance of Templates: time 0.581/8.919, allocations: 435.8 MB / 3.303 GB, free: 243.2 MB / 1.67 GB make -j1 -f Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2.makefile make -j1 -f Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=29 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2.o Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=29 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_functions.o Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_functions.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=29 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_records.o Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_records.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=29 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_01exo.o Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_01exo.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=29 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_02nls.o Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_02nls.c Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_02nls.c: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/division.h:45:70: note: expanded from macro 'DIVISION_SIM' #define DIVISION_SIM(a,b,msg,equation) (__OMC_DIV_SIM(threadData, a, b, msg, equationIndexes, data->simulationInfo->noThrowDivZero, data->localData[0]->timeValue, initial())) ^ ./Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_functions.h:2106:101: note: passing argument to parameter '_uri' here modelica_string omc_Modelica_Utilities_Files_loadResource(threadData_t *threadData, modelica_string _uri); ^ Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_02nls.c: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/division.h:45:70: note: expanded from macro 'DIVISION_SIM' #define DIVISION_SIM(a,b,msg,equation) (__OMC_DIV_SIM(threadData, a, b, msg, equationIndexes, data->simulationInfo->noThrowDivZero, data->localData[0]->timeValue, initial())) ^ ./Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_functions.h:2106:101: note: passing argument to parameter '_uri' here modelica_string omc_Modelica_Utilities_Files_loadResource(threadData_t *threadData, modelica_string _uri); ^ Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_02nls.c: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/division.h:45:70: note: expanded from macro 'DIVISION_SIM' #define DIVISION_SIM(a,b,msg,equation) (__OMC_DIV_SIM(threadData, a, b, msg, equationIndexes, data->simulationInfo->noThrowDivZero, data->localData[0]->timeValue, initial())) ^ ./Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_functions.h:2106:101: note: passing argument to parameter '_uri' here modelica_string omc_Modelica_Utilities_Files_loadResource(threadData_t *threadData, modelica_string _uri); ^ Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_02nls.c: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/division.h:45:70: note: expanded from macro 'DIVISION_SIM' #define DIVISION_SIM(a,b,msg,equation) (__OMC_DIV_SIM(threadData, a, b, msg, equationIndexes, data->simulationInfo->noThrowDivZero, data->localData[0]->timeValue, initial())) ^ ./Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_functions.h:2106:101: note: passing argument to parameter '_uri' here modelica_string omc_Modelica_Utilities_Files_loadResource(threadData_t *threadData, modelica_string _uri); ^ Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_02nls.c: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/division.h:45:70: note: expanded from macro 'DIVISION_SIM' #define DIVISION_SIM(a,b,msg,equation) (__OMC_DIV_SIM(threadData, a, b, msg, equationIndexes, data->simulationInfo->noThrowDivZero, data->localData[0]->timeValue, initial())) ^ ./Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_functions.h:2106:101: note: passing argument to parameter '_uri' here modelica_string omc_Modelica_Utilities_Files_loadResource(threadData_t *threadData, modelica_string _uri); ^ Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_02nls.c: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/division.h:45:70: note: expanded from macro 'DIVISION_SIM' #define DIVISION_SIM(a,b,msg,equation) (__OMC_DIV_SIM(threadData, a, b, msg, equationIndexes, data->simulationInfo->noThrowDivZero, data->localData[0]->timeValue, initial())) ^ ./Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_functions.h:2106:101: note: passing argument to parameter '_uri' here modelica_string omc_Modelica_Utilities_Files_loadResource(threadData_t *threadData, modelica_string _uri); ^ Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_02nls.c: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/division.h:45:70: note: expanded from macro 'DIVISION_SIM' #define DIVISION_SIM(a,b,msg,equation) (__OMC_DIV_SIM(threadData, a, b, msg, equationIndexes, data->simulationInfo->noThrowDivZero, data->localData[0]->timeValue, initial())) ^ ./Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_functions.h:2106:101: note: passing argument to parameter '_uri' here modelica_string omc_Modelica_Utilities_Files_loadResource(threadData_t *threadData, modelica_string _uri); ^ Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_02nls.c: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/division.h:45:70: note: expanded from macro 'DIVISION_SIM' #define DIVISION_SIM(a,b,msg,equation) (__OMC_DIV_SIM(threadData, a, b, msg, equationIndexes, data->simulationInfo->noThrowDivZero, data->localData[0]->timeValue, initial())) ^ ./Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_functions.h:2106:101: note: passing argument to parameter '_uri' here modelica_string omc_Modelica_Utilities_Files_loadResource(threadData_t *threadData, modelica_string _uri); ^ Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_02nls.c: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/division.h:45:70: note: expanded from macro 'DIVISION_SIM' #define DIVISION_SIM(a,b,msg,equation) (__OMC_DIV_SIM(threadData, a, b, msg, equationIndexes, data->simulationInfo->noThrowDivZero, data->localData[0]->timeValue, initial())) ^ ./Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_functions.h:2106:101: note: passing argument to parameter '_uri' here modelica_string omc_Modelica_Utilities_Files_loadResource(threadData_t *threadData, modelica_string _uri); ^ Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_02nls.c: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/division.h:45:70: note: expanded from macro 'DIVISION_SIM' #define DIVISION_SIM(a,b,msg,equation) (__OMC_DIV_SIM(threadData, a, b, msg, equationIndexes, data->simulationInfo->noThrowDivZero, data->localData[0]->timeValue, initial())) ^ ./Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_functions.h:2106:101: note: passing argument to parameter '_uri' here modelica_string omc_Modelica_Utilities_Files_loadResource(threadData_t *threadData, modelica_string _uri); ^ 10 errors generated. make: *** [: Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_02nls.o] Error 1