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.001049/0.001049, allocations: 96.14 kB / 15.87 MB, free: 16 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.001145/0.001145, allocations: 197.8 kB / 16.79 MB, free: 6.828 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.325/1.325, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.709/0.709, allocations: 132.2 MB / 422.8 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 63.36 kB / 0.5017 GB, free: 4.328 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4227/0.4239, allocations: 80.2 MB / 0.58 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002824/0.4268, allocations: 1.468 MB / 0.5815 GB, free: 3.531 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009369/0.4277, allocations: 0.5311 MB / 0.582 GB, free: 3.172 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.116e-05/0.4278, allocations: 0 / 0.582 GB, free: 3.172 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.557e-05/0.4279, allocations: 7.688 kB / 0.582 GB, free: 3.168 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.314e-05/0.4279, allocations: 13.3 kB / 0.582 GB, free: 3.16 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006089/0.4285, allocations: 184.2 kB / 0.5822 GB, free: 3.078 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002247/0.4288, allocations: 137.4 kB / 0.5823 GB, free: 3.031 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.123e-05/0.4288, allocations: 12.03 kB / 0.5823 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.562e-05/0.4289, allocations: 48.38 kB / 0.5824 GB, free: 3.012 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.86e-05/0.429, allocations: 45.52 kB / 0.5824 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.975e-05/0.4291, allocations: 5.594 kB / 0.5824 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002802/0.4293, allocations: 161.8 kB / 0.5826 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.698e-05/0.4294, allocations: 30.53 kB / 0.5826 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.169e-05/0.4295, allocations: 54.16 kB / 0.5826 GB, free: 2.898 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002651/0.4298, allocations: 157.4 kB / 0.5828 GB, free: 2.859 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4298, allocations: 5.953 kB / 0.5828 GB, free: 2.855 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.31e-07/0.4298, allocations: 0 / 0.5828 GB, free: 2.855 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.4298, allocations: 0 / 0.5828 GB, free: 2.855 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.000537/0.4304, allocations: 454.3 kB / 0.5832 GB, free: 2.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.4304, allocations: 9.906 kB / 0.5832 GB, free: 2.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.89e-05/0.4305, allocations: 12.94 kB / 0.5833 GB, free: 2.426 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.4307, allocations: 211.3 kB / 0.5835 GB, free: 2.207 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.4307, allocations: 5.031 kB / 0.5835 GB, free: 2.207 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.891e-05/0.4307, allocations: 17.62 kB / 0.5835 GB, free: 2.199 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.4309, allocations: 83.52 kB / 0.5836 GB, free: 2.141 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.4309, allocations: 0.9062 kB / 0.5836 GB, free: 2.141 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.4309, allocations: 8.906 kB / 0.5836 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.4309, allocations: 0.8438 kB / 0.5836 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.22e-05/0.431, allocations: 40.66 kB / 0.5836 GB, free: 2.121 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002364/0.4313, allocations: 232 kB / 0.5838 GB, free: 1.895 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.4314, allocations: 83.28 kB / 0.5839 GB, free: 1.828 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.118e-05/0.4315, allocations: 55.5 kB / 0.584 GB, free: 1.801 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.675e-06/0.4315, allocations: 0 / 0.584 GB, free: 1.801 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002149/0.4317, allocations: 111.3 kB / 0.5841 GB, free: 1.719 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.032e-06/0.4317, allocations: 0 / 0.5841 GB, free: 1.719 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003672/0.4321, allocations: 189.4 kB / 0.5842 GB, free: 1.641 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.4321, allocations: 95.05 kB / 0.5843 GB, free: 1.535 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.4323, allocations: 149.7 kB / 0.5845 GB, free: 1.422 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/0.4323, allocations: 35.05 kB / 0.5845 GB, free: 1.387 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.209e-05/0.4324, allocations: 100.8 kB / 0.5846 GB, free: 1.289 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.412e-05/0.4324, allocations: 36.84 kB / 0.5846 GB, free: 1.262 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.503e-05/0.4325, allocations: 49.34 kB / 0.5847 GB, free: 1.234 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.409e-05/0.4325, allocations: 330.7 kB / 0.585 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.206e-05/0.4326, allocations: 41.95 kB / 0.5851 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/0.4328, allocations: 195.4 kB / 0.5852 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.433, allocations: 97.8 kB / 0.5853 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.433, allocations: 0 / 0.5853 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002333/0.4332, allocations: 167.6 kB / 0.5855 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.4332, allocations: 10.48 kB / 0.5855 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.055e-05/0.4333, allocations: 2.953 kB / 0.5855 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.4333, allocations: 1.406 kB / 0.5855 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.56e-05/0.4334, allocations: 7.656 kB / 0.5855 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.4334, allocations: 6.672 kB / 0.5855 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002725/0.4337, allocations: 69.09 kB / 0.5856 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.4337, allocations: 5 kB / 0.5856 GB, free: 0.5859 MB / 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 0.0001009/0.4338, allocations: 141.6 kB / 0.5857 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.188e-05/0.4338, allocations: 17.42 kB / 0.5857 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.315e-05/0.4339, allocations: 13.05 kB / 0.5858 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.4339, allocations: 1.891 kB / 0.5858 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.4339, allocations: 0.8438 kB / 0.5858 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.4339, allocations: 1.375 kB / 0.5858 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.434, allocations: 198 kB / 0.5859 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.434, allocations: 7.938 kB / 0.586 GB, free: 212 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.451e-05/0.4341, allocations: 12.06 kB / 0.586 GB, free: 208 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.4341, allocations: 0 / 0.586 GB, free: 208 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.4341, allocations: 2.797 kB / 0.586 GB, free: 208 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.4341, allocations: 1.094 kB / 0.586 GB, free: 208 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4341, allocations: 1.375 kB / 0.586 GB, free: 208 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002191/0.4343, allocations: 176 kB / 0.5861 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.45e-05/0.4344, allocations: 93.09 kB / 0.5862 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.4344, allocations: 10.44 kB / 0.5862 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.482e-05/0.4345, allocations: 8.219 kB / 0.5862 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.4345, allocations: 5.297 kB / 0.5862 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.4345, allocations: 2.875 kB / 0.5863 GB, free: 15.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.725e-05/0.4346, allocations: 119.8 kB / 0.5864 GB, free: 15.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4346, allocations: 0 / 0.5864 GB, free: 15.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000335/0.435, allocations: 76.41 kB / 0.5864 GB, free: 15.87 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.0002681/0.4352, allocations: 162.8 kB / 0.5866 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000282/0.4355, allocations: 165.5 kB / 0.5868 GB, free: 15.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.4355, allocations: 0 / 0.5868 GB, free: 15.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.827e-05/0.4356, allocations: 44.38 kB / 0.5868 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001747/0.4358, allocations: 15.33 kB / 0.5868 GB, free: 15.65 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004774/0.4363, allocations: 274.8 kB / 0.5871 GB, free: 15.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.4366, allocations: 0.7061 MB / 0.5878 GB, free: 14.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.718e-05/0.4366, allocations: 13.09 kB / 0.5878 GB, free: 14.72 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4367, allocations: 0.6875 kB / 0.5878 GB, free: 14.72 MB / 446.1 MB Notification: Performance of Templates: time 0.005196/0.4419, allocations: 2.433 MB / 0.5901 GB, free: 14.46 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