Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weeSchFil.y.1.|weeSchFil.y.2.|weeSchFil.y.3.|weeSchFil.y.4.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weeSchFil.y.1.|weeSchFil.y.2.|weeSchFil.y.3.|weeSchFil.y.4.",fileNamePrefix="Buildings_latest_Buildings.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.001165/0.001165, allocations: 100.5 kB / 15.71 MB, free: 452 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.001088/0.001088, allocations: 176 kB / 16.58 MB, free: 6.422 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.488/1.488, allocations: 223.2 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.794/2.794, allocations: 436.7 MB / 0.7113 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003878/0.0003879, allocations: 11.94 kB / 0.8717 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8045/0.8049, allocations: 153.7 MB / 1.022 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.001947/0.8069, allocations: 1.192 MB / 1.023 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001537/0.8085, allocations: 1.043 MB / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.279e-05/0.8086, allocations: 0 / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000173/0.8087, allocations: 15.92 kB / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001561/0.8089, allocations: 27.84 kB / 1.024 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002196/0.8091, allocations: 62.73 kB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001823/0.8093, allocations: 127.6 kB / 1.024 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.8095, allocations: 49.28 kB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.361e-05/0.8096, allocations: 67.75 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001864/0.8098, allocations: 51.7 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.495e-05/0.8098, allocations: 4 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.524e-05/0.8099, allocations: 12 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.124e-05/0.81, allocations: 47.88 kB / 1.024 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.019e-05/0.81, allocations: 45.58 kB / 1.024 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001929/0.8102, allocations: 137.7 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.8102, allocations: 4 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.016e-06/0.8102, allocations: 0 / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.8102, allocations: 3.938 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB 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.0007533/0.811, allocations: 458.7 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.8111, allocations: 15.92 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.581e-05/0.8111, allocations: 19.72 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003392/0.8115, allocations: 242.8 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001583/0.8116, allocations: 122.8 kB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.8117, allocations: 7.953 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003485/0.812, allocations: 169.5 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.812, allocations: 0 / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.544e-05/0.8121, allocations: 4 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.136e-05/0.8121, allocations: 11.98 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.425e-05/0.8122, allocations: 43.97 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.8132, allocations: 480.4 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.68e-05/0.8133, allocations: 30.58 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.878e-05/0.8134, allocations: 24.84 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/0.8134, allocations: 7.938 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/0.8135, allocations: 42.55 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 2.395e-06/0.8135, allocations: 0 / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0002638/0.8137, allocations: 109.4 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.8138, allocations: 51.41 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.814, allocations: 215.7 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.8141, allocations: 29.7 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.915e-05/0.8142, allocations: 128.2 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.8142, allocations: 27.64 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-06/0.8142, allocations: 0 / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.8144, allocations: 334.8 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.117e-05/0.8144, allocations: 27.92 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.8146, allocations: 102.2 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.817e-05/0.8146, allocations: 35.98 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.8146, allocations: 0 / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002342/0.8149, allocations: 153.2 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.8149, allocations: 8 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.8149, allocations: 4 kB / 1.027 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.8149, allocations: 4 kB / 1.027 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.815, allocations: 23.92 kB / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.8151, allocations: 4.375 kB / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.76e-05/0.8151, allocations: 15.91 kB / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.906e-05/0.8152, allocations: 15.94 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001446/0.8153, allocations: 141.7 kB / 1.027 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.819e-05/0.8154, allocations: 19.8 kB / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002305/0.8156, allocations: 107.3 kB / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.8156, allocations: 0 / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.8156, allocations: 4 kB / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.8156, allocations: 4 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002563/0.8159, allocations: 245.3 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.8159, allocations: 0 / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.041e-05/0.816, allocations: 15.98 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.816, allocations: 0 / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.816, allocations: 4 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.816, allocations: 0 / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.816, allocations: 4.078 kB / 1.028 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.8162, allocations: 195.3 kB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.229e-05/0.8163, allocations: 100.8 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.8163, allocations: 0 / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/0.8165, allocations: 23.98 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.8166, allocations: 11.92 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-05/0.8166, allocations: 15.92 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001447/0.8168, allocations: 157.5 kB / 1.028 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8168, allocations: 0 / 1.028 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003055/0.8171, allocations: 28 kB / 1.028 GB, free: 9.887 MB / 0.7794 GB 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 (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.0003027/0.8174, allocations: 123 kB / 1.029 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001659/0.8176, allocations: 71.84 kB / 1.029 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.8176, allocations: 0 / 1.029 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.829e-05/0.8176, allocations: 23.98 kB / 1.029 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.818, allocations: 27.75 kB / 1.029 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005792/0.8185, allocations: 348.6 kB / 1.029 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.8189, allocations: 0.7355 MB / 1.03 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.233e-05/0.819, allocations: 19.44 kB / 1.03 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.819, allocations: 0 / 1.03 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of Templates: time 0.005064/0.8241, allocations: 2.6 MB / 1.032 GB, free: 5.906 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.makefile make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.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/Buildings 11.0.0-master/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/Buildings 11.0.0-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklyScheduleCalcHelperMain.o OMCppBuildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklyScheduleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklyScheduleCalcHelperMain.o] Error 1