Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001135/0.001135, allocations: 91.86 kB / 16.33 MB, free: 5.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 186.6 kB / 17.23 MB, free: 5.496 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.436/1.436, allocations: 223.2 MB / 241.2 MB, free: 328 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7826/0.7826, allocations: 114.3 MB / 406.7 MB, free: 8.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003938/0.0003938, allocations: 8 kB / 494.4 MB, free: 1.449 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4851/0.4855, allocations: 77.25 MB / 0.5583 GB, free: 36.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.0141/0.4996, allocations: 13.75 MB / 0.5717 GB, free: 27.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005814/0.5055, allocations: 3.63 MB / 0.5753 GB, free: 24.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005109/0.5061, allocations: 18.19 kB / 0.5753 GB, free: 24.47 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007037/0.5068, allocations: 132.5 kB / 0.5754 GB, free: 24.4 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001961/0.5087, allocations: 0.5643 MB / 0.576 GB, free: 24.1 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001631/0.5104, allocations: 402.4 kB / 0.5764 GB, free: 23.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002404/0.5128, allocations: 1.189 MB / 0.5775 GB, free: 23.45 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000573/0.5134, allocations: 224.7 kB / 0.5777 GB, free: 23.38 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008705/0.5143, allocations: 356.6 kB / 0.5781 GB, free: 23.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004493/0.5147, allocations: 247.3 kB / 0.5783 GB, free: 23.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.96e-05/0.5148, allocations: 11.91 kB / 0.5783 GB, free: 23.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001733/0.5165, allocations: 0.6364 MB / 0.5789 GB, free: 22.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.5166, allocations: 69.09 kB / 0.579 GB, free: 22.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.5168, allocations: 90.45 kB / 0.5791 GB, free: 22.85 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008878/0.5177, allocations: 483.8 kB / 0.5796 GB, free: 22.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.922e-06/0.5177, allocations: 1.375 kB / 0.5796 GB, free: 22.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5177, allocations: 1.094 kB / 0.5796 GB, free: 22.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.533e-06/0.5177, allocations: 0 / 0.5796 GB, free: 22.73 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.001105/0.5188, allocations: 0.691 MB / 0.5802 GB, free: 22.15 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.5189, allocations: 9.656 kB / 0.5802 GB, free: 22.15 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.408e-05/0.519, allocations: 41.69 kB / 0.5803 GB, free: 22.13 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009327/0.5199, allocations: 489 kB / 0.5807 GB, free: 21.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.5199, allocations: 17.14 kB / 0.5808 GB, free: 21.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/0.52, allocations: 16.44 kB / 0.5808 GB, free: 21.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004458/0.5204, allocations: 186.2 kB / 0.581 GB, free: 21.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.5205, allocations: 4.969 kB / 0.581 GB, free: 21.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.5205, allocations: 5.156 kB / 0.581 GB, free: 21.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/0.5205, allocations: 4.375 kB / 0.581 GB, free: 21.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003588/0.5209, allocations: 152.6 kB / 0.5811 GB, free: 21.66 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.001236/0.5221, allocations: 0.8631 MB / 0.582 GB, free: 20.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002852/0.5224, allocations: 127.2 kB / 0.5821 GB, free: 20.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001773/0.5226, allocations: 75.42 kB / 0.5821 GB, free: 20.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003169/0.5229, allocations: 335.8 kB / 0.5825 GB, free: 20.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.5229, allocations: 37.73 kB / 0.5825 GB, free: 20.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.372e-06/0.523, allocations: 3.938 kB / 0.5825 GB, free: 20.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005836/0.5235, allocations: 227.6 kB / 0.5827 GB, free: 20.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.5236, allocations: 52.53 kB / 0.5828 GB, free: 20.33 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004183/0.524, allocations: 346.1 kB / 0.5831 GB, free: 20.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.524, allocations: 27.08 kB / 0.5831 GB, free: 20.12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.5242, allocations: 196.9 kB / 0.5833 GB, free: 19.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.086e-05/0.5242, allocations: 40.77 kB / 0.5834 GB, free: 19.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.343e-06/0.5242, allocations: 4.719 kB / 0.5834 GB, free: 19.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.5244, allocations: 344.8 kB / 0.5837 GB, free: 19.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.5245, allocations: 52.48 kB / 0.5837 GB, free: 19.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001721/0.5247, allocations: 92.81 kB / 0.5838 GB, free: 19.53 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.5248, allocations: 56.52 kB / 0.5839 GB, free: 19.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.5248, allocations: 0 / 0.5839 GB, free: 19.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003646/0.5252, allocations: 188.4 kB / 0.5841 GB, free: 19.44 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.887e-05/0.5253, allocations: 109.7 kB / 0.5842 GB, free: 19.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.5253, allocations: 3.984 kB / 0.5842 GB, free: 19.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.5253, allocations: 2.156 kB / 0.5842 GB, free: 19.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.5255, allocations: 30.61 kB / 0.5842 GB, free: 19.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.5255, allocations: 0.9375 kB / 0.5842 GB, free: 19.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000224/0.5257, allocations: 35.98 kB / 0.5842 GB, free: 19.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.777e-05/0.5258, allocations: 18.38 kB / 0.5843 GB, free: 19.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.856e-06/0.5258, allocations: 3.688 kB / 0.5843 GB, free: 19.3 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002988/0.5261, allocations: 121.5 kB / 0.5844 GB, free: 19.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-06/0.5261, allocations: 0 / 0.5844 GB, free: 19.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.248e-06/0.5261, allocations: 6.188 kB / 0.5844 GB, free: 19.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.5262, allocations: 29.5 kB / 0.5844 GB, free: 19.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.5262, allocations: 1.094 kB / 0.5844 GB, free: 19.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001894/0.5264, allocations: 27.56 kB / 0.5844 GB, free: 19.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.5264, allocations: 8.875 kB / 0.5844 GB, free: 19.25 MB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001508/0.5266, allocations: 220.8 kB / 0.5847 GB, free: 19.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.152e-05/0.5267, allocations: 40.7 kB / 0.5847 GB, free: 19.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005126/0.5272, allocations: 231.9 kB / 0.5849 GB, free: 18.92 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.357e-06/0.5272, allocations: 2.312 kB / 0.5849 GB, free: 18.92 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.5272, allocations: 0 / 0.5849 GB, free: 18.92 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.5272, allocations: 1.938 kB / 0.5849 GB, free: 18.92 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009104/0.5281, allocations: 0.6437 MB / 0.5855 GB, free: 18.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.5282, allocations: 0 / 0.5855 GB, free: 18.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.5283, allocations: 41.52 kB / 0.5856 GB, free: 18.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.5283, allocations: 96 / 0.5856 GB, free: 18.46 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.5283, allocations: 8.078 kB / 0.5856 GB, free: 18.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.5283, allocations: 0 / 0.5856 GB, free: 18.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.5283, allocations: 4.656 kB / 0.5856 GB, free: 18.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004378/0.5288, allocations: 332.2 kB / 0.5859 GB, free: 18.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.5289, allocations: 128.6 kB / 0.586 GB, free: 18.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.322e-05/0.5289, allocations: 6.172 kB / 0.586 GB, free: 18.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/0.5291, allocations: 25.39 kB / 0.5861 GB, free: 18.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.585e-05/0.5292, allocations: 10.55 kB / 0.5861 GB, free: 18.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.5292, allocations: 13.61 kB / 0.5861 GB, free: 18.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002992/0.5295, allocations: 242 kB / 0.5863 GB, free: 17.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5295, allocations: 1.406 kB / 0.5863 GB, free: 17.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007172/0.5303, allocations: 183.4 kB / 0.5865 GB, free: 17.93 MB / 446.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 (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.0005682/0.5308, allocations: 240.9 kB / 0.5867 GB, free: 17.79 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005406/0.5314, allocations: 199.9 kB / 0.5869 GB, free: 17.74 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5314, allocations: 1.125 kB / 0.5869 GB, free: 17.74 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000191/0.5316, allocations: 92.17 kB / 0.587 GB, free: 17.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008165/0.5324, allocations: 155.9 kB / 0.5872 GB, free: 17.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.5335, allocations: 0.7102 MB / 0.5879 GB, free: 17.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.5338, allocations: 0.7958 MB / 0.5886 GB, free: 16.49 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.166e-05/0.5339, allocations: 29.39 kB / 0.5887 GB, free: 16.48 MB / 446.1 MB Notification: Performance of SimCode: time 4.41e-07/0.5339, allocations: 0 / 0.5887 GB, free: 16.48 MB / 446.1 MB Notification: Performance of Templates: time 0.01074/0.5446, allocations: 5.708 MB / 0.5942 GB, free: 14.11 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile make -j1 -f IBPSA_latest_IBPSA.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 OMCppIBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameterCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameterCalcHelperMain.o] Error 1