Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule") translateModel(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0007424/0.000742, allocations: 99.98 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.0008072/0.0008072, allocations: 173.9 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.271/1.271, allocations: 223.3 MB / 240.6 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8409/0.8409, allocations: 135.3 MB / 427 MB, free: 14.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003026/0.0003026, allocations: 8.812 kB / 0.5076 GB, free: 5.109 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1539, allocations: 82.31 MB / 0.588 GB, free: 2.973 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.001374/0.1553, allocations: 1.11 MB / 0.5891 GB, free: 1.852 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007343/0.156, allocations: 470.9 kB / 0.5895 GB, free: 1.391 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.001e-05/0.1561, allocations: 0 / 0.5895 GB, free: 1.391 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.853e-05/0.1561, allocations: 11.88 kB / 0.5895 GB, free: 1.379 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.88e-05/0.1562, allocations: 11.91 kB / 0.5895 GB, free: 1.367 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005567/0.1568, allocations: 199.4 kB / 0.5897 GB, free: 1.176 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.1569, allocations: 119.8 kB / 0.5898 GB, free: 1.059 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.872e-05/0.157, allocations: 0 / 0.5898 GB, free: 1.059 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.874e-05/0.1571, allocations: 55.91 kB / 0.5899 GB, free: 1.004 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.298e-05/0.1571, allocations: 43.81 kB / 0.5899 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.1572, allocations: 8 kB / 0.5899 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002153/0.1574, allocations: 151.8 kB / 0.5901 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.161e-05/0.1575, allocations: 35.89 kB / 0.5901 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.718e-05/0.1575, allocations: 41.64 kB / 0.5902 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.1577, allocations: 167.9 kB / 0.5903 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1577, allocations: 0 / 0.5903 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.1577, allocations: 0 / 0.5903 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.1577, allocations: 4 kB / 0.5903 GB, free: 0.5547 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.0004788/0.1582, allocations: 415 kB / 0.5907 GB, free: 104 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.1583, allocations: 8.031 kB / 0.5907 GB, free: 96 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.341e-05/0.1583, allocations: 15.81 kB / 0.5907 GB, free: 80 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.1585, allocations: 202.9 kB / 0.5909 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.1585, allocations: 8 kB / 0.5909 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.1586, allocations: 12 kB / 0.591 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.1587, allocations: 91.33 kB / 0.591 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.1587, allocations: 0 / 0.591 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.1587, allocations: 0 / 0.591 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1588, allocations: 0 / 0.591 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.829e-05/0.1588, allocations: 39.97 kB / 0.5911 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002307/0.1591, allocations: 234.4 kB / 0.5913 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.1592, allocations: 89.17 kB / 0.5914 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.616e-05/0.1593, allocations: 53.75 kB / 0.5914 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.726e-06/0.1593, allocations: 4 kB / 0.5914 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001964/0.1595, allocations: 113 kB / 0.5916 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.062e-06/0.1595, allocations: 4 kB / 0.5916 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0003049/0.1598, allocations: 177.5 kB / 0.5917 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/0.1598, allocations: 89.09 kB / 0.5918 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.16, allocations: 151.8 kB / 0.592 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.16, allocations: 37.69 kB / 0.592 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.022e-05/0.1601, allocations: 104.5 kB / 0.5921 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.847e-05/0.1601, allocations: 35.55 kB / 0.5921 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-06/0.1601, allocations: 0 / 0.5921 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1603, allocations: 326.8 kB / 0.5924 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.195e-05/0.1603, allocations: 40.17 kB / 0.5925 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.1605, allocations: 205.6 kB / 0.5927 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.134e-05/0.1606, allocations: 65.88 kB / 0.5927 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1606, allocations: 0 / 0.5927 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001958/0.1608, allocations: 150 kB / 0.5929 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.1609, allocations: 6.656 kB / 0.5929 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.032e-05/0.1609, allocations: 7.984 kB / 0.5929 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.1609, allocations: 4.094 kB / 0.5929 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.148e-05/0.161, allocations: 15.94 kB / 0.5929 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.161, allocations: 0 / 0.5929 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002636/0.1613, allocations: 95.69 kB / 0.593 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.1613, allocations: 8.156 kB / 0.593 GB, free: 13.5 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition2,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$PRE.occSchWee.tNext,occSchWee.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.924e-05/0.1614, allocations: 133.8 kB / 0.5931 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.483e-05/0.1614, allocations: 11.91 kB / 0.5931 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.819e-05/0.1614, allocations: 20.7 kB / 0.5932 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1615, allocations: 0 / 0.5932 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1615, allocations: 0 / 0.5932 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1615, allocations: 0 / 0.5932 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.1616, allocations: 193.6 kB / 0.5934 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1616, allocations: 3.984 kB / 0.5934 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.256e-05/0.1617, allocations: 11.94 kB / 0.5934 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1617, allocations: 0 / 0.5934 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.1617, allocations: 4 kB / 0.5934 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1617, allocations: 0 / 0.5934 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.1617, allocations: 3.984 kB / 0.5934 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.1619, allocations: 189.7 kB / 0.5936 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.604e-05/0.162, allocations: 88.95 kB / 0.5936 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.162, allocations: 3.984 kB / 0.5936 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.857e-05/0.1621, allocations: 4 kB / 0.5937 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.1621, allocations: 11.94 kB / 0.5937 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.1621, allocations: 7.984 kB / 0.5937 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.851e-05/0.1622, allocations: 113 kB / 0.5938 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1622, allocations: 0 / 0.5938 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002734/0.1625, allocations: 75.94 kB / 0.5938 GB, free: 12.54 MB / 0.4981 GB 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 (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.0002491/0.1627, allocations: 163.1 kB / 0.594 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002364/0.163, allocations: 163.3 kB / 0.5942 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.163, allocations: 0 / 0.5942 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.019e-05/0.1631, allocations: 43.97 kB / 0.5942 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000156/0.1632, allocations: 12 kB / 0.5942 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003835/0.1636, allocations: 264.2 kB / 0.5945 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.1639, allocations: 0.7122 MB / 0.5952 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.286e-05/0.1639, allocations: 11.44 kB / 0.5952 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1639, allocations: 0 / 0.5952 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of Templates: time 0.003864/0.1678, allocations: 2.411 MB / 0.5975 GB, free: 8.703 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.makefile make -j1 -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancyScheduleCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancyScheduleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancyScheduleCalcHelperMain.o] Error 1