Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ter.1..TLoaODE.TAir|minTSet.y|ter.1..QReqHea_flow|ter.1..QActHea_flow|ter.1..mReqHeaWat_flow|ter.1..port_aHeaWat.m_flow",fileNamePrefix="Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2") translateModel(Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ter.1..TLoaODE.TAir|minTSet.y|ter.1..QReqHea_flow|ter.1..QActHea_flow|ter.1..mReqHeaWat_flow|ter.1..port_aHeaWat.m_flow",fileNamePrefix="Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01062/0.01062, allocations: 103.7 kB / 15.73 MB, free: 6.051 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.00186/0.00186, allocations: 197 kB / 16.68 MB, free: 5.98 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.829/2.829, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 67.89 kB / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3423, allocations: 157.4 MB / 1.208 GB, free: 9.625 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2): time 1.266/1.608, allocations: 0.5037 GB / 1.711 GB, free: 2 MB / 1.389 GB Notification: Performance of NFInst.instExpressions: time 0.09345/1.701, allocations: 68.92 MB / 1.779 GB, free: 12.89 MB / 1.467 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01311/1.715, allocations: 262.6 kB / 1.779 GB, free: 12.64 MB / 1.467 GB Notification: Performance of NFTyping.typeComponents: time 0.0141/1.729, allocations: 4.459 MB / 1.783 GB, free: 8.156 MB / 1.467 GB Notification: Performance of NFTyping.typeBindings: time 0.02955/1.758, allocations: 10.22 MB / 1.793 GB, free: 13.9 MB / 1.482 GB Notification: Performance of NFTyping.typeClassSections: time 0.01808/1.777, allocations: 6.607 MB / 1.8 GB, free: 7.352 MB / 1.482 GB Notification: Performance of NFFlatten.flatten: time 1.123/2.9, allocations: 84.84 MB / 1.883 GB, free: 135.3 MB / 1.482 GB Notification: Performance of NFFlatten.resolveConnections: time 0.06856/2.968, allocations: 31.12 MB / 1.913 GB, free: 131.1 MB / 1.482 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05607/3.024, allocations: 23.87 MB / 1.936 GB, free: 127.6 MB / 1.482 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03635/3.061, allocations: 18.18 MB / 1.954 GB, free: 117.1 MB / 1.482 GB Notification: Performance of NFPackage.collectConstants: time 0.01173/3.072, allocations: 2.691 MB / 1.957 GB, free: 114.5 MB / 1.482 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0331/3.106, allocations: 8.652 MB / 1.965 GB, free: 109.2 MB / 1.482 GB Notification: Performance of NFScalarize.scalarize: time 0.01617/3.122, allocations: 7.952 MB / 1.973 GB, free: 106 MB / 1.482 GB Notification: Performance of NFVerifyModel.verify: time 0.04155/3.163, allocations: 15.6 MB / 1.988 GB, free: 95.32 MB / 1.482 GB Notification: Performance of NFConvertDAE.convert: time 0.06812/3.232, allocations: 48.69 MB / 2.036 GB, free: 48.15 MB / 1.482 GB Notification: Performance of FrontEnd - DAE generated: time 9.949e-06/3.232, allocations: 0 / 2.036 GB, free: 48.15 MB / 1.482 GB Notification: Performance of FrontEnd: time 4.118e-06/3.232, allocations: 0 / 2.036 GB, free: 48.15 MB / 1.482 GB Notification: Performance of Transformations before backend: time 0.001788/3.233, allocations: 7.938 kB / 2.036 GB, free: 48.14 MB / 1.482 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.08987/3.323, allocations: 30.14 MB / 2.065 GB, free: 18.16 MB / 1.482 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/3.323, allocations: 8.625 kB / 2.065 GB, free: 18.15 MB / 1.482 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03566/3.359, allocations: 6.428 MB / 2.071 GB, free: 11.7 MB / 1.482 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0942/3.453, allocations: 38.27 MB / 2.109 GB, free: 6.406 MB / 1.514 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001827/3.455, allocations: 1.105 MB / 2.11 GB, free: 5.305 MB / 1.514 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007489/3.463, allocations: 1.432 MB / 2.111 GB, free: 3.879 MB / 1.514 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07224/3.535, allocations: 22.52 MB / 2.133 GB, free: 12.39 MB / 1.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008721/3.536, allocations: 63.44 kB / 2.133 GB, free: 12.36 MB / 1.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006253/3.542, allocations: 0.5787 MB / 2.134 GB, free: 11.79 MB / 1.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006418/3.543, allocations: 0.5178 MB / 2.134 GB, free: 11.27 MB / 1.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05295/3.596, allocations: 19.11 MB / 2.153 GB, free: 8.414 MB / 1.561 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.1982/3.794, allocations: 113.7 MB / 2.264 GB, free: 1.531 MB / 1.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02315/3.817, allocations: 10.44 MB / 2.274 GB, free: 6.965 MB / 1.686 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01238/3.83, allocations: 5.603 MB / 2.28 GB, free: 1.344 MB / 1.686 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.05466/3.884, allocations: 18.62 MB / 2.298 GB, free: 14.65 MB / 1.717 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01661/3.901, allocations: 5.87 MB / 2.304 GB, free: 8.688 MB / 1.717 GB Notification: Performance of pre-optimization done (n=533): time 1.733e-05/3.901, allocations: 0 / 2.304 GB, free: 8.688 MB / 1.717 GB Notification: Performance of matching and sorting (n=533): time 0.05558/3.957, allocations: 18.16 MB / 2.321 GB, free: 6.52 MB / 1.732 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002105/3.957, allocations: 427.3 kB / 2.322 GB, free: 6.02 MB / 1.732 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07676/4.034, allocations: 28.43 MB / 2.35 GB, free: 9.727 MB / 1.764 GB Notification: Performance of collectPreVariables (initialization): time 0.002612/4.036, allocations: 181.7 kB / 2.35 GB, free: 9.543 MB / 1.764 GB Notification: Performance of collectInitialEqns (initialization): time 0.01943/4.056, allocations: 12.05 MB / 2.362 GB, free: 13.52 MB / 1.779 GB Notification: Performance of collectInitialBindings (initialization): time 0.003879/4.06, allocations: 1.966 MB / 2.363 GB, free: 11.57 MB / 1.779 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01157/4.071, allocations: 3.315 MB / 2.367 GB, free: 8.242 MB / 1.779 GB Notification: Performance of setup shared object (initialization): time 0.0001037/4.072, allocations: 305.1 kB / 2.367 GB, free: 7.941 MB / 1.779 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01811/4.09, allocations: 7.887 MB / 2.375 GB, free: 44 kB / 1.779 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02537/4.115, allocations: 13.45 MB / 2.388 GB, free: 316 kB / 1.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03734/4.152, allocations: 19.13 MB / 2.407 GB, free: 11.73 MB / 1.826 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001995/4.153, allocations: 43.47 kB / 2.407 GB, free: 11.69 MB / 1.826 GB Notification: Performance of matching and sorting (n=1800) (initialization): time 0.06841/4.221, allocations: 24.92 MB / 2.431 GB, free: 3.539 MB / 1.842 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002575/4.221, allocations: 68 kB / 2.431 GB, free: 3.473 MB / 1.842 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003263/4.222, allocations: 143.3 kB / 2.431 GB, free: 3.336 MB / 1.842 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02358/4.245, allocations: 7.788 MB / 2.439 GB, free: 11.55 MB / 1.857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.06401/4.309, allocations: 12.05 MB / 2.45 GB, free: 15.68 MB / 1.873 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8853/5.195, allocations: 16.01 MB / 2.466 GB, free: 0.8033 GB / 1.873 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02794/5.223, allocations: 2.237 MB / 2.468 GB, free: 0.8033 GB / 1.873 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004519/5.227, allocations: 0.6554 MB / 2.469 GB, free: 0.8033 GB / 1.873 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04601/5.273, allocations: 16.42 MB / 2.485 GB, free: 0.8032 GB / 1.873 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02611/5.299, allocations: 13.13 MB / 2.498 GB, free: 0.7971 GB / 1.873 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03509/5.335, allocations: 18.58 MB / 2.516 GB, free: 0.7887 GB / 1.873 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0003565/5.335, allocations: 39.91 kB / 2.516 GB, free: 0.7887 GB / 1.873 GB Notification: Performance of matching and sorting (n=1800) (initialization_lambda0): time 0.07132/5.406, allocations: 24.38 MB / 2.54 GB, free: 0.7819 GB / 1.873 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001484/5.407, allocations: 67.19 kB / 2.54 GB, free: 0.7819 GB / 1.873 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002443/5.407, allocations: 142.3 kB / 2.54 GB, free: 0.7819 GB / 1.873 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01086/5.418, allocations: 4.029 MB / 2.544 GB, free: 0.7813 GB / 1.873 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.06355/5.481, allocations: 12.15 MB / 2.556 GB, free: 0.781 GB / 1.873 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02106/5.502, allocations: 21.13 MB / 2.576 GB, free: 0.7672 GB / 1.873 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02366/5.526, allocations: 1.83 MB / 2.578 GB, free: 0.7669 GB / 1.873 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003318/5.529, allocations: 0.6366 MB / 2.579 GB, free: 0.7668 GB / 1.873 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.004158/5.534, allocations: 1.006 MB / 2.58 GB, free: 0.7662 GB / 1.873 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007375/5.541, allocations: 2.093 MB / 2.582 GB, free: 0.7659 GB / 1.873 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0312/5.572, allocations: 13.83 MB / 2.595 GB, free: 0.761 GB / 1.873 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.298e-05/5.572, allocations: 58.17 kB / 2.595 GB, free: 0.7609 GB / 1.873 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.211e-05/5.572, allocations: 4.438 kB / 2.595 GB, free: 0.7609 GB / 1.873 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02176/5.594, allocations: 11.05 MB / 2.606 GB, free: 0.7554 GB / 1.873 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1145/5.709, allocations: 34.68 MB / 2.64 GB, free: 0.7278 GB / 1.873 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001792/5.709, allocations: 8 kB / 2.64 GB, free: 0.7278 GB / 1.873 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008623/5.718, allocations: 0.8978 MB / 2.641 GB, free: 0.7269 GB / 1.873 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03012/5.748, allocations: 5.68 MB / 2.647 GB, free: 0.7214 GB / 1.873 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002422/5.75, allocations: 171.9 kB / 2.647 GB, free: 0.7213 GB / 1.873 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0296/5.78, allocations: 8.677 MB / 2.655 GB, free: 0.7128 GB / 1.873 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.82e-05/5.78, allocations: 15.94 kB / 2.655 GB, free: 0.7127 GB / 1.873 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07775/5.858, allocations: 20.69 MB / 2.675 GB, free: 0.6921 GB / 1.873 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02237/5.88, allocations: 3.977 MB / 2.679 GB, free: 0.6882 GB / 1.873 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01225/5.892, allocations: 127.9 kB / 2.679 GB, free: 0.6881 GB / 1.873 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02381/5.916, allocations: 0.9832 MB / 2.68 GB, free: 0.6872 GB / 1.873 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001746/5.918, allocations: 339.4 kB / 2.681 GB, free: 0.6868 GB / 1.873 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001777/5.92, allocations: 279.8 kB / 2.681 GB, free: 0.6866 GB / 1.873 GB Notification: Performance of sorting global known variables: time 0.04232/5.962, allocations: 19.77 MB / 2.7 GB, free: 0.6674 GB / 1.873 GB Notification: Performance of sort global known variables: time 2.164e-06/5.962, allocations: 0 / 2.7 GB, free: 0.6674 GB / 1.873 GB Notification: Performance of remove unused functions: time 0.05838/6.021, allocations: 10.53 MB / 2.711 GB, free: 0.6574 GB / 1.873 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.007638/6.028, allocations: 1.859 MB / 2.712 GB, free: 0.6561 GB / 1.873 GB Notification: Performance of simCode: created initialization part: time 0.2643/6.293, allocations: 66.6 MB / 2.777 GB, free: 0.591 GB / 1.873 GB Notification: Performance of simCode: created event and clocks part: time 3.655e-05/6.293, allocations: 11 kB / 2.777 GB, free: 0.591 GB / 1.873 GB Notification: Performance of simCode: created simulation system equations: time 0.01315/6.306, allocations: 5.204 MB / 2.782 GB, free: 0.5859 GB / 1.873 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06328/6.369, allocations: 10.75 MB / 2.793 GB, free: 0.5757 GB / 1.873 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1219/6.491, allocations: 49.26 MB / 2.841 GB, free: 0.5274 GB / 1.873 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03393/6.525, allocations: 16.07 MB / 2.857 GB, free: 0.5117 GB / 1.873 GB Notification: Performance of simCode: alias equations: time 0.03671/6.562, allocations: 10.41 MB / 2.867 GB, free: 0.5016 GB / 1.873 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00618/6.568, allocations: 1.339 MB / 2.868 GB, free: 0.5003 GB / 1.873 GB Notification: Performance of SimCode: time 1.042e-06/6.568, allocations: 0 / 2.868 GB, free: 0.5003 GB / 1.873 GB Notification: Performance of Templates: time 0.5786/7.147, allocations: 433.6 MB / 3.292 GB, free: 80.98 MB / 1.873 GB make -j1 -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2.makefile make -j1 -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/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_latest_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_latest_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2.o Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/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_latest_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_latest_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_functions.o Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_functions.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/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_latest_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_latest_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_records.o Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_records.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/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_latest_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_latest_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_01exo.o Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_01exo.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/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_latest_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_latest_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_02nls.o Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_02nls.c Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_02nls.c: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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2_02nls.o] Error 1