Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009599/0.0009596, allocations: 99.83 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 177.5 kB / 16.58 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.738/1.738, allocations: 205.4 MB / 222.8 MB, free: 5.625 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.901/1.901, allocations: 292.7 MB / 0.5505 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000616/0.0006161, allocations: 16.19 kB / 0.6743 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3147, allocations: 116.3 MB / 0.7879 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.017/0.3318, allocations: 13.78 MB / 0.8014 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.005729/0.3376, allocations: 3.566 MB / 0.8049 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006889/0.3383, allocations: 19.88 kB / 0.8049 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006458/0.339, allocations: 131.1 kB / 0.805 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001894/0.3409, allocations: 0.5599 MB / 0.8055 GB, free: 9.828 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001365/0.3423, allocations: 397.4 kB / 0.8059 GB, free: 9.445 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001982/0.3443, allocations: 1.192 MB / 0.8071 GB, free: 8.25 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005823/0.3449, allocations: 224.6 kB / 0.8073 GB, free: 8.027 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008903/0.3458, allocations: 350.4 kB / 0.8076 GB, free: 7.684 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005052/0.3463, allocations: 250.8 kB / 0.8079 GB, free: 7.438 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 6.747e-05/0.3464, allocations: 15.94 kB / 0.8079 GB, free: 7.422 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001631/0.348, allocations: 0.6315 MB / 0.8085 GB, free: 6.789 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.3482, allocations: 59.73 kB / 0.8086 GB, free: 6.73 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002274/0.3484, allocations: 93.45 kB / 0.8087 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001245/0.3497, allocations: 487 kB / 0.8091 GB, free: 6.156 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 9.317e-06/0.3497, allocations: 0 / 0.8091 GB, free: 6.156 MB / 0.6231 GB Notification: Performance of FrontEnd: time 5.59e-06/0.3497, allocations: 7.922 kB / 0.8091 GB, free: 6.148 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.151e-05/0.3498, allocations: 0 / 0.8091 GB, free: 6.148 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001485/0.3513, allocations: 0.6813 MB / 0.8098 GB, free: 5.414 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.3513, allocations: 12.03 kB / 0.8098 GB, free: 5.402 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001294/0.3515, allocations: 43.44 kB / 0.8098 GB, free: 5.359 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.3526, allocations: 497 kB / 0.8103 GB, free: 4.832 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.3526, allocations: 16.33 kB / 0.8103 GB, free: 4.816 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.91e-05/0.3527, allocations: 16 kB / 0.8103 GB, free: 4.801 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004193/0.3531, allocations: 176.2 kB / 0.8105 GB, free: 4.625 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.3531, allocations: 0 / 0.8105 GB, free: 4.625 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/0.3531, allocations: 12 kB / 0.8105 GB, free: 4.613 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.3532, allocations: 4 kB / 0.8105 GB, free: 4.609 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003383/0.3535, allocations: 152.1 kB / 0.8107 GB, free: 4.461 MB / 0.6231 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.001376/0.3549, allocations: 0.8684 MB / 0.8115 GB, free: 3.492 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/0.3552, allocations: 126.6 kB / 0.8116 GB, free: 3.359 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001693/0.3554, allocations: 80.75 kB / 0.8117 GB, free: 3.277 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004021/0.3558, allocations: 336.4 kB / 0.812 GB, free: 2.875 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/0.3558, allocations: 38.48 kB / 0.8121 GB, free: 2.828 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=12): time 1.493e-06/0.3559, allocations: 4 kB / 0.8121 GB, free: 2.824 MB / 0.6231 GB Notification: Performance of matching and sorting (n=12): time 0.0006368/0.3565, allocations: 233.1 kB / 0.8123 GB, free: 2.59 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.3566, allocations: 51.41 kB / 0.8124 GB, free: 2.527 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003961/0.357, allocations: 345.7 kB / 0.8127 GB, free: 2.18 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.357, allocations: 25.7 kB / 0.8127 GB, free: 2.148 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.3572, allocations: 192.3 kB / 0.8129 GB, free: 1.957 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.633e-05/0.3572, allocations: 39.39 kB / 0.8129 GB, free: 1.918 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.794e-06/0.3572, allocations: 4 kB / 0.8129 GB, free: 1.914 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.3574, allocations: 346.8 kB / 0.8133 GB, free: 1.566 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.3575, allocations: 47.97 kB / 0.8133 GB, free: 1.52 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/0.3577, allocations: 96.17 kB / 0.8134 GB, free: 1.41 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.3579, allocations: 59.91 kB / 0.8135 GB, free: 1.352 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.3579, allocations: 0 / 0.8135 GB, free: 1.352 MB / 0.6231 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003816/0.3583, allocations: 185.2 kB / 0.8136 GB, free: 1.164 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.425e-05/0.3584, allocations: 97.81 kB / 0.8137 GB, free: 1.059 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3584, allocations: 0 / 0.8137 GB, free: 1.059 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.3584, allocations: 4 kB / 0.8137 GB, free: 1.055 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.3586, allocations: 35.91 kB / 0.8138 GB, free: 1.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.966e-06/0.3586, allocations: 0 / 0.8138 GB, free: 1.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002186/0.3588, allocations: 31.83 kB / 0.8138 GB, free: 0.9883 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.903e-05/0.3589, allocations: 11.98 kB / 0.8138 GB, free: 0.9766 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.616e-06/0.3589, allocations: 4 kB / 0.8138 GB, free: 0.9727 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00031/0.3592, allocations: 123.9 kB / 0.8139 GB, free: 0.8516 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-06/0.3592, allocations: 0 / 0.8139 GB, free: 0.8516 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.437e-06/0.3592, allocations: 0 / 0.8139 GB, free: 0.8516 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.3593, allocations: 27.98 kB / 0.814 GB, free: 0.8242 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.3594, allocations: 0 / 0.814 GB, free: 0.8242 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002172/0.3596, allocations: 31.97 kB / 0.814 GB, free: 0.793 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.3596, allocations: 4 kB / 0.814 GB, free: 0.7891 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002262/0.3598, allocations: 229.6 kB / 0.8142 GB, free: 0.5547 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.591e-05/0.3599, allocations: 35.53 kB / 0.8142 GB, free: 0.5195 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005539/0.3605, allocations: 245.1 kB / 0.8145 GB, free: 280 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.3605, allocations: 0 / 0.8145 GB, free: 280 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.3605, allocations: 0 / 0.8145 GB, free: 280 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.3605, allocations: 4 kB / 0.8145 GB, free: 276 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.3616, allocations: 0.6412 MB / 0.8151 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.329e-06/0.3616, allocations: 0 / 0.8151 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001257/0.3617, allocations: 40.09 kB / 0.8151 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.3617, allocations: 0 / 0.8151 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.3617, allocations: 12.03 kB / 0.8152 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.3617, allocations: 0 / 0.8152 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3618, allocations: 3.953 kB / 0.8152 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004436/0.3622, allocations: 321.6 kB / 0.8155 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001499/0.3624, allocations: 136.6 kB / 0.8156 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.963e-05/0.3624, allocations: 0 / 0.8156 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.3626, allocations: 31.92 kB / 0.8156 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.587e-05/0.3627, allocations: 19.86 kB / 0.8156 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.3627, allocations: 12 kB / 0.8157 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002537/0.363, allocations: 239.2 kB / 0.8159 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.363, allocations: 0 / 0.8159 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006428/0.3636, allocations: 187.7 kB / 0.8161 GB, free: 14.54 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006412/0.3643, allocations: 248.7 kB / 0.8163 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005431/0.3648, allocations: 199.8 kB / 0.8165 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3648, allocations: 0 / 0.8165 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001764/0.365, allocations: 79.89 kB / 0.8166 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008285/0.3659, allocations: 150.2 kB / 0.8167 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.367, allocations: 0.7084 MB / 0.8174 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000462/0.3674, allocations: 0.7921 MB / 0.8182 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.281e-05/0.3675, allocations: 27.44 kB / 0.8182 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of SimCode: time 3.1e-07/0.3675, allocations: 0 / 0.8182 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of Templates: time 0.009943/0.3775, allocations: 5.716 MB / 0.8238 GB, free: 6.625 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameterCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameterCalcHelperMain.o] Error 1