Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01277/0.01277, allocations: 100.1 kB / 15.87 MB, free: 5.867 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.00189/0.00189, allocations: 192 kB / 16.79 MB, free: 5.809 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.566/1.566, allocations: 222.9 MB / 240.4 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002373/0.002373, allocations: 286.3 kB / 290.9 MB, free: 2.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.063/1.063, allocations: 169.2 MB / 0.4983 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001699/0.001699, allocations: 91.2 kB / 0.5951 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2449, allocations: 86.99 MB / 0.6801 GB, free: 1.137 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003202/0.2481, allocations: 1.652 MB / 0.6817 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009135/0.2491, allocations: 0.5264 MB / 0.6822 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.93e-05/0.2491, allocations: 0 / 0.6822 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.11e-05/0.2492, allocations: 7.984 kB / 0.6822 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002918/0.2495, allocations: 39.72 kB / 0.6823 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001163/0.2496, allocations: 35.95 kB / 0.6823 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.2497, allocations: 103.6 kB / 0.6824 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001975/0.2499, allocations: 32.19 kB / 0.6824 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.2501, allocations: 39.86 kB / 0.6825 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.2502, allocations: 51.81 kB / 0.6825 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.782e-05/0.2502, allocations: 4 kB / 0.6825 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.344e-05/0.2503, allocations: 4 kB / 0.6825 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.419e-05/0.2503, allocations: 27.84 kB / 0.6825 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.465e-05/0.2504, allocations: 35.8 kB / 0.6826 GB, free: 14.58 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.2505, allocations: 67.88 kB / 0.6826 GB, free: 14.51 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.2505, allocations: 0 / 0.6826 GB, free: 14.51 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2505, allocations: 0 / 0.6826 GB, free: 14.51 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.2505, allocations: 0 / 0.6826 GB, free: 14.51 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008577/0.2514, allocations: 403.2 kB / 0.683 GB, free: 14.07 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.2514, allocations: 8.031 kB / 0.683 GB, free: 14.06 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.836e-05/0.2515, allocations: 8.844 kB / 0.683 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.2517, allocations: 180.2 kB / 0.6832 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.2517, allocations: 4.375 kB / 0.6832 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.2517, allocations: 8.359 kB / 0.6832 GB, free: 13.83 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.2519, allocations: 100.1 kB / 0.6833 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.2519, allocations: 3.984 kB / 0.6833 GB, free: 13.72 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.252, allocations: 3.984 kB / 0.6833 GB, free: 13.72 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.252, allocations: 4 kB / 0.6833 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.2521, allocations: 51.97 kB / 0.6834 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005361/0.2526, allocations: 344.5 kB / 0.6837 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000282/0.2529, allocations: 106.7 kB / 0.6838 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.49e-05/0.253, allocations: 40.84 kB / 0.6839 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.253, allocations: 0 / 0.6839 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002429/0.2533, allocations: 103.2 kB / 0.684 GB, free: 13.01 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.173e-06/0.2533, allocations: 4 kB / 0.684 GB, free: 13 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003734/0.2537, allocations: 141.5 kB / 0.6841 GB, free: 12.86 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.2537, allocations: 55.41 kB / 0.6841 GB, free: 12.79 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.2539, allocations: 126.3 kB / 0.6843 GB, free: 12.66 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.254, allocations: 33.58 kB / 0.6843 GB, free: 12.62 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.704e-05/0.254, allocations: 96.28 kB / 0.6844 GB, free: 12.52 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.237e-05/0.2541, allocations: 35.67 kB / 0.6844 GB, free: 12.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.318e-05/0.2541, allocations: 29.7 kB / 0.6845 GB, free: 12.45 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002172/0.2544, allocations: 330.7 kB / 0.6848 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.034e-05/0.2544, allocations: 24 kB / 0.6848 GB, free: 12.09 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.489e-05/0.2545, allocations: 30.73 kB / 0.6848 GB, free: 12.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.2546, allocations: 60.84 kB / 0.6849 GB, free: 12 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2546, allocations: 0 / 0.6849 GB, free: 12 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002111/0.2548, allocations: 113.6 kB / 0.685 GB, free: 11.89 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.2548, allocations: 4 kB / 0.685 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.2549, allocations: 0 / 0.685 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.2549, allocations: 0 / 0.685 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.255, allocations: 23.92 kB / 0.685 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.255, allocations: 4 kB / 0.685 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.2551, allocations: 15.92 kB / 0.685 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.2552, allocations: 4 kB / 0.685 GB, free: 11.84 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: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001511/0.2553, allocations: 115.6 kB / 0.6851 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.078e-05/0.2553, allocations: 11.89 kB / 0.6852 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002698/0.2556, allocations: 149.2 kB / 0.6853 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.2556, allocations: 4 kB / 0.6853 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.2556, allocations: 4 kB / 0.6853 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.2556, allocations: 3.938 kB / 0.6853 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.2558, allocations: 213.5 kB / 0.6855 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2558, allocations: 0 / 0.6855 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.9e-05/0.2559, allocations: 15.98 kB / 0.6855 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2559, allocations: 0 / 0.6855 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.256, allocations: 4 kB / 0.6855 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.256, allocations: 0 / 0.6855 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.256, allocations: 0 / 0.6855 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002465/0.2562, allocations: 172.9 kB / 0.6857 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.38e-05/0.2563, allocations: 89 kB / 0.6858 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.2563, allocations: 7.938 kB / 0.6858 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.2564, allocations: 11.98 kB / 0.6858 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.952e-05/0.2565, allocations: 11.98 kB / 0.6858 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.2565, allocations: 7.938 kB / 0.6858 GB, free: 10.93 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.94e-05/0.2566, allocations: 103.2 kB / 0.6859 GB, free: 10.83 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2566, allocations: 0 / 0.6859 GB, free: 10.83 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000204/0.2568, allocations: 28 kB / 0.6859 GB, free: 10.8 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: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * 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: 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.0001355/0.2569, allocations: 96.97 kB / 0.686 GB, free: 10.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001974/0.2571, allocations: 91.89 kB / 0.6861 GB, free: 10.61 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2572, allocations: 0 / 0.6861 GB, free: 10.61 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.485e-05/0.2573, allocations: 47.92 kB / 0.6862 GB, free: 10.57 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.2576, allocations: 8 kB / 0.6862 GB, free: 10.56 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005372/0.2581, allocations: 278 kB / 0.6864 GB, free: 10.25 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.2585, allocations: 0.7043 MB / 0.6871 GB, free: 9.523 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.577e-05/0.2585, allocations: 11.44 kB / 0.6871 GB, free: 9.512 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2585, allocations: 7.938 kB / 0.6872 GB, free: 9.504 MB / 494.1 MB Notification: Performance of Templates: time 0.002965/0.2615, allocations: 1.25 MB / 0.6884 GB, free: 8.258 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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 OMCppBuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTimeCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTimeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTimeCalcHelperMain.o] Error 1