Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.0007486/0.0007483, allocations: 91.77 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.001026/0.001027, allocations: 177.6 kB / 16.92 MB, free: 6.652 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.308/1.308, allocations: 223.2 MB / 240.9 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7425/0.7425, allocations: 132.3 MB / 424.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003787/0.0003789, allocations: 11.98 kB / 0.5046 GB, free: 3.859 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4932/0.4936, allocations: 81.58 MB / 0.5843 GB, free: 4.266 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01586/0.5095, allocations: 14.49 MB / 0.5984 GB, free: 9.785 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006345/0.5159, allocations: 3.861 MB / 0.6022 GB, free: 7.062 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006238/0.5166, allocations: 20.28 kB / 0.6022 GB, free: 7.055 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006749/0.5173, allocations: 161 kB / 0.6024 GB, free: 6.957 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002041/0.5193, allocations: 0.6122 MB / 0.603 GB, free: 6.621 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001432/0.5207, allocations: 422.8 kB / 0.6034 GB, free: 6.418 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001878/0.5226, allocations: 1.376 MB / 0.6047 GB, free: 5.664 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004008/0.523, allocations: 237.9 kB / 0.6049 GB, free: 5.512 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006916/0.5237, allocations: 369.2 kB / 0.6053 GB, free: 5.312 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003438/0.5241, allocations: 263.4 kB / 0.6056 GB, free: 5.164 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.728e-05/0.5242, allocations: 11.38 kB / 0.6056 GB, free: 5.164 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001362/0.5255, allocations: 0.6977 MB / 0.6062 GB, free: 4.754 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.746e-05/0.5256, allocations: 63.97 kB / 0.6063 GB, free: 4.707 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000205/0.5258, allocations: 199.7 kB / 0.6065 GB, free: 4.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007055/0.5266, allocations: 0.4925 MB / 0.607 GB, free: 4.293 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.5266, allocations: 0 / 0.607 GB, free: 4.293 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5266, allocations: 0 / 0.607 GB, free: 4.293 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.5266, allocations: 4 kB / 0.607 GB, free: 4.289 MB / 446.1 MB 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.001085/0.5277, allocations: 0.6851 MB / 0.6076 GB, free: 3.672 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.5277, allocations: 8.906 kB / 0.6077 GB, free: 3.672 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.008e-05/0.5278, allocations: 45.62 kB / 0.6077 GB, free: 3.648 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008835/0.5287, allocations: 0.4968 MB / 0.6082 GB, free: 3.223 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.5288, allocations: 15.83 kB / 0.6082 GB, free: 3.215 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.597e-05/0.5288, allocations: 17.12 kB / 0.6082 GB, free: 3.211 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003959/0.5292, allocations: 187.6 kB / 0.6084 GB, free: 3.098 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.5292, allocations: 1.094 kB / 0.6084 GB, free: 3.098 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/0.5293, allocations: 5.094 kB / 0.6084 GB, free: 3.094 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.5293, allocations: 4.344 kB / 0.6084 GB, free: 3.094 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003645/0.5296, allocations: 155 kB / 0.6086 GB, free: 3.023 MB / 446.1 MB 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.001125/0.5308, allocations: 0.8692 MB / 0.6094 GB, free: 2.219 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002631/0.531, allocations: 120.7 kB / 0.6095 GB, free: 2.152 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/0.5312, allocations: 82.86 kB / 0.6096 GB, free: 2.109 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003356/0.5316, allocations: 339.3 kB / 0.6099 GB, free: 1.719 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.5316, allocations: 40.72 kB / 0.61 GB, free: 1.672 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/0.5316, allocations: 0 / 0.61 GB, free: 1.672 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005971/0.5322, allocations: 231.3 kB / 0.6102 GB, free: 1.559 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.5323, allocations: 52.38 kB / 0.6102 GB, free: 1.496 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003644/0.5326, allocations: 352.3 kB / 0.6106 GB, free: 1.273 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.5327, allocations: 27.11 kB / 0.6106 GB, free: 1.242 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.5328, allocations: 198.1 kB / 0.6108 GB, free: 1.062 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.28e-05/0.5329, allocations: 41.42 kB / 0.6108 GB, free: 1.027 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.997e-05/0.5329, allocations: 16.53 kB / 0.6108 GB, free: 1.008 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.5331, allocations: 345.8 kB / 0.6112 GB, free: 0.668 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.5332, allocations: 49.81 kB / 0.6112 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.5334, allocations: 99.64 kB / 0.6113 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002919/0.5337, allocations: 127.8 kB / 0.6114 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5337, allocations: 0 / 0.6114 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003872/0.5341, allocations: 191.5 kB / 0.6116 GB, free: 412 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.699e-05/0.5342, allocations: 109 kB / 0.6117 GB, free: 300 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.5342, allocations: 1.094 kB / 0.6117 GB, free: 300 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.5342, allocations: 1 kB / 0.6117 GB, free: 300 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.5344, allocations: 26.45 kB / 0.6117 GB, free: 296 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.5344, allocations: 1.312 kB / 0.6117 GB, free: 296 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002289/0.5346, allocations: 31.84 kB / 0.6118 GB, free: 280 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/0.5346, allocations: 7.375 kB / 0.6118 GB, free: 276 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.841e-06/0.5347, allocations: 4.156 kB / 0.6118 GB, free: 276 kB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003055/0.535, allocations: 125.8 kB / 0.6119 GB, free: 220 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-06/0.535, allocations: 1.438 kB / 0.6119 GB, free: 220 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.577e-06/0.535, allocations: 9 kB / 0.6119 GB, free: 212 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.5351, allocations: 29.11 kB / 0.6119 GB, free: 204 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.404e-06/0.5351, allocations: 1.344 kB / 0.6119 GB, free: 204 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.5353, allocations: 27.44 kB / 0.612 GB, free: 192 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.5353, allocations: 4.5 kB / 0.612 GB, free: 192 kB / 446.1 MB 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.000178/0.5355, allocations: 227.5 kB / 0.6122 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.611e-05/0.5356, allocations: 39.31 kB / 0.6122 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004931/0.5361, allocations: 233.2 kB / 0.6125 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.148e-06/0.5361, allocations: 5.125 kB / 0.6125 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.5361, allocations: 3.984 kB / 0.6125 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.5361, allocations: 1.219 kB / 0.6125 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008896/0.537, allocations: 0.6431 MB / 0.6131 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.5371, allocations: 1.219 kB / 0.6131 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.5372, allocations: 30.05 kB / 0.6131 GB, free: 15.26 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.5372, allocations: 1.156 kB / 0.6131 GB, free: 15.26 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.5372, allocations: 2.531 kB / 0.6131 GB, free: 15.26 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.5372, allocations: 1.344 kB / 0.6131 GB, free: 15.26 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.5372, allocations: 1.219 kB / 0.6131 GB, free: 15.26 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000467/0.5377, allocations: 337.1 kB / 0.6134 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.5378, allocations: 133.4 kB / 0.6136 GB, free: 14.87 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.321e-05/0.5379, allocations: 5.562 kB / 0.6136 GB, free: 14.87 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.5381, allocations: 22.28 kB / 0.6136 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.892e-05/0.5381, allocations: 13.77 kB / 0.6136 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.5382, allocations: 12.44 kB / 0.6136 GB, free: 14.84 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002535/0.5384, allocations: 248 kB / 0.6139 GB, free: 14.69 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5384, allocations: 0 / 0.6139 GB, free: 14.69 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006643/0.5391, allocations: 196.6 kB / 0.614 GB, free: 14.63 MB / 462.1 MB 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.0005525/0.5397, allocations: 240.3 kB / 0.6143 GB, free: 14.48 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005564/0.5402, allocations: 210.9 kB / 0.6145 GB, free: 14.39 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5402, allocations: 4.312 kB / 0.6145 GB, free: 14.39 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002052/0.5405, allocations: 84.86 kB / 0.6146 GB, free: 14.36 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009048/0.5414, allocations: 141.1 kB / 0.6147 GB, free: 14.29 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.5424, allocations: 0.72 MB / 0.6154 GB, free: 13.74 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.5428, allocations: 0.7928 MB / 0.6162 GB, free: 12.99 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.763e-05/0.5429, allocations: 35.77 kB / 0.6162 GB, free: 12.98 MB / 462.1 MB Notification: Performance of SimCode: time 3.51e-07/0.5429, allocations: 1.094 kB / 0.6162 GB, free: 12.98 MB / 462.1 MB Notification: Performance of Templates: time 0.009631/0.5525, allocations: 5.704 MB / 0.6218 GB, free: 9.625 MB / 462.1 MB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile make -j1 -f IDEAS_IDEAS.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 OMCppIDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameterCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameterCalcHelperMain.o] Error 1