Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule") translateModel(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.0008626/0.0008626, allocations: 99.34 kB / 16.02 MB, free: 76 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.001001/0.001001, allocations: 179.3 kB / 16.92 MB, free: 6.918 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.332/1.332, allocations: 223.2 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7461/0.7461, allocations: 132.3 MB / 424.4 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002936/0.0002936, allocations: 12.56 kB / 0.5046 GB, free: 3.887 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5133/0.5136, allocations: 81.57 MB / 0.5843 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.001403/0.5151, allocations: 1.127 MB / 0.5854 GB, free: 3.203 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008313/0.5159, allocations: 0.509 MB / 0.5859 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.481e-05/0.516, allocations: 4.969 kB / 0.5859 GB, free: 2.855 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 7.116e-05/0.5161, allocations: 11.67 kB / 0.5859 GB, free: 2.848 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.101e-05/0.5161, allocations: 8.156 kB / 0.5859 GB, free: 2.844 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006101/0.5167, allocations: 195.8 kB / 0.5861 GB, free: 2.754 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000211/0.517, allocations: 137.8 kB / 0.5862 GB, free: 2.707 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.233e-05/0.517, allocations: 8.781 kB / 0.5862 GB, free: 2.703 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.565e-05/0.5171, allocations: 48 kB / 0.5863 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.421e-05/0.5172, allocations: 45.22 kB / 0.5863 GB, free: 2.672 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.5172, allocations: 5.812 kB / 0.5863 GB, free: 2.672 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002728/0.5175, allocations: 162.5 kB / 0.5865 GB, free: 2.621 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.66e-05/0.5176, allocations: 30.53 kB / 0.5865 GB, free: 2.609 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.073e-05/0.5177, allocations: 76.39 kB / 0.5866 GB, free: 2.551 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002649/0.5179, allocations: 162.2 kB / 0.5867 GB, free: 2.512 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.5179, allocations: 0.9688 kB / 0.5867 GB, free: 2.512 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.5179, allocations: 0 / 0.5867 GB, free: 2.512 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.708e-06/0.518, allocations: 4 kB / 0.5867 GB, free: 2.508 MB / 430.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.0004803/0.5184, allocations: 425.3 kB / 0.5871 GB, free: 2.098 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.5185, allocations: 8.969 kB / 0.5872 GB, free: 2.098 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.107e-05/0.5185, allocations: 17.06 kB / 0.5872 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.5187, allocations: 207 kB / 0.5874 GB, free: 1.875 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.5187, allocations: 5.172 kB / 0.5874 GB, free: 1.875 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.388e-05/0.5188, allocations: 14.66 kB / 0.5874 GB, free: 1.871 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.5189, allocations: 83.02 kB / 0.5875 GB, free: 1.809 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.519, allocations: 1.188 kB / 0.5875 GB, free: 1.809 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.519, allocations: 4.5 kB / 0.5875 GB, free: 1.805 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.519, allocations: 1.625 kB / 0.5875 GB, free: 1.805 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.082e-05/0.5191, allocations: 40.02 kB / 0.5875 GB, free: 1.793 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002191/0.5193, allocations: 233 kB / 0.5877 GB, free: 1.566 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.5194, allocations: 83.12 kB / 0.5878 GB, free: 1.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.543e-05/0.5195, allocations: 54.34 kB / 0.5879 GB, free: 1.473 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.5195, allocations: 1.203 kB / 0.5879 GB, free: 1.473 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001889/0.5197, allocations: 106.8 kB / 0.588 GB, free: 1.395 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.122e-06/0.5197, allocations: 4 kB / 0.588 GB, free: 1.391 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003484/0.5201, allocations: 185.4 kB / 0.5881 GB, free: 1.316 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.5201, allocations: 91.92 kB / 0.5882 GB, free: 1.215 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.5202, allocations: 153.3 kB / 0.5884 GB, free: 1.098 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.5203, allocations: 34.59 kB / 0.5884 GB, free: 1.062 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.993e-05/0.5203, allocations: 105.8 kB / 0.5885 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.062e-05/0.5204, allocations: 34.91 kB / 0.5885 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.902e-05/0.5204, allocations: 28 kB / 0.5886 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.027e-05/0.5205, allocations: 326.3 kB / 0.5889 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.252e-05/0.5206, allocations: 42.09 kB / 0.5889 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00019/0.5208, allocations: 199.5 kB / 0.5891 GB, free: 416 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.5209, allocations: 93.53 kB / 0.5892 GB, free: 368 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.5209, allocations: 0.625 kB / 0.5892 GB, free: 368 kB / 430.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002246/0.5212, allocations: 167.1 kB / 0.5894 GB, free: 288 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.5212, allocations: 5.812 kB / 0.5894 GB, free: 288 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.281e-05/0.5212, allocations: 2.734 kB / 0.5894 GB, free: 288 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.5212, allocations: 1.719 kB / 0.5894 GB, free: 288 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.589e-05/0.5213, allocations: 19.98 kB / 0.5894 GB, free: 276 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.5213, allocations: 1.812 kB / 0.5894 GB, free: 276 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003103/0.5216, allocations: 93.86 kB / 0.5895 GB, free: 260 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.5217, allocations: 4.75 kB / 0.5895 GB, free: 260 kB / 430.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 9.674e-05/0.5218, allocations: 134.9 kB / 0.5896 GB, free: 132 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.993e-05/0.5218, allocations: 17.02 kB / 0.5896 GB, free: 120 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.243e-05/0.5218, allocations: 13.23 kB / 0.5896 GB, free: 104 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.5218, allocations: 2.094 kB / 0.5896 GB, free: 104 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.5218, allocations: 1 kB / 0.5897 GB, free: 104 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.5219, allocations: 8.734 kB / 0.5897 GB, free: 96 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.522, allocations: 193 kB / 0.5898 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.299e-06/0.522, allocations: 9.531 kB / 0.5899 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.376e-05/0.5221, allocations: 6.5 kB / 0.5899 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.5221, allocations: 0.9688 kB / 0.5899 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.5221, allocations: 2.547 kB / 0.5899 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.5221, allocations: 1.312 kB / 0.5899 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5221, allocations: 0.75 kB / 0.5899 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002572/0.5224, allocations: 184.5 kB / 0.59 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.752e-05/0.5224, allocations: 89.16 kB / 0.5901 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.5225, allocations: 3.016 kB / 0.5901 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.324e-05/0.5225, allocations: 7.922 kB / 0.5901 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.662e-05/0.5226, allocations: 5.906 kB / 0.5901 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.5226, allocations: 7.312 kB / 0.5901 GB, free: 15.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001101/0.5227, allocations: 116.5 kB / 0.5903 GB, free: 15.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5227, allocations: 0 / 0.5903 GB, free: 15.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003166/0.523, allocations: 80.12 kB / 0.5903 GB, free: 15.55 MB / 446.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.0002607/0.5233, allocations: 157.8 kB / 0.5905 GB, free: 15.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000291/0.5236, allocations: 170.3 kB / 0.5906 GB, free: 15.35 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5236, allocations: 0 / 0.5906 GB, free: 15.35 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.482e-05/0.5237, allocations: 43.27 kB / 0.5907 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001648/0.5238, allocations: 17.36 kB / 0.5907 GB, free: 15.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004533/0.5243, allocations: 280.3 kB / 0.591 GB, free: 15.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.5246, allocations: 0.7032 MB / 0.5917 GB, free: 14.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.42e-05/0.5247, allocations: 15.34 kB / 0.5917 GB, free: 14.4 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.5247, allocations: 4.469 kB / 0.5917 GB, free: 14.39 MB / 446.1 MB Notification: Performance of Templates: time 0.005026/0.5297, allocations: 2.417 MB / 0.594 GB, free: 14.14 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.makefile make -j1 -f IDEAS_IDEAS.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 OMCppIDEAS_IDEAS.Controls.SetPoints.Examples.OccupancyScheduleCalcHelperMain.o OMCppIDEAS_IDEAS.Controls.SetPoints.Examples.OccupancyScheduleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Controls.SetPoints.Examples.OccupancyScheduleCalcHelperMain.o] Error 1