Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.0008929/0.0008931, allocations: 103 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.00103/0.00103, allocations: 172.9 kB / 16.58 MB, free: 6.078 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.461/1.461, allocations: 223.2 MB / 240.6 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.48/2.48, allocations: 390.5 MB / 0.6662 GB, free: 2.797 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003763/0.0003763, allocations: 12 kB / 0.8154 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8591/0.8595, allocations: 142.3 MB / 0.9544 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01359/0.8731, allocations: 13.76 MB / 0.9679 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.005687/0.8789, allocations: 3.628 MB / 0.9714 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005473/0.8795, allocations: 27.22 kB / 0.9714 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005567/0.88, allocations: 131.2 kB / 0.9715 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001694/0.8817, allocations: 0.5557 MB / 0.9721 GB, free: 9.629 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001322/0.8831, allocations: 405.6 kB / 0.9725 GB, free: 9.371 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001931/0.885, allocations: 1.194 MB / 0.9736 GB, free: 8.668 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004605/0.8855, allocations: 227.1 kB / 0.9739 GB, free: 8.523 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007992/0.8863, allocations: 359.2 kB / 0.9742 GB, free: 8.332 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003525/0.8867, allocations: 241.8 kB / 0.9744 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.147e-05/0.8867, allocations: 11.59 kB / 0.9744 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001471/0.8882, allocations: 0.6324 MB / 0.9751 GB, free: 7.84 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.8883, allocations: 67 kB / 0.9751 GB, free: 7.789 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.8884, allocations: 88.92 kB / 0.9752 GB, free: 7.73 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007644/0.8892, allocations: 487.4 kB / 0.9757 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.8892, allocations: 0 / 0.9757 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.517e-06/0.8892, allocations: 0 / 0.9757 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.8893, allocations: 5.281 kB / 0.9757 GB, free: 7.457 MB / 0.7325 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.001124/0.8904, allocations: 0.6905 MB / 0.9764 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.8904, allocations: 9.375 kB / 0.9764 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.962e-05/0.8905, allocations: 48.33 kB / 0.9764 GB, free: 6.809 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009003/0.8914, allocations: 476.4 kB / 0.9769 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.813e-05/0.8915, allocations: 16.23 kB / 0.9769 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.656e-05/0.8915, allocations: 20.97 kB / 0.9769 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004723/0.892, allocations: 182.5 kB / 0.9771 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.892, allocations: 0 / 0.9771 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.805e-05/0.8921, allocations: 5.062 kB / 0.9771 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.8921, allocations: 8.781 kB / 0.9771 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004028/0.8925, allocations: 157.7 kB / 0.9772 GB, free: 6.207 MB / 0.7325 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.001674/0.8942, allocations: 0.8642 MB / 0.9781 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003085/0.8945, allocations: 125.4 kB / 0.9782 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.8947, allocations: 73.78 kB / 0.9783 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004261/0.8951, allocations: 336.3 kB / 0.9786 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.24e-05/0.8952, allocations: 47.34 kB / 0.9786 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=12): time 1.573e-06/0.8952, allocations: 0 / 0.9786 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12): time 0.000774/0.896, allocations: 230.7 kB / 0.9789 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.857e-05/0.8961, allocations: 53.62 kB / 0.9789 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004993/0.8966, allocations: 344.2 kB / 0.9792 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.423e-05/0.8966, allocations: 26.73 kB / 0.9793 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/0.8968, allocations: 198.7 kB / 0.9794 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.62e-05/0.8969, allocations: 41.34 kB / 0.9795 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.977e-06/0.8969, allocations: 4 kB / 0.9795 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001875/0.8971, allocations: 338.9 kB / 0.9798 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.8972, allocations: 56.02 kB / 0.9799 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/0.8974, allocations: 86.34 kB / 0.9799 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.8976, allocations: 64.12 kB / 0.98 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.8976, allocations: 0 / 0.98 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000418/0.898, allocations: 177.3 kB / 0.9802 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001236/0.8982, allocations: 107.9 kB / 0.9803 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.8982, allocations: 3.984 kB / 0.9803 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.8982, allocations: 1.844 kB / 0.9803 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.8984, allocations: 29.23 kB / 0.9803 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.8984, allocations: 1.5 kB / 0.9803 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000278/0.8987, allocations: 36.09 kB / 0.9804 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-05/0.8987, allocations: 7.812 kB / 0.9804 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.8988, allocations: 4.969 kB / 0.9804 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003096/0.8991, allocations: 125.5 kB / 0.9805 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.274e-06/0.8991, allocations: 1.344 kB / 0.9805 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-06/0.8991, allocations: 0 / 0.9805 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.8992, allocations: 26.36 kB / 0.9805 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.8992, allocations: 1.469 kB / 0.9805 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.8994, allocations: 47.05 kB / 0.9806 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.8994, allocations: 3.469 kB / 0.9806 GB, free: 3.43 MB / 0.7325 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.0002059/0.8997, allocations: 222.2 kB / 0.9808 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.504e-05/0.8997, allocations: 35.94 kB / 0.9808 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006689/0.9004, allocations: 239.7 kB / 0.981 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.9004, allocations: 1.188 kB / 0.981 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.9004, allocations: 1.25 kB / 0.981 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/0.9005, allocations: 7.938 kB / 0.981 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001317/0.9018, allocations: 0.6386 MB / 0.9817 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.9018, allocations: 1.062 kB / 0.9817 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.9019, allocations: 29.55 kB / 0.9817 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/0.902, allocations: 2.781 kB / 0.9817 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/0.902, allocations: 6.047 kB / 0.9817 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.902, allocations: 5.625 kB / 0.9817 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.902, allocations: 5.375 kB / 0.9817 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005657/0.9026, allocations: 319.3 kB / 0.982 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001664/0.9028, allocations: 136.6 kB / 0.9822 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.596e-05/0.9028, allocations: 5.094 kB / 0.9822 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.903, allocations: 26.3 kB / 0.9822 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.863e-05/0.9031, allocations: 14.33 kB / 0.9822 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.9031, allocations: 8.719 kB / 0.9822 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003556/0.9035, allocations: 244.5 kB / 0.9824 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.105e-06/0.9035, allocations: 0 / 0.9824 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008804/0.9044, allocations: 191.9 kB / 0.9826 GB, free: 1.879 MB / 0.7325 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.0007746/0.9052, allocations: 252.9 kB / 0.9829 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006303/0.9058, allocations: 204.2 kB / 0.9831 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.9058, allocations: 1.062 kB / 0.9831 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000204/0.9061, allocations: 83.98 kB / 0.9831 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008893/0.907, allocations: 143.8 kB / 0.9833 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.9081, allocations: 0.7167 MB / 0.984 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003992/0.9085, allocations: 0.7928 MB / 0.9847 GB, free: 236 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.571e-05/0.9086, allocations: 36.17 kB / 0.9848 GB, free: 224 kB / 0.7325 GB Notification: Performance of SimCode: time 2.8e-07/0.9086, allocations: 0 / 0.9848 GB, free: 224 kB / 0.7325 GB Notification: Performance of Templates: time 0.01003/0.9186, allocations: 5.718 MB / 0.9904 GB, free: 10.73 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile make -j1 -f Buildings_9_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_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameterCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameterCalcHelperMain.o] Error 1