Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") translateModel(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 100.1 kB / 15.88 MB, free: 12 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.00162/0.00162, allocations: 197.3 kB / 16.79 MB, free: 6.863 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.824/1.824, allocations: 222.9 MB / 240.5 MB, free: 4.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002612/0.002612, allocations: 291 kB / 290.9 MB, free: 2.055 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.27/1.27, allocations: 169.2 MB / 0.4984 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 94.94 kB / 0.5952 GB, free: 28.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.1967, allocations: 86.99 MB / 0.6801 GB, free: 1.152 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.00322/0.1999, allocations: 1.678 MB / 0.6817 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001859/0.2018, allocations: 1.467 MB / 0.6832 GB, free: 14 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.716e-05/0.2019, allocations: 4 kB / 0.6832 GB, free: 14 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003684/0.2023, allocations: 47.83 kB / 0.6832 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001344/0.2024, allocations: 43.83 kB / 0.6833 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002287/0.2026, allocations: 95.17 kB / 0.6834 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002012/0.2029, allocations: 159.6 kB / 0.6835 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.203, allocations: 10.06 kB / 0.6835 GB, free: 13.65 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.224e-05/0.2031, allocations: 59.77 kB / 0.6836 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001622/0.2033, allocations: 63.75 kB / 0.6836 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.2033, allocations: 4 kB / 0.6836 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.2034, allocations: 62.73 kB / 0.6837 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.078e-05/0.2035, allocations: 39.84 kB / 0.6837 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.943e-05/0.2036, allocations: 59.59 kB / 0.6838 GB, free: 13.37 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.2038, allocations: 151.9 kB / 0.6839 GB, free: 13.22 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2038, allocations: 0 / 0.6839 GB, free: 13.22 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.2038, allocations: 0 / 0.6839 GB, free: 13.22 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.2038, allocations: 0 / 0.6839 GB, free: 13.22 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005645/0.2044, allocations: 459.5 kB / 0.6844 GB, free: 12.72 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.2044, allocations: 9.75 kB / 0.6844 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.526e-05/0.2045, allocations: 16.75 kB / 0.6844 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003111/0.2048, allocations: 255.9 kB / 0.6846 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.2048, allocations: 4.375 kB / 0.6846 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.2049, allocations: 16.92 kB / 0.6847 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002224/0.2051, allocations: 111.9 kB / 0.6848 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.2051, allocations: 0.5312 kB / 0.6848 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.2051, allocations: 9.062 kB / 0.6848 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.2051, allocations: 0 / 0.6848 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002307/0.2054, allocations: 139.9 kB / 0.6849 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002345/0.2056, allocations: 238.4 kB / 0.6851 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004466/0.2061, allocations: 178.5 kB / 0.6853 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.2062, allocations: 56.78 kB / 0.6854 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/0.2062, allocations: 4 kB / 0.6854 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002271/0.2064, allocations: 111.3 kB / 0.6855 GB, free: 11.48 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.2065, allocations: 0 / 0.6855 GB, free: 11.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004802/0.2069, allocations: 233.4 kB / 0.6857 GB, free: 11.24 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/0.207, allocations: 77.11 kB / 0.6858 GB, free: 11.15 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.2072, allocations: 206.9 kB / 0.686 GB, free: 10.93 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.2072, allocations: 29.7 kB / 0.686 GB, free: 10.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.185e-05/0.2073, allocations: 112.1 kB / 0.6861 GB, free: 10.79 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.655e-05/0.2074, allocations: 39.45 kB / 0.6861 GB, free: 10.75 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.314e-05/0.2074, allocations: 33.7 kB / 0.6862 GB, free: 10.71 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.2075, allocations: 326.8 kB / 0.6865 GB, free: 10.38 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.77e-05/0.2076, allocations: 51.97 kB / 0.6865 GB, free: 10.33 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.2077, allocations: 76.66 kB / 0.6866 GB, free: 10.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002665/0.208, allocations: 125 kB / 0.6867 GB, free: 10.12 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.208, allocations: 0 / 0.6867 GB, free: 10.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003196/0.2084, allocations: 189.4 kB / 0.6869 GB, free: 9.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.2084, allocations: 12.06 kB / 0.6869 GB, free: 9.918 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.2084, allocations: 7.969 kB / 0.6869 GB, free: 9.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.2084, allocations: 0 / 0.6869 GB, free: 9.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.2085, allocations: 31.94 kB / 0.687 GB, free: 9.879 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.832e-06/0.2085, allocations: 3.984 kB / 0.687 GB, free: 9.875 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.354e-05/0.2086, allocations: 11.84 kB / 0.687 GB, free: 9.863 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.2086, allocations: 4 kB / 0.687 GB, free: 9.859 MB / 494.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: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001095/0.2087, allocations: 143 kB / 0.6871 GB, free: 9.711 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.615e-05/0.2088, allocations: 15.81 kB / 0.6871 GB, free: 9.695 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.742e-05/0.2088, allocations: 33.52 kB / 0.6872 GB, free: 9.664 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2088, allocations: 0 / 0.6872 GB, free: 9.664 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.2089, allocations: 4 kB / 0.6872 GB, free: 9.66 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2089, allocations: 0 / 0.6872 GB, free: 9.66 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001897/0.2091, allocations: 241.3 kB / 0.6874 GB, free: 9.375 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2091, allocations: 0 / 0.6874 GB, free: 9.375 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.051e-05/0.2091, allocations: 19.98 kB / 0.6874 GB, free: 9.355 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.2091, allocations: 4 kB / 0.6874 GB, free: 9.352 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.2092, allocations: 7.984 kB / 0.6874 GB, free: 9.344 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2092, allocations: 0 / 0.6874 GB, free: 9.344 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2092, allocations: 4 kB / 0.6874 GB, free: 9.34 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003289/0.2095, allocations: 208.8 kB / 0.6876 GB, free: 9.117 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.844e-05/0.2096, allocations: 96.84 kB / 0.6877 GB, free: 9.004 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.5e-05/0.2096, allocations: 8 kB / 0.6877 GB, free: 8.996 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.734e-05/0.2097, allocations: 0 / 0.6877 GB, free: 8.996 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.311e-05/0.2097, allocations: 19.92 kB / 0.6877 GB, free: 8.977 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.2097, allocations: 4 kB / 0.6877 GB, free: 8.973 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001296/0.2099, allocations: 160.2 kB / 0.6879 GB, free: 8.816 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2099, allocations: 3.938 kB / 0.6879 GB, free: 8.812 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002442/0.2101, allocations: 28 kB / 0.6879 GB, free: 8.785 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00113/0.2113, allocations: 464.7 kB / 0.6884 GB, free: 8.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002597/0.2115, allocations: 123.9 kB / 0.6885 GB, free: 8.379 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2115, allocations: 0 / 0.6885 GB, free: 8.379 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.2117, allocations: 63.91 kB / 0.6886 GB, free: 8.316 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.212, allocations: 27.92 kB / 0.6886 GB, free: 8.289 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005717/0.2125, allocations: 362.5 kB / 0.6889 GB, free: 7.898 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.2128, allocations: 0.7166 MB / 0.6896 GB, free: 7.156 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.558e-05/0.2129, allocations: 27.42 kB / 0.6897 GB, free: 7.129 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2129, allocations: 8 kB / 0.6897 GB, free: 7.121 MB / 494.1 MB Notification: Performance of Templates: time 0.004688/0.2176, allocations: 2.784 MB / 0.6924 GB, free: 4.371 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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.Validation.PlugFlowPipes.Data.TestDataCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestDataCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestDataCalcHelperMain.o] Error 1