Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow|res.m_flow_turbulent|resLarPip.m_flow_nominal|resLarPip.m_flow|resLarPip.m_flow_turbulent|res.v|resLarPip.v|res.dh|resLarPip.dh",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow|res.m_flow_turbulent|resLarPip.m_flow_nominal|resLarPip.m_flow|resLarPip.m_flow_turbulent|res.v|resLarPip.v|res.dh|resLarPip.dh",fileNamePrefix="Buildings_latest_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.0008871/0.0008871, allocations: 102.6 kB / 15.71 MB, free: 460 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.001009/0.001008, allocations: 176.6 kB / 16.58 MB, free: 6.402 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.496/1.496, allocations: 223.2 MB / 240.6 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.844/2.844, allocations: 436.7 MB / 0.7113 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003767/0.0003767, allocations: 8 kB / 0.8717 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8579/0.8583, allocations: 153.7 MB / 1.022 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01484/0.8732, allocations: 13.79 MB / 1.035 GB, free: 3.258 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005906/0.8791, allocations: 3.62 MB / 1.039 GB, free: 15.63 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005024/0.8797, allocations: 19.88 kB / 1.039 GB, free: 15.61 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0005689/0.8802, allocations: 135.1 kB / 1.039 GB, free: 15.48 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001555/0.8818, allocations: 0.5551 MB / 1.039 GB, free: 14.92 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.8831, allocations: 404.3 kB / 1.04 GB, free: 14.53 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001752/0.8848, allocations: 1.188 MB / 1.041 GB, free: 13.34 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004329/0.8853, allocations: 228.6 kB / 1.041 GB, free: 13.12 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008504/0.8861, allocations: 350.4 kB / 1.042 GB, free: 12.77 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003634/0.8865, allocations: 242.8 kB / 1.042 GB, free: 12.54 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.136e-05/0.8866, allocations: 12 kB / 1.042 GB, free: 12.52 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001599/0.8882, allocations: 0.6432 MB / 1.042 GB, free: 11.88 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.8883, allocations: 59.69 kB / 1.042 GB, free: 11.82 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.8884, allocations: 89.52 kB / 1.043 GB, free: 11.73 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0007946/0.8892, allocations: 490.9 kB / 1.043 GB, free: 11.25 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.8892, allocations: 0 / 1.043 GB, free: 11.25 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.204e-06/0.8892, allocations: 0 / 1.043 GB, free: 11.25 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.241e-06/0.8893, allocations: 4 kB / 1.043 GB, free: 11.24 MB / 0.795 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.001314/0.8906, allocations: 0.689 MB / 1.044 GB, free: 10.5 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 6.624e-05/0.8907, allocations: 15.92 kB / 1.044 GB, free: 10.48 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.8908, allocations: 43.53 kB / 1.044 GB, free: 10.44 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.8919, allocations: 485 kB / 1.044 GB, free: 9.926 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.593e-05/0.8919, allocations: 16.33 kB / 1.044 GB, free: 9.91 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.247e-05/0.892, allocations: 16 kB / 1.044 GB, free: 9.895 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004383/0.8924, allocations: 184.2 kB / 1.044 GB, free: 9.711 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.8924, allocations: 0 / 1.044 GB, free: 9.711 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.629e-05/0.8925, allocations: 12 kB / 1.044 GB, free: 9.699 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.8925, allocations: 4 kB / 1.044 GB, free: 9.695 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003455/0.8928, allocations: 152.1 kB / 1.045 GB, free: 9.547 MB / 0.795 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.001327/0.8942, allocations: 0.8684 MB / 1.045 GB, free: 8.578 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002913/0.8945, allocations: 130.6 kB / 1.046 GB, free: 8.441 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.8946, allocations: 72.81 kB / 1.046 GB, free: 8.367 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000467/0.8951, allocations: 344.3 kB / 1.046 GB, free: 7.957 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.8952, allocations: 34.56 kB / 1.046 GB, free: 7.914 MB / 0.795 GB Notification: Performance of pre-optimization done (n=12): time 2.364e-06/0.8952, allocations: 0 / 1.046 GB, free: 7.914 MB / 0.795 GB Notification: Performance of matching and sorting (n=12): time 0.0005861/0.8958, allocations: 229.2 kB / 1.046 GB, free: 7.684 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.8958, allocations: 51.41 kB / 1.046 GB, free: 7.621 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003641/0.8962, allocations: 345.7 kB / 1.047 GB, free: 7.277 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.8962, allocations: 25.7 kB / 1.047 GB, free: 7.246 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/0.8964, allocations: 196.3 kB / 1.047 GB, free: 7.051 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.756e-05/0.8965, allocations: 39.39 kB / 1.047 GB, free: 7.012 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.468e-06/0.8965, allocations: 4 kB / 1.047 GB, free: 7.008 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.8967, allocations: 342.8 kB / 1.047 GB, free: 6.664 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.8968, allocations: 55.95 kB / 1.047 GB, free: 6.609 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.897, allocations: 92.19 kB / 1.047 GB, free: 6.504 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.8971, allocations: 55.97 kB / 1.047 GB, free: 6.449 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.8971, allocations: 0 / 1.047 GB, free: 6.449 MB / 0.795 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003775/0.8975, allocations: 185.1 kB / 1.047 GB, free: 6.262 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 7.794e-05/0.8976, allocations: 105.8 kB / 1.048 GB, free: 6.148 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.8976, allocations: 0 / 1.048 GB, free: 6.148 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.8977, allocations: 3.984 kB / 1.048 GB, free: 6.145 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.8978, allocations: 39.98 kB / 1.048 GB, free: 6.105 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.8978, allocations: 0 / 1.048 GB, free: 6.105 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002164/0.8981, allocations: 31.91 kB / 1.048 GB, free: 6.074 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.896e-05/0.8981, allocations: 7.953 kB / 1.048 GB, free: 6.066 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.452e-06/0.8981, allocations: 4 kB / 1.048 GB, free: 6.062 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002664/0.8984, allocations: 127.9 kB / 1.048 GB, free: 5.938 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-06/0.8984, allocations: 0 / 1.048 GB, free: 5.938 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-06/0.8984, allocations: 0 / 1.048 GB, free: 5.938 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.8985, allocations: 23.98 kB / 1.048 GB, free: 5.914 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.8985, allocations: 7.938 kB / 1.048 GB, free: 5.906 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000182/0.8987, allocations: 35.88 kB / 1.048 GB, free: 5.871 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.8987, allocations: 4 kB / 1.048 GB, free: 5.867 MB / 0.795 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.0001882/0.8989, allocations: 217.1 kB / 1.048 GB, free: 5.645 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.998e-05/0.899, allocations: 35.58 kB / 1.048 GB, free: 5.609 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004978/0.8995, allocations: 247.5 kB / 1.048 GB, free: 5.363 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.8995, allocations: 0 / 1.048 GB, free: 5.363 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.8995, allocations: 0 / 1.048 GB, free: 5.363 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.8995, allocations: 7.922 kB / 1.048 GB, free: 5.355 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009285/0.9005, allocations: 0.6412 MB / 1.049 GB, free: 4.648 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.9005, allocations: 0 / 1.049 GB, free: 4.648 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.9006, allocations: 31.92 kB / 1.049 GB, free: 4.617 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.9006, allocations: 4 kB / 1.049 GB, free: 4.613 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.9006, allocations: 0 / 1.049 GB, free: 4.613 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.9006, allocations: 8.094 kB / 1.049 GB, free: 4.605 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.9006, allocations: 0 / 1.049 GB, free: 4.605 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000429/0.9011, allocations: 338.4 kB / 1.049 GB, free: 4.25 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.9012, allocations: 132.6 kB / 1.049 GB, free: 4.102 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.169e-05/0.9013, allocations: 4 kB / 1.049 GB, free: 4.098 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.9015, allocations: 27.91 kB / 1.05 GB, free: 4.07 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.9015, allocations: 11.98 kB / 1.05 GB, free: 4.059 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.9016, allocations: 8.094 kB / 1.05 GB, free: 4.051 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002479/0.9018, allocations: 247.1 kB / 1.05 GB, free: 3.812 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9018, allocations: 0 / 1.05 GB, free: 3.812 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006307/0.9024, allocations: 187.7 kB / 1.05 GB, free: 3.629 MB / 0.795 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.000616/0.9031, allocations: 250.7 kB / 1.05 GB, free: 3.383 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004977/0.9036, allocations: 199.8 kB / 1.05 GB, free: 3.188 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.9036, allocations: 0 / 1.05 GB, free: 3.188 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002183/0.9038, allocations: 83.89 kB / 1.05 GB, free: 3.105 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007949/0.9046, allocations: 155.2 kB / 1.051 GB, free: 2.957 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009653/0.9056, allocations: 0.7082 MB / 1.051 GB, free: 2.203 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.906, allocations: 0.7999 MB / 1.052 GB, free: 1.379 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.853e-05/0.906, allocations: 31.42 kB / 1.052 GB, free: 1.348 MB / 0.795 GB Notification: Performance of SimCode: time 5.31e-07/0.906, allocations: 0 / 1.052 GB, free: 1.348 MB / 0.795 GB Notification: Performance of Templates: time 0.01131/0.9174, allocations: 5.708 MB / 1.058 GB, free: 11.7 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile make -j1 -f Buildings_latest_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/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 OMCppBuildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameterCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameterCalcHelperMain.o] Error 1