Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.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.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001737/0.001737, 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.002465/0.002465, allocations: 198.4 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 2.005/2.005, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003104/0.003104, allocations: 282.8 kB / 290.9 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.687/1.687, allocations: 169.2 MB / 0.4983 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003787/0.003787, allocations: 97.78 kB / 0.5951 GB, free: 28.4 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4057/0.4095, allocations: 86.99 MB / 0.6801 GB, free: 1.184 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule): time 0.006299/0.4159, allocations: 1.537 MB / 0.6816 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002592/0.4185, allocations: 1.079 MB / 0.6826 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.475e-05/0.4187, allocations: 0 / 0.6826 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003235/0.4191, allocations: 16.78 kB / 0.6827 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002517/0.4193, allocations: 27.86 kB / 0.6827 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003761/0.4197, allocations: 56.48 kB / 0.6827 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003144/0.42, allocations: 143.6 kB / 0.6829 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002574/0.4203, allocations: 66.05 kB / 0.6829 GB, free: 14.26 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001491/0.4205, allocations: 75.7 kB / 0.683 GB, free: 14.19 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003175/0.4208, allocations: 55.69 kB / 0.6831 GB, free: 14.13 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.758e-05/0.4209, allocations: 8 kB / 0.6831 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.421, allocations: 20 kB / 0.6831 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.4211, allocations: 47.88 kB / 0.6831 GB, free: 14.06 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.4213, allocations: 67.58 kB / 0.6832 GB, free: 13.99 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003279/0.4216, allocations: 143.7 kB / 0.6833 GB, free: 13.85 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.4216, allocations: 0 / 0.6833 GB, free: 13.85 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4216, allocations: 0 / 0.6833 GB, free: 13.85 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.816e-06/0.4217, allocations: 0 / 0.6833 GB, free: 13.85 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001134/0.4228, allocations: 490.7 kB / 0.6838 GB, free: 13.32 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.001862/0.4247, allocations: 8.031 kB / 0.6838 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001398/0.4248, allocations: 20.75 kB / 0.6838 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006231/0.4255, allocations: 268.4 kB / 0.6841 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002112/0.4257, allocations: 115.4 kB / 0.6842 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.4257, allocations: 8.375 kB / 0.6842 GB, free: 12.85 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002215/0.428, allocations: 163.8 kB / 0.6844 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.428, allocations: 3.938 kB / 0.6844 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.688e-05/0.428, allocations: 0 / 0.6844 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.346e-05/0.4281, allocations: 16 kB / 0.6844 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.4283, allocations: 39.97 kB / 0.6844 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001713/0.43, allocations: 464.4 kB / 0.6849 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.4301, allocations: 38.5 kB / 0.6849 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.896e-05/0.4302, allocations: 24.84 kB / 0.6849 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.592e-05/0.4303, allocations: 4 kB / 0.6849 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.235e-05/0.4303, allocations: 34.56 kB / 0.685 GB, free: 12 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.4303, allocations: 0 / 0.685 GB, free: 12 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004568/0.4308, allocations: 109.6 kB / 0.6851 GB, free: 11.89 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.839e-05/0.4309, allocations: 59.41 kB / 0.6851 GB, free: 11.82 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003696/0.4313, allocations: 215.7 kB / 0.6853 GB, free: 11.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.296e-05/0.4313, allocations: 29.7 kB / 0.6854 GB, free: 11.57 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.4315, allocations: 120.1 kB / 0.6855 GB, free: 11.45 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.233e-05/0.4316, allocations: 23.7 kB / 0.6855 GB, free: 11.42 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.4317, allocations: 29.7 kB / 0.6855 GB, free: 11.39 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002219/0.4319, allocations: 334.8 kB / 0.6858 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.706e-05/0.432, allocations: 19.98 kB / 0.6859 GB, free: 11.03 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002024/0.4322, allocations: 98.28 kB / 0.686 GB, free: 10.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002957/0.4325, allocations: 142.1 kB / 0.6861 GB, free: 10.72 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.4325, allocations: 0 / 0.6861 GB, free: 10.72 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004233/0.433, allocations: 161.5 kB / 0.6862 GB, free: 10.56 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.374e-05/0.433, allocations: 4 kB / 0.6862 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.433, allocations: 4.312 kB / 0.6862 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/0.4331, allocations: 4 kB / 0.6863 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.4333, allocations: 27.92 kB / 0.6863 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/0.4333, allocations: 3.938 kB / 0.6863 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.4334, allocations: 15.84 kB / 0.6863 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.33e-05/0.4334, allocations: 11.98 kB / 0.6863 GB, free: 10.49 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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.0002681/0.4337, allocations: 146.4 kB / 0.6864 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.284e-05/0.4338, allocations: 23.81 kB / 0.6865 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003694/0.4342, allocations: 115.1 kB / 0.6866 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.4342, allocations: 4 kB / 0.6866 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.384e-05/0.4343, allocations: 3.938 kB / 0.6866 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.4343, allocations: 0 / 0.6866 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004659/0.4347, allocations: 237.5 kB / 0.6868 GB, free: 9.906 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4348, allocations: 0 / 0.6868 GB, free: 9.906 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.368e-05/0.4349, allocations: 15.98 kB / 0.6868 GB, free: 9.891 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.016e-05/0.4349, allocations: 0 / 0.6868 GB, free: 9.891 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.4349, allocations: 7.938 kB / 0.6868 GB, free: 9.883 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/0.4349, allocations: 4 kB / 0.6868 GB, free: 9.879 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/0.4349, allocations: 3.938 kB / 0.6868 GB, free: 9.875 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003548/0.4353, allocations: 179.3 kB / 0.687 GB, free: 9.684 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.4354, allocations: 92.92 kB / 0.6871 GB, free: 9.574 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.4355, allocations: 0 / 0.6871 GB, free: 9.574 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000349/0.4358, allocations: 19.97 kB / 0.6871 GB, free: 9.555 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-05/0.4359, allocations: 15.92 kB / 0.6871 GB, free: 9.539 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.927e-05/0.436, allocations: 15.97 kB / 0.6872 GB, free: 9.523 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002578/0.4362, allocations: 162.1 kB / 0.6873 GB, free: 9.367 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.4362, allocations: 0 / 0.6873 GB, free: 9.367 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006093/0.4369, allocations: 35.84 kB / 0.6873 GB, free: 9.332 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0004875/0.4374, allocations: 134.4 kB / 0.6875 GB, free: 9.195 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002977/0.4377, allocations: 67.89 kB / 0.6875 GB, free: 9.129 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.4377, allocations: 0 / 0.6875 GB, free: 9.129 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.177e-05/0.4378, allocations: 28.67 kB / 0.6876 GB, free: 9.102 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005867/0.4384, allocations: 18.41 kB / 0.6876 GB, free: 9.086 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.4395, allocations: 366.4 kB / 0.6879 GB, free: 8.691 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006166/0.4401, allocations: 0.7316 MB / 0.6886 GB, free: 7.934 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.242e-05/0.4402, allocations: 15.44 kB / 0.6887 GB, free: 7.918 MB / 494.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4403, allocations: 0 / 0.6887 GB, free: 7.918 MB / 494.1 MB Notification: Performance of Templates: time 0.01041/0.4507, allocations: 2.617 MB / 0.6912 GB, free: 5.328 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.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/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklyScheduleCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklyScheduleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklyScheduleCalcHelperMain.o] Error 1