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.006414/0.006414, allocations: 102.1 kB / 15.73 MB, free: 6.492 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.001482/0.001483, allocations: 196.4 kB / 16.68 MB, free: 6.375 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.959/2.959, allocations: 461.9 MB / 0.7347 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 63.89 kB / 1.054 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3357, allocations: 157.4 MB / 1.208 GB, free: 9.582 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2): time 1.331/1.667, allocations: 0.5037 GB / 1.711 GB, free: 1.934 MB / 1.389 GB Notification: Performance of NFInst.instExpressions: time 0.1077/1.774, allocations: 68.93 MB / 1.779 GB, free: 12.82 MB / 1.467 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01446/1.789, allocations: 258.6 kB / 1.779 GB, free: 12.57 MB / 1.467 GB Notification: Performance of NFTyping.typeComponents: time 0.01512/1.804, allocations: 4.449 MB / 1.783 GB, free: 8.094 MB / 1.467 GB Notification: Performance of NFTyping.typeBindings: time 0.03084/1.835, allocations: 10.22 MB / 1.793 GB, free: 13.84 MB / 1.482 GB Notification: Performance of NFTyping.typeClassSections: time 0.01851/1.854, allocations: 6.601 MB / 1.8 GB, free: 7.293 MB / 1.482 GB Notification: Performance of NFFlatten.flatten: time 1.167/3.02, allocations: 84.84 MB / 1.883 GB, free: 135.4 MB / 1.482 GB Notification: Performance of NFFlatten.resolveConnections: time 0.06885/3.089, allocations: 31.12 MB / 1.913 GB, free: 131.2 MB / 1.482 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06444/3.154, allocations: 23.88 MB / 1.936 GB, free: 127.6 MB / 1.482 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04337/3.197, allocations: 18.18 MB / 1.954 GB, free: 117.1 MB / 1.482 GB Notification: Performance of NFPackage.collectConstants: time 0.01382/3.211, allocations: 2.695 MB / 1.957 GB, free: 114.4 MB / 1.482 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03652/3.247, allocations: 8.649 MB / 1.965 GB, free: 109.2 MB / 1.482 GB Notification: Performance of NFScalarize.scalarize: time 0.01764/3.265, allocations: 7.955 MB / 1.973 GB, free: 106 MB / 1.482 GB Notification: Performance of NFVerifyModel.verify: time 0.04526/3.31, allocations: 15.58 MB / 1.988 GB, free: 95.19 MB / 1.482 GB Notification: Performance of NFConvertDAE.convert: time 0.07443/3.385, allocations: 48.7 MB / 2.036 GB, free: 48.01 MB / 1.482 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/3.385, allocations: 7.375 kB / 2.036 GB, free: 48.01 MB / 1.482 GB Notification: Performance of FrontEnd: time 1.964e-06/3.385, allocations: 0 / 2.036 GB, free: 48.01 MB / 1.482 GB Notification: Performance of Transformations before backend: time 0.001994/3.387, allocations: 0 / 2.036 GB, free: 48.01 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.08805/3.475, allocations: 30.15 MB / 2.065 GB, free: 18.02 MB / 1.482 GB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/3.475, allocations: 8.625 kB / 2.065 GB, free: 18.01 MB / 1.482 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03431/3.509, allocations: 6.424 MB / 2.071 GB, free: 11.56 MB / 1.482 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08657/3.596, allocations: 38.27 MB / 2.109 GB, free: 6.27 MB / 1.514 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00148/3.598, allocations: 1.102 MB / 2.11 GB, free: 5.172 MB / 1.514 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006057/3.604, allocations: 1.432 MB / 2.111 GB, free: 3.746 MB / 1.514 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05863/3.662, allocations: 22.52 MB / 2.133 GB, free: 12.25 MB / 1.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005848/3.663, allocations: 65.92 kB / 2.133 GB, free: 12.22 MB / 1.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004915/3.668, allocations: 0.5799 MB / 2.134 GB, free: 11.65 MB / 1.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005372/3.668, allocations: 0.5287 MB / 2.134 GB, free: 11.12 MB / 1.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04984/3.718, allocations: 19.1 MB / 2.153 GB, free: 8.281 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.1813/3.9, allocations: 113.7 MB / 2.264 GB, free: 1.395 MB / 1.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02145/3.921, allocations: 10.45 MB / 2.274 GB, free: 6.82 MB / 1.686 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0119/3.933, allocations: 5.595 MB / 2.28 GB, free: 1.203 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.05147/3.985, allocations: 18.62 MB / 2.298 GB, free: 14.51 MB / 1.717 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01351/3.998, allocations: 5.862 MB / 2.304 GB, free: 8.551 MB / 1.717 GB Notification: Performance of pre-optimization done (n=533): time 1.307e-05/3.998, allocations: 0 / 2.304 GB, free: 8.551 MB / 1.717 GB Notification: Performance of matching and sorting (n=533): time 0.05232/4.05, allocations: 18.17 MB / 2.321 GB, free: 6.371 MB / 1.732 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002055/4.051, allocations: 423.2 kB / 2.322 GB, free: 5.875 MB / 1.732 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07104/4.122, allocations: 28.42 MB / 2.35 GB, free: 9.586 MB / 1.764 GB Notification: Performance of collectPreVariables (initialization): time 0.002464/4.124, allocations: 193.5 kB / 2.35 GB, free: 9.395 MB / 1.764 GB Notification: Performance of collectInitialEqns (initialization): time 0.0179/4.142, allocations: 12.04 MB / 2.362 GB, free: 13.37 MB / 1.779 GB Notification: Performance of collectInitialBindings (initialization): time 0.003678/4.146, allocations: 1.964 MB / 2.363 GB, free: 11.42 MB / 1.779 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01283/4.159, allocations: 3.306 MB / 2.367 GB, free: 8.105 MB / 1.779 GB Notification: Performance of setup shared object (initialization): time 9.502e-05/4.159, allocations: 305.1 kB / 2.367 GB, free: 7.805 MB / 1.779 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01669/4.176, allocations: 7.884 MB / 2.375 GB, free: 15.91 MB / 1.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02237/4.198, allocations: 13.45 MB / 2.388 GB, free: 172 kB / 1.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03351/4.232, allocations: 19.13 MB / 2.407 GB, free: 11.59 MB / 1.826 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001763/4.232, allocations: 40 kB / 2.407 GB, free: 11.55 MB / 1.826 GB Notification: Performance of matching and sorting (n=1800) (initialization): time 0.06191/4.294, allocations: 24.92 MB / 2.431 GB, free: 3.398 MB / 1.842 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002291/4.294, allocations: 64 kB / 2.431 GB, free: 3.336 MB / 1.842 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003044/4.294, allocations: 144.1 kB / 2.431 GB, free: 3.195 MB / 1.842 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02219/4.317, allocations: 7.794 MB / 2.439 GB, free: 11.41 MB / 1.857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.06621/4.383, allocations: 12.05 MB / 2.45 GB, free: 15.53 MB / 1.873 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.9737/5.357, allocations: 16 MB / 2.466 GB, free: 0.8032 GB / 1.873 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02857/5.385, allocations: 2.245 MB / 2.468 GB, free: 0.8032 GB / 1.873 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005164/5.39, allocations: 0.6508 MB / 2.469 GB, free: 0.8032 GB / 1.873 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04878/5.439, allocations: 16.42 MB / 2.485 GB, free: 0.8031 GB / 1.873 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02637/5.466, allocations: 13.14 MB / 2.498 GB, free: 0.797 GB / 1.873 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03724/5.503, allocations: 18.58 MB / 2.516 GB, free: 0.7886 GB / 1.873 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0003665/5.503, allocations: 40.5 kB / 2.516 GB, free: 0.7886 GB / 1.873 GB Notification: Performance of matching and sorting (n=1800) (initialization_lambda0): time 0.0759/5.579, allocations: 24.38 MB / 2.54 GB, free: 0.7818 GB / 1.873 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005392/5.58, allocations: 67.25 kB / 2.54 GB, free: 0.7818 GB / 1.873 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006904/5.581, allocations: 142.4 kB / 2.54 GB, free: 0.7818 GB / 1.873 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01312/5.594, allocations: 4.027 MB / 2.544 GB, free: 0.7812 GB / 1.873 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.06415/5.658, allocations: 12.15 MB / 2.556 GB, free: 0.7809 GB / 1.873 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02279/5.681, allocations: 21.12 MB / 2.576 GB, free: 0.767 GB / 1.873 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02677/5.708, allocations: 1.845 MB / 2.578 GB, free: 0.7668 GB / 1.873 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004197/5.712, allocations: 0.6303 MB / 2.579 GB, free: 0.7667 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.007691/5.719, allocations: 1.005 MB / 2.58 GB, free: 0.7661 GB / 1.873 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01043/5.73, allocations: 2.093 MB / 2.582 GB, free: 0.7658 GB / 1.873 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04172/5.772, allocations: 13.82 MB / 2.595 GB, free: 0.7607 GB / 1.873 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000106/5.772, allocations: 53.91 kB / 2.595 GB, free: 0.7607 GB / 1.873 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.273e-05/5.772, allocations: 3.688 kB / 2.595 GB, free: 0.7607 GB / 1.873 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02854/5.8, allocations: 11.05 MB / 2.606 GB, free: 0.7551 GB / 1.873 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1136/5.914, allocations: 34.68 MB / 2.64 GB, free: 0.7276 GB / 1.873 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.123e-05/5.914, allocations: 12 kB / 2.64 GB, free: 0.7276 GB / 1.873 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004746/5.919, allocations: 0.8905 MB / 2.641 GB, free: 0.7267 GB / 1.873 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01619/5.935, allocations: 5.678 MB / 2.647 GB, free: 0.7212 GB / 1.873 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001915/5.937, allocations: 167.9 kB / 2.647 GB, free: 0.7211 GB / 1.873 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01736/5.955, allocations: 8.679 MB / 2.655 GB, free: 0.7126 GB / 1.873 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.167e-05/5.955, allocations: 15.94 kB / 2.655 GB, free: 0.7126 GB / 1.873 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05149/6.006, allocations: 20.69 MB / 2.675 GB, free: 0.6919 GB / 1.873 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01653/6.023, allocations: 3.984 MB / 2.679 GB, free: 0.6881 GB / 1.873 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01075/6.034, allocations: 120 kB / 2.679 GB, free: 0.6879 GB / 1.873 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01903/6.053, allocations: 0.9819 MB / 2.68 GB, free: 0.687 GB / 1.873 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002048/6.055, allocations: 347.3 kB / 2.681 GB, free: 0.6867 GB / 1.873 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002171/6.057, allocations: 271.8 kB / 2.681 GB, free: 0.6864 GB / 1.873 GB Notification: Performance of sorting global known variables: time 0.05385/6.111, allocations: 19.78 MB / 2.7 GB, free: 0.6672 GB / 1.873 GB Notification: Performance of sort global known variables: time 1.082e-06/6.111, allocations: 0 / 2.7 GB, free: 0.6672 GB / 1.873 GB Notification: Performance of remove unused functions: time 0.05876/6.17, allocations: 10.53 MB / 2.711 GB, free: 0.6572 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.007068/6.177, allocations: 1.863 MB / 2.712 GB, free: 0.6559 GB / 1.873 GB Notification: Performance of simCode: created initialization part: time 0.2576/6.434, allocations: 66.59 MB / 2.777 GB, free: 0.5908 GB / 1.873 GB Notification: Performance of simCode: created event and clocks part: time 2.879e-05/6.434, allocations: 15.06 kB / 2.777 GB, free: 0.5908 GB / 1.873 GB Notification: Performance of simCode: created simulation system equations: time 0.01291/6.447, allocations: 5.203 MB / 2.782 GB, free: 0.5857 GB / 1.873 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07204/6.519, allocations: 10.75 MB / 2.793 GB, free: 0.5755 GB / 1.873 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1237/6.643, allocations: 49.26 MB / 2.841 GB, free: 0.5272 GB / 1.873 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03934/6.683, allocations: 16.06 MB / 2.857 GB, free: 0.5115 GB / 1.873 GB Notification: Performance of simCode: alias equations: time 0.04122/6.724, allocations: 10.41 MB / 2.867 GB, free: 0.5014 GB / 1.873 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007962/6.732, allocations: 1.335 MB / 2.868 GB, free: 0.5001 GB / 1.873 GB Notification: Performance of SimCode: time 9.72e-07/6.732, allocations: 0 / 2.868 GB, free: 0.5001 GB / 1.873 GB Notification: Performance of Templates: time 0.5968/7.329, allocations: 433.6 MB / 3.292 GB, free: 80.82 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