Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.0009679/0.0009677, allocations: 98.97 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.001036/0.001035, allocations: 175 kB / 16.58 MB, free: 6.418 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.517/1.517, allocations: 223.2 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.11/1.11, allocations: 143.4 MB / 435.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000452/0.000452, allocations: 8 kB / 0.5166 GB, free: 11.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2331, allocations: 83.4 MB / 0.5981 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.5184/0.7516, allocations: 13.76 MB / 0.6115 GB, free: 35.24 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00764/0.7593, allocations: 3.63 MB / 0.615 GB, free: 34.91 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007432/0.7601, allocations: 20.62 kB / 0.615 GB, free: 34.9 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006836/0.7608, allocations: 126.9 kB / 0.6152 GB, free: 34.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002244/0.7631, allocations: 0.5631 MB / 0.6157 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001731/0.7648, allocations: 406.8 kB / 0.6161 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002038/0.7669, allocations: 1.19 MB / 0.6173 GB, free: 34.49 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005041/0.7674, allocations: 228 kB / 0.6175 GB, free: 34.45 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008654/0.7683, allocations: 350 kB / 0.6178 GB, free: 34.37 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000414/0.7687, allocations: 253.8 kB / 0.6181 GB, free: 34.31 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.825e-05/0.7688, allocations: 11.66 kB / 0.6181 GB, free: 34.31 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001652/0.7704, allocations: 0.6257 MB / 0.6187 GB, free: 34.27 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.7705, allocations: 64.94 kB / 0.6187 GB, free: 34.25 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.7707, allocations: 91.64 kB / 0.6188 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008489/0.7715, allocations: 0.4916 MB / 0.6193 GB, free: 34.15 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.7716, allocations: 0 / 0.6193 GB, free: 34.15 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7716, allocations: 0 / 0.6193 GB, free: 34.15 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.7716, allocations: 0 / 0.6193 GB, free: 34.15 MB / 0.4981 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.001236/0.7728, allocations: 0.6925 MB / 0.62 GB, free: 33.61 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.7729, allocations: 8.312 kB / 0.62 GB, free: 33.61 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.986e-05/0.773, allocations: 46.34 kB / 0.62 GB, free: 33.59 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.7741, allocations: 485.6 kB / 0.6205 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.7741, allocations: 9.516 kB / 0.6205 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.822e-05/0.7742, allocations: 21.91 kB / 0.6205 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004965/0.7747, allocations: 188.4 kB / 0.6207 GB, free: 33.3 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.7747, allocations: 0 / 0.6207 GB, free: 33.3 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/0.7747, allocations: 11.64 kB / 0.6207 GB, free: 33.29 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.7748, allocations: 2.906 kB / 0.6207 GB, free: 33.29 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004765/0.7752, allocations: 151.2 kB / 0.6209 GB, free: 33.28 MB / 0.4981 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.001365/0.7766, allocations: 0.8649 MB / 0.6217 GB, free: 32.61 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003329/0.777, allocations: 129.5 kB / 0.6218 GB, free: 32.55 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/0.7772, allocations: 84.95 kB / 0.6219 GB, free: 32.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003547/0.7776, allocations: 335.4 kB / 0.6222 GB, free: 32.14 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.7776, allocations: 30.56 kB / 0.6223 GB, free: 32.1 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.923e-06/0.7776, allocations: 2.938 kB / 0.6223 GB, free: 32.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0007008/0.7783, allocations: 232.2 kB / 0.6225 GB, free: 32.01 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.7784, allocations: 54.38 kB / 0.6225 GB, free: 31.95 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004338/0.7788, allocations: 341.3 kB / 0.6229 GB, free: 31.78 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.7788, allocations: 33.64 kB / 0.6229 GB, free: 31.74 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.779, allocations: 197.6 kB / 0.6231 GB, free: 31.57 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.079e-05/0.7791, allocations: 41.55 kB / 0.6231 GB, free: 31.54 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.117e-06/0.7791, allocations: 4 kB / 0.6231 GB, free: 31.54 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.7792, allocations: 340.8 kB / 0.6235 GB, free: 31.21 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.7794, allocations: 46.19 kB / 0.6235 GB, free: 31.21 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001991/0.7796, allocations: 95.77 kB / 0.6236 GB, free: 31.15 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.7798, allocations: 53.97 kB / 0.6237 GB, free: 31.13 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.7798, allocations: 0 / 0.6237 GB, free: 31.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004583/0.7803, allocations: 195.3 kB / 0.6238 GB, free: 31.05 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.108e-05/0.7803, allocations: 95.45 kB / 0.6239 GB, free: 30.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.7803, allocations: 0 / 0.6239 GB, free: 30.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.7804, allocations: 2.562 kB / 0.6239 GB, free: 30.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.7806, allocations: 28.62 kB / 0.624 GB, free: 30.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.7806, allocations: 3.891 kB / 0.624 GB, free: 30.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003112/0.7809, allocations: 32.09 kB / 0.624 GB, free: 30.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-05/0.7809, allocations: 8.984 kB / 0.624 GB, free: 30.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.606e-06/0.781, allocations: 3.75 kB / 0.624 GB, free: 30.93 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003825/0.7814, allocations: 132.4 kB / 0.6241 GB, free: 30.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.7814, allocations: 7.359 kB / 0.6241 GB, free: 30.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.95e-06/0.7814, allocations: 3.953 kB / 0.6241 GB, free: 30.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.7815, allocations: 25.05 kB / 0.6242 GB, free: 30.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.7816, allocations: 2.719 kB / 0.6242 GB, free: 30.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002618/0.7818, allocations: 34.06 kB / 0.6242 GB, free: 30.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.7819, allocations: 2.75 kB / 0.6242 GB, free: 30.88 MB / 0.4981 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.0001922/0.7821, allocations: 220.6 kB / 0.6244 GB, free: 30.67 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.682e-05/0.7821, allocations: 36.31 kB / 0.6244 GB, free: 30.65 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006289/0.7828, allocations: 242.3 kB / 0.6247 GB, free: 30.55 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.7828, allocations: 3.062 kB / 0.6247 GB, free: 30.55 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.7828, allocations: 0 / 0.6247 GB, free: 30.55 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.7828, allocations: 3.938 kB / 0.6247 GB, free: 30.54 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.7839, allocations: 0.6479 MB / 0.6253 GB, free: 30.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.7839, allocations: 0 / 0.6253 GB, free: 30.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.7841, allocations: 38.48 kB / 0.6254 GB, free: 30.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.7841, allocations: 0 / 0.6254 GB, free: 30.09 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.7841, allocations: 2.781 kB / 0.6254 GB, free: 30.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.67e-06/0.7841, allocations: 6.297 kB / 0.6254 GB, free: 30.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.7842, allocations: 0.5469 kB / 0.6254 GB, free: 30.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005075/0.7847, allocations: 318.7 kB / 0.6257 GB, free: 29.87 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.7848, allocations: 138.1 kB / 0.6258 GB, free: 29.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.305e-05/0.7849, allocations: 10.28 kB / 0.6258 GB, free: 29.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003058/0.7852, allocations: 22.8 kB / 0.6258 GB, free: 29.73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.292e-05/0.7853, allocations: 10.67 kB / 0.6258 GB, free: 29.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.7853, allocations: 7.625 kB / 0.6258 GB, free: 29.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000315/0.7856, allocations: 243.2 kB / 0.6261 GB, free: 29.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7856, allocations: 0 / 0.6261 GB, free: 29.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009847/0.7866, allocations: 187 kB / 0.6263 GB, free: 29.56 MB / 0.4981 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.0007127/0.7873, allocations: 263.6 kB / 0.6265 GB, free: 29.42 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006322/0.788, allocations: 196.4 kB / 0.6267 GB, free: 29.38 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.788, allocations: 0 / 0.6267 GB, free: 29.38 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002362/0.7882, allocations: 94.22 kB / 0.6268 GB, free: 29.35 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.7894, allocations: 145.1 kB / 0.6269 GB, free: 29.31 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.7905, allocations: 0.7036 MB / 0.6276 GB, free: 28.85 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.7908, allocations: 0.7922 MB / 0.6284 GB, free: 28.15 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.098e-05/0.7909, allocations: 27.94 kB / 0.6284 GB, free: 28.14 MB / 0.4981 GB Notification: Performance of SimCode: time 4.51e-07/0.7909, allocations: 2.844 kB / 0.6284 GB, free: 28.14 MB / 0.4981 GB Notification: Performance of Templates: time 0.01056/0.8015, allocations: 5.781 MB / 0.6341 GB, free: 27.55 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameterCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameterCalcHelperMain.o] Error 1