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.0008659/0.0008655, allocations: 99.27 kB / 16.02 MB, free: 76 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.001249/0.001249, allocations: 183 kB / 16.92 MB, free: 6.918 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.792/1.792, allocations: 205.4 MB / 223.1 MB, free: 5.527 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.856/1.856, allocations: 292.7 MB / 0.5509 GB, free: 14.45 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.0005559/0.0005559, allocations: 20.12 kB / 0.675 GB, free: 25.81 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3106, allocations: 116.3 MB / 0.7885 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.0171/0.3278, allocations: 14.49 MB / 0.8027 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.006376/0.3343, allocations: 3.803 MB / 0.8064 GB, free: 9.238 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006172/0.3349, allocations: 23.88 kB / 0.8064 GB, free: 9.215 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006458/0.3356, allocations: 147.1 kB / 0.8066 GB, free: 9.07 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002242/0.3378, allocations: 0.6144 MB / 0.8072 GB, free: 8.453 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001621/0.3395, allocations: 427.4 kB / 0.8076 GB, free: 8.043 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002395/0.3419, allocations: 1.368 MB / 0.8089 GB, free: 6.672 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004287/0.3423, allocations: 240.8 kB / 0.8091 GB, free: 6.434 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000691/0.343, allocations: 378.3 kB / 0.8095 GB, free: 6.062 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003698/0.3434, allocations: 258.8 kB / 0.8097 GB, free: 5.809 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 3.478e-05/0.3434, allocations: 12 kB / 0.8097 GB, free: 5.797 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001344/0.3448, allocations: 0.6861 MB / 0.8104 GB, free: 5.109 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 9.471e-05/0.3449, allocations: 71.61 kB / 0.8105 GB, free: 5.039 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002176/0.3451, allocations: 200.7 kB / 0.8107 GB, free: 4.836 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0007118/0.3458, allocations: 499 kB / 0.8112 GB, free: 4.348 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.3459, allocations: 4 kB / 0.8112 GB, free: 4.344 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.565e-06/0.3459, allocations: 0 / 0.8112 GB, free: 4.344 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.3459, allocations: 0 / 0.8112 GB, free: 4.344 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.001205/0.3471, allocations: 0.6891 MB / 0.8118 GB, free: 3.602 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.3472, allocations: 8.031 kB / 0.8118 GB, free: 3.594 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.537e-05/0.3472, allocations: 48.38 kB / 0.8119 GB, free: 3.547 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009539/0.3482, allocations: 0.4976 MB / 0.8124 GB, free: 3.008 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.3482, allocations: 12.33 kB / 0.8124 GB, free: 2.996 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.734e-05/0.3483, allocations: 28 kB / 0.8124 GB, free: 2.969 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004245/0.3487, allocations: 184.2 kB / 0.8126 GB, free: 2.785 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.3487, allocations: 0 / 0.8126 GB, free: 2.785 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/0.3488, allocations: 4 kB / 0.8126 GB, free: 2.781 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.3488, allocations: 4 kB / 0.8126 GB, free: 2.777 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000373/0.3492, allocations: 156.1 kB / 0.8127 GB, free: 2.625 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.001406/0.3506, allocations: 0.8568 MB / 0.8136 GB, free: 1.668 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002635/0.3509, allocations: 122.6 kB / 0.8137 GB, free: 1.539 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/0.351, allocations: 84.8 kB / 0.8138 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003744/0.3514, allocations: 332.4 kB / 0.8141 GB, free: 1.055 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.3515, allocations: 38.44 kB / 0.8141 GB, free: 1.008 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=12): time 1.493e-06/0.3515, allocations: 0 / 0.8141 GB, free: 1.008 MB / 0.6231 GB Notification: Performance of matching and sorting (n=12): time 0.0006259/0.3521, allocations: 237.1 kB / 0.8144 GB, free: 0.7695 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.3522, allocations: 51.41 kB / 0.8144 GB, free: 0.707 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003653/0.3525, allocations: 345.7 kB / 0.8147 GB, free: 368 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.3526, allocations: 33.7 kB / 0.8148 GB, free: 328 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.3527, allocations: 192.3 kB / 0.8149 GB, free: 132 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.612e-05/0.3528, allocations: 39.36 kB / 0.815 GB, free: 92 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.127e-05/0.3528, allocations: 21.66 kB / 0.815 GB, free: 64 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.353, allocations: 342.8 kB / 0.8153 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.3532, allocations: 51.91 kB / 0.8154 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/0.3533, allocations: 96.23 kB / 0.8155 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002711/0.3536, allocations: 129.6 kB / 0.8156 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3536, allocations: 4 kB / 0.8156 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000378/0.354, allocations: 189.2 kB / 0.8158 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.628e-05/0.3541, allocations: 105.8 kB / 0.8159 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.3541, allocations: 11.98 kB / 0.8159 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.3541, allocations: 0 / 0.8159 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.3543, allocations: 23.98 kB / 0.8159 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.3543, allocations: 4 kB / 0.8159 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002351/0.3545, allocations: 39.81 kB / 0.816 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.232e-05/0.3546, allocations: 4 kB / 0.816 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.041e-06/0.3546, allocations: 4 kB / 0.816 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002942/0.3549, allocations: 119.9 kB / 0.8161 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.3549, allocations: 11.94 kB / 0.8161 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-06/0.3549, allocations: 0 / 0.8161 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.355, allocations: 27.92 kB / 0.8161 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-06/0.355, allocations: 0 / 0.8161 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.3552, allocations: 27.97 kB / 0.8161 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.3553, allocations: 8 kB / 0.8162 GB, free: 14.84 MB / 0.6387 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.0001888/0.3555, allocations: 221.8 kB / 0.8164 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.127e-05/0.3555, allocations: 35.53 kB / 0.8164 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00053/0.3561, allocations: 251.1 kB / 0.8166 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.3561, allocations: 3.984 kB / 0.8166 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.3561, allocations: 0 / 0.8166 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3561, allocations: 0 / 0.8166 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008937/0.357, allocations: 0.6489 MB / 0.8173 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.357, allocations: 0 / 0.8173 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.3571, allocations: 27.98 kB / 0.8173 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.3571, allocations: 0 / 0.8173 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.3572, allocations: 8 kB / 0.8173 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.3572, allocations: 0 / 0.8173 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3572, allocations: 192 / 0.8173 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000455/0.3576, allocations: 337.5 kB / 0.8176 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.3578, allocations: 132.6 kB / 0.8178 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.3578, allocations: 4 kB / 0.8178 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002251/0.358, allocations: 23.97 kB / 0.8178 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.644e-05/0.3581, allocations: 11.98 kB / 0.8178 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.3581, allocations: 8 kB / 0.8178 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000251/0.3584, allocations: 251.2 kB / 0.818 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.2e-07/0.3584, allocations: 0 / 0.818 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006333/0.359, allocations: 187.7 kB / 0.8182 GB, free: 12.59 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 (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.0005406/0.3596, allocations: 256.5 kB / 0.8185 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005232/0.3601, allocations: 203.8 kB / 0.8187 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.3601, allocations: 0 / 0.8187 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001861/0.3603, allocations: 95.77 kB / 0.8188 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008714/0.3612, allocations: 142.1 kB / 0.8189 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.3622, allocations: 0.7249 MB / 0.8196 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004163/0.3627, allocations: 0.7843 MB / 0.8204 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.012e-05/0.3628, allocations: 39.42 kB / 0.8204 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of SimCode: time 6.21e-07/0.3628, allocations: 4 kB / 0.8204 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of Templates: time 0.009881/0.3726, allocations: 5.7 MB / 0.826 GB, free: 4.652 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++ -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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/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