Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001683/0.001683, 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.002014/0.002014, allocations: 195.9 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.676/1.676, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002371/0.002371, allocations: 302.6 kB / 290.9 MB, free: 2.207 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.049/1.049, allocations: 169.2 MB / 0.4983 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 97.91 kB / 0.5951 GB, free: 28.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2346, allocations: 86.99 MB / 0.6801 GB, free: 1.184 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003456/0.2382, allocations: 1.693 MB / 0.6817 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001847/0.24, allocations: 1.14 MB / 0.6829 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.269e-05/0.2401, allocations: 0 / 0.6829 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002806/0.2404, allocations: 19.92 kB / 0.6829 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002447/0.2407, allocations: 59.75 kB / 0.6829 GB, free: 14.26 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000348/0.241, allocations: 122.7 kB / 0.6831 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002731/0.2413, allocations: 213.6 kB / 0.6833 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.2415, allocations: 24.11 kB / 0.6833 GB, free: 13.9 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.672e-05/0.2416, allocations: 71.77 kB / 0.6833 GB, free: 13.83 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002231/0.2418, allocations: 83.77 kB / 0.6834 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.433e-05/0.2418, allocations: 8 kB / 0.6834 GB, free: 13.74 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001446/0.242, allocations: 75.95 kB / 0.6835 GB, free: 13.67 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.2421, allocations: 71.75 kB / 0.6836 GB, free: 13.6 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.2422, allocations: 95.39 kB / 0.6837 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002526/0.2425, allocations: 195.7 kB / 0.6839 GB, free: 13.31 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.2425, allocations: 0 / 0.6839 GB, free: 13.31 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.31e-07/0.2425, allocations: 0 / 0.6839 GB, free: 13.31 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.2425, allocations: 0 / 0.6839 GB, free: 13.31 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0008344/0.2433, allocations: 0.5345 MB / 0.6844 GB, free: 12.73 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.2434, allocations: 8.031 kB / 0.6844 GB, free: 12.72 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.199e-05/0.2435, allocations: 32.56 kB / 0.6844 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002903/0.2438, allocations: 259.8 kB / 0.6847 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.2438, allocations: 12.38 kB / 0.6847 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.68e-05/0.2438, allocations: 12.38 kB / 0.6847 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003709/0.2442, allocations: 221.5 kB / 0.6849 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.2442, allocations: 0 / 0.6849 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.337e-05/0.2443, allocations: 4 kB / 0.6849 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.2443, allocations: 4 kB / 0.6849 GB, free: 12.13 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009467/0.2452, allocations: 0.7526 MB / 0.6856 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008287/0.2461, allocations: 0.5588 MB / 0.6862 GB, free: 10.77 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004872/0.2466, allocations: 307.6 kB / 0.6865 GB, free: 10.46 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001595/0.2467, allocations: 105.4 kB / 0.6866 GB, free: 10.35 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.65e-05/0.2468, allocations: 20.25 kB / 0.6866 GB, free: 10.33 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003541/0.2472, allocations: 169.5 kB / 0.6868 GB, free: 10.16 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 1.603e-06/0.2472, allocations: 4 kB / 0.6868 GB, free: 10.15 MB / 494.1 MB Notification: Performance of matching and sorting (n=34): time 0.0006764/0.2478, allocations: 369.1 kB / 0.6871 GB, free: 9.785 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.382e-05/0.2479, allocations: 132.5 kB / 0.6872 GB, free: 9.625 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/0.2482, allocations: 296.1 kB / 0.6875 GB, free: 9.324 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/0.2483, allocations: 41.7 kB / 0.6876 GB, free: 9.277 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.2484, allocations: 124.7 kB / 0.6877 GB, free: 9.152 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.2485, allocations: 118.3 kB / 0.6878 GB, free: 9.035 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.185e-05/0.2486, allocations: 57.69 kB / 0.6879 GB, free: 8.973 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.2487, allocations: 342.8 kB / 0.6882 GB, free: 8.629 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.2489, allocations: 79.95 kB / 0.6883 GB, free: 8.551 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001807/0.2491, allocations: 129.1 kB / 0.6884 GB, free: 8.414 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003232/0.2494, allocations: 217 kB / 0.6886 GB, free: 8.199 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2494, allocations: 0 / 0.6886 GB, free: 8.199 MB / 494.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004248/0.2499, allocations: 281.1 kB / 0.6889 GB, free: 7.918 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.2499, allocations: 14.06 kB / 0.6889 GB, free: 7.906 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.2499, allocations: 0 / 0.6889 GB, free: 7.906 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.2499, allocations: 4.031 kB / 0.6889 GB, free: 7.902 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/0.2502, allocations: 63.91 kB / 0.6889 GB, free: 7.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.2502, allocations: 4 kB / 0.6889 GB, free: 7.836 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.2503, allocations: 27.77 kB / 0.689 GB, free: 7.809 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.279e-05/0.2504, allocations: 12 kB / 0.689 GB, free: 7.797 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.000173/0.2505, allocations: 163.1 kB / 0.6891 GB, free: 7.629 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.419e-05/0.2506, allocations: 31.7 kB / 0.6892 GB, free: 7.598 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006592/0.2513, allocations: 380.4 kB / 0.6895 GB, free: 7.219 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.912e-06/0.2513, allocations: 4 kB / 0.6895 GB, free: 7.215 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.2513, allocations: 0 / 0.6895 GB, free: 7.215 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.2513, allocations: 7.938 kB / 0.6895 GB, free: 7.207 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003312/0.2516, allocations: 329.3 kB / 0.6898 GB, free: 6.836 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.2516, allocations: 0 / 0.6898 GB, free: 6.836 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001696/0.2518, allocations: 55.91 kB / 0.6899 GB, free: 6.781 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.2518, allocations: 0 / 0.6899 GB, free: 6.781 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.2519, allocations: 8 kB / 0.6899 GB, free: 6.773 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.2519, allocations: 4 kB / 0.6899 GB, free: 6.77 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.2519, allocations: 3.984 kB / 0.6899 GB, free: 6.766 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004862/0.2524, allocations: 331 kB / 0.6902 GB, free: 6.426 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.2525, allocations: 144.7 kB / 0.6904 GB, free: 6.266 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.037e-05/0.2526, allocations: 4 kB / 0.6904 GB, free: 6.262 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.2527, allocations: 15.98 kB / 0.6904 GB, free: 6.246 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.42e-05/0.2528, allocations: 23.97 kB / 0.6904 GB, free: 6.223 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.938e-05/0.2528, allocations: 15.92 kB / 0.6904 GB, free: 6.207 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000222/0.253, allocations: 229.8 kB / 0.6906 GB, free: 5.984 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.253, allocations: 0 / 0.6906 GB, free: 5.984 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002998/0.2534, allocations: 63.92 kB / 0.6907 GB, free: 5.922 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: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001057/0.2544, allocations: 412.1 kB / 0.6911 GB, free: 5.656 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004356/0.2549, allocations: 227.9 kB / 0.6913 GB, free: 5.434 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.2549, allocations: 4 kB / 0.6913 GB, free: 5.43 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002092/0.2551, allocations: 123.8 kB / 0.6914 GB, free: 5.309 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.2554, allocations: 32.66 kB / 0.6915 GB, free: 5.277 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00095/0.2563, allocations: 0.6121 MB / 0.6921 GB, free: 4.637 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/0.2568, allocations: 0.7574 MB / 0.6928 GB, free: 3.855 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.2569, allocations: 51.41 kB / 0.6929 GB, free: 3.805 MB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2569, allocations: 3.938 kB / 0.6929 GB, free: 3.801 MB / 494.1 MB Notification: Performance of Templates: time 0.006965/0.2639, allocations: 4.174 MB / 0.6969 GB, free: 15.63 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMinCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMinCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMinCalcHelperMain.o] Error 1