Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.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.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule") translateModel(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01083/0.01083, allocations: 100.8 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.001861/0.001862, allocations: 192.1 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002319/0.002319, allocations: 278.3 kB / 290.9 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.047/1.047, allocations: 169.2 MB / 0.4984 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001713/0.001713, allocations: 91.34 kB / 0.5951 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2405, allocations: 86.98 MB / 0.6801 GB, free: 1.172 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule): time 0.002784/0.2433, allocations: 1.468 MB / 0.6815 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.2443, allocations: 0.5184 MB / 0.682 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.208e-05/0.2444, allocations: 4.875 kB / 0.682 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.489e-05/0.2445, allocations: 3.938 kB / 0.682 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.737e-05/0.2446, allocations: 16.58 kB / 0.682 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006362/0.2452, allocations: 188.4 kB / 0.6822 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002106/0.2454, allocations: 135.8 kB / 0.6823 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.775e-05/0.2455, allocations: 7.984 kB / 0.6824 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.655e-05/0.2455, allocations: 56.45 kB / 0.6824 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.038e-05/0.2456, allocations: 43.84 kB / 0.6825 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.025e-05/0.2457, allocations: 4 kB / 0.6825 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002406/0.2459, allocations: 163.8 kB / 0.6826 GB, free: 14.58 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.38e-05/0.246, allocations: 31.91 kB / 0.6826 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.414e-05/0.2461, allocations: 47.73 kB / 0.6827 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000226/0.2463, allocations: 168 kB / 0.6828 GB, free: 14.34 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2463, allocations: 0 / 0.6828 GB, free: 14.34 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2464, allocations: 0 / 0.6828 GB, free: 14.34 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.2464, allocations: 0 / 0.6828 GB, free: 14.34 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.0005903/0.247, allocations: 451.1 kB / 0.6833 GB, free: 13.84 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.247, allocations: 11.97 kB / 0.6833 GB, free: 13.83 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.784e-05/0.2471, allocations: 12.84 kB / 0.6833 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.2473, allocations: 204 kB / 0.6835 GB, free: 13.58 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.956e-05/0.2473, allocations: 16.36 kB / 0.6835 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/0.2474, allocations: 8.375 kB / 0.6835 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.2476, allocations: 79.95 kB / 0.6836 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.2476, allocations: 4.188 kB / 0.6836 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.2476, allocations: 3.938 kB / 0.6836 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.2476, allocations: 0 / 0.6836 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.254e-05/0.2477, allocations: 39.92 kB / 0.6836 GB, free: 13.42 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002716/0.248, allocations: 234.5 kB / 0.6839 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.2481, allocations: 73.2 kB / 0.6839 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.814e-05/0.2482, allocations: 65.84 kB / 0.684 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.2482, allocations: 3.938 kB / 0.684 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002281/0.2484, allocations: 109.1 kB / 0.6841 GB, free: 12.85 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.072e-06/0.2484, allocations: 0 / 0.6841 GB, free: 12.85 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003658/0.2488, allocations: 189.3 kB / 0.6843 GB, free: 12.66 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/0.2489, allocations: 85.11 kB / 0.6844 GB, free: 12.56 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.249, allocations: 155.1 kB / 0.6845 GB, free: 12.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.847e-05/0.2491, allocations: 41.62 kB / 0.6846 GB, free: 12.35 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.717e-05/0.2492, allocations: 100.5 kB / 0.6847 GB, free: 12.25 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.366e-05/0.2492, allocations: 39.53 kB / 0.6847 GB, free: 12.21 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.82e-05/0.2494, allocations: 49.7 kB / 0.6847 GB, free: 12.15 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.2495, allocations: 326.8 kB / 0.685 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.068e-05/0.2496, allocations: 43.97 kB / 0.6851 GB, free: 11.78 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002802/0.2499, allocations: 204.5 kB / 0.6853 GB, free: 11.53 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.2501, allocations: 97.64 kB / 0.6854 GB, free: 11.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.2501, allocations: 0 / 0.6854 GB, free: 11.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002222/0.2503, allocations: 161.3 kB / 0.6855 GB, free: 11.26 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.2503, allocations: 4 kB / 0.6855 GB, free: 11.26 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.059e-05/0.2504, allocations: 4 kB / 0.6855 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.2504, allocations: 0 / 0.6855 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.819e-05/0.2505, allocations: 15.92 kB / 0.6856 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.2505, allocations: 0 / 0.6856 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002701/0.2508, allocations: 79.75 kB / 0.6856 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.2508, allocations: 4 kB / 0.6856 GB, free: 11.16 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: 18 (occSchWee.tNext,$PRE.occSchWee.tNext,occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.occupied,$PRE.occSchWee.occupied,$whenCondition2,occSchDay.tNext,$PRE.occSchDay.tNext,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001266/0.2509, allocations: 139.2 kB / 0.6858 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.042e-05/0.2509, allocations: 15.84 kB / 0.6858 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.366e-05/0.251, allocations: 12.72 kB / 0.6858 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.251, allocations: 4 kB / 0.6858 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.251, allocations: 0 / 0.6858 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.251, allocations: 0 / 0.6858 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.2512, allocations: 189.6 kB / 0.686 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.2512, allocations: 3.938 kB / 0.686 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.648e-05/0.2513, allocations: 11.94 kB / 0.686 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2513, allocations: 3.938 kB / 0.686 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.2513, allocations: 11.98 kB / 0.686 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2513, allocations: 0 / 0.686 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2513, allocations: 4.625 kB / 0.686 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002559/0.2516, allocations: 181.8 kB / 0.6862 GB, free: 10.51 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.087e-05/0.2516, allocations: 92.89 kB / 0.6863 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.2517, allocations: 0 / 0.6863 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.91e-05/0.2517, allocations: 0 / 0.6863 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-05/0.2518, allocations: 7.984 kB / 0.6863 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.2518, allocations: 16 kB / 0.6863 GB, free: 10.38 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.612e-05/0.2519, allocations: 113.1 kB / 0.6864 GB, free: 10.27 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2519, allocations: 3.938 kB / 0.6864 GB, free: 10.27 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002896/0.2522, allocations: 67.98 kB / 0.6865 GB, free: 10.2 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,occSchWee.occupied,occSchWee.tOcc,occSchWee.tNonOcc,occSchWee.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 2 (occSchDay.tNext,occSchWee.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0002614/0.2524, allocations: 165.1 kB / 0.6866 GB, free: 10.03 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002634/0.2527, allocations: 167.4 kB / 0.6868 GB, free: 9.855 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2527, allocations: 0 / 0.6868 GB, free: 9.855 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.819e-05/0.2528, allocations: 43.97 kB / 0.6868 GB, free: 9.812 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001761/0.253, allocations: 19.92 kB / 0.6869 GB, free: 9.793 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004868/0.2535, allocations: 278.8 kB / 0.6871 GB, free: 9.484 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.2538, allocations: 0.7159 MB / 0.6878 GB, free: 8.742 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.513e-05/0.2538, allocations: 11.44 kB / 0.6878 GB, free: 8.73 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2538, allocations: 0 / 0.6878 GB, free: 8.73 MB / 494.1 MB Notification: Performance of Templates: time 0.004451/0.2583, allocations: 2.428 MB / 0.6902 GB, free: 6.32 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.makefile make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.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.Controls.SetPoints.Examples.OccupancyScheduleCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancyScheduleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancyScheduleCalcHelperMain.o] Error 1