Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0008743/0.0008741, allocations: 91.92 kB / 16.02 MB, free: 80 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.001046/0.001046, allocations: 185.1 kB / 16.92 MB, free: 6.922 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.419/1.419, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001668/0.001668, allocations: 263.2 kB / 292.3 MB, free: 1.801 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9442/0.9442, allocations: 169.5 MB / 0.501 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006388/0.0006389, allocations: 17.19 kB / 0.5993 GB, free: 28.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1893, allocations: 88.54 MB / 0.6858 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01522/0.2046, allocations: 14.48 MB / 0.6999 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005354/0.21, allocations: 3.872 MB / 0.7037 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004715/0.2105, allocations: 15.94 kB / 0.7037 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005116/0.211, allocations: 155.1 kB / 0.7038 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.2125, allocations: 0.6106 MB / 0.7044 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.2136, allocations: 425.3 kB / 0.7049 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001551/0.2152, allocations: 1.372 MB / 0.7062 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003638/0.2156, allocations: 236.9 kB / 0.7064 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005848/0.2162, allocations: 366.4 kB / 0.7068 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002907/0.2165, allocations: 270.6 kB / 0.707 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.569e-05/0.2165, allocations: 15.98 kB / 0.707 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001068/0.2176, allocations: 0.6861 MB / 0.7077 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.833e-05/0.2177, allocations: 71.67 kB / 0.7078 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000167/0.2179, allocations: 196.7 kB / 0.708 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005831/0.2185, allocations: 0.5027 MB / 0.7085 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.2185, allocations: 0 / 0.7085 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2185, allocations: 0 / 0.7085 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.2185, allocations: 4 kB / 0.7085 GB, free: 7.789 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.0009318/0.2194, allocations: 0.6776 MB / 0.7091 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.2195, allocations: 11.97 kB / 0.7091 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.982e-05/0.2196, allocations: 44.47 kB / 0.7092 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007817/0.2203, allocations: 0.4939 MB / 0.7097 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.2204, allocations: 16.31 kB / 0.7097 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.264e-05/0.2204, allocations: 16 kB / 0.7097 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003479/0.2208, allocations: 192.8 kB / 0.7099 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.2208, allocations: 0 / 0.7099 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.2208, allocations: 4 kB / 0.7099 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.2208, allocations: 4 kB / 0.7099 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003243/0.2211, allocations: 152.2 kB / 0.71 GB, free: 6.094 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.001008/0.2222, allocations: 0.8644 MB / 0.7109 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002492/0.2224, allocations: 122.6 kB / 0.711 GB, free: 5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.2226, allocations: 76.81 kB / 0.7111 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002985/0.2229, allocations: 340.4 kB / 0.7114 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.2229, allocations: 30.56 kB / 0.7114 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/0.2229, allocations: 3.938 kB / 0.7114 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0005488/0.2235, allocations: 248.9 kB / 0.7117 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.2235, allocations: 51.41 kB / 0.7117 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000332/0.2239, allocations: 345.7 kB / 0.712 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.2239, allocations: 29.7 kB / 0.7121 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.224, allocations: 192.3 kB / 0.7122 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.742e-05/0.2241, allocations: 39.45 kB / 0.7123 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/0.2241, allocations: 17.72 kB / 0.7123 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.2242, allocations: 342.8 kB / 0.7126 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.2244, allocations: 51.95 kB / 0.7127 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.2245, allocations: 96.19 kB / 0.7128 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002681/0.2248, allocations: 129.6 kB / 0.7129 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2248, allocations: 4 kB / 0.7129 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003766/0.2252, allocations: 189.1 kB / 0.7131 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.983e-05/0.2253, allocations: 109.8 kB / 0.7132 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.2253, allocations: 0 / 0.7132 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.2253, allocations: 3.938 kB / 0.7132 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.2255, allocations: 27.98 kB / 0.7132 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.2255, allocations: 3.938 kB / 0.7132 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.2257, allocations: 35.91 kB / 0.7132 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.88e-05/0.2257, allocations: 4 kB / 0.7133 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.294e-06/0.2257, allocations: 4 kB / 0.7133 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002882/0.226, allocations: 119.9 kB / 0.7134 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-06/0.226, allocations: 4 kB / 0.7134 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.278e-06/0.2261, allocations: 4 kB / 0.7134 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.2262, allocations: 31.98 kB / 0.7134 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.2262, allocations: 7.938 kB / 0.7134 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.2264, allocations: 27.88 kB / 0.7134 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.2264, allocations: 8 kB / 0.7134 GB, free: 2.297 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001469/0.2266, allocations: 221.8 kB / 0.7137 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.303e-05/0.2266, allocations: 31.62 kB / 0.7137 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004778/0.2271, allocations: 247 kB / 0.7139 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.2271, allocations: 11.92 kB / 0.7139 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2271, allocations: 0 / 0.7139 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2271, allocations: 0 / 0.7139 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008614/0.228, allocations: 0.6488 MB / 0.7146 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.228, allocations: 0 / 0.7146 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.2281, allocations: 31.92 kB / 0.7146 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2281, allocations: 0 / 0.7146 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.2282, allocations: 8 kB / 0.7146 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.2282, allocations: 0 / 0.7146 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2282, allocations: 0 / 0.7146 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004152/0.2286, allocations: 329.6 kB / 0.7149 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.2287, allocations: 136.5 kB / 0.7151 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.006e-05/0.2288, allocations: 7.938 kB / 0.7151 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/0.229, allocations: 23.97 kB / 0.7151 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.34e-05/0.229, allocations: 11.98 kB / 0.7151 GB, free: 500 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.2291, allocations: 4 kB / 0.7151 GB, free: 496 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002336/0.2293, allocations: 251.2 kB / 0.7153 GB, free: 248 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2293, allocations: 0 / 0.7153 GB, free: 248 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005693/0.2299, allocations: 187.6 kB / 0.7155 GB, free: 60 kB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005441/0.2304, allocations: 247.5 kB / 0.7158 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005031/0.2309, allocations: 199.8 kB / 0.7159 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.231, allocations: 0 / 0.7159 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001747/0.2311, allocations: 88.27 kB / 0.716 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008626/0.232, allocations: 152.4 kB / 0.7162 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009153/0.2329, allocations: 0.7182 MB / 0.7169 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.2333, allocations: 0.792 MB / 0.7176 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.031e-05/0.2334, allocations: 43.42 kB / 0.7177 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.2334, allocations: 0 / 0.7177 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of Templates: time 0.009416/0.2428, allocations: 5.697 MB / 0.7233 GB, free: 8.133 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameterCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameterCalcHelperMain.o] Error 1