Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.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.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer") translateModel(BuildingSystems.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008907/0.0008907, allocations: 92.55 kB / 16.02 MB, free: 80 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.0008223/0.0008223, allocations: 174.9 kB / 16.92 MB, free: 6.652 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.345/1.345, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001732/0.001732, allocations: 270.2 kB / 292.3 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9224/0.9224, allocations: 169.5 MB / 0.501 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004085/0.0004085, allocations: 15 kB / 0.5993 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1604, allocations: 88.54 MB / 0.6858 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.001461/0.1619, allocations: 1.181 MB / 0.6869 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005835/0.1625, allocations: 423.6 kB / 0.6873 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.325e-05/0.1625, allocations: 1.469 kB / 0.6873 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.442e-05/0.1626, allocations: 4 kB / 0.6873 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.258e-05/0.1626, allocations: 7.922 kB / 0.6873 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001275/0.1628, allocations: 19.98 kB / 0.6874 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.127e-05/0.1629, allocations: 48.44 kB / 0.6874 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.781e-05/0.163, allocations: 8.688 kB / 0.6874 GB, free: 13.4 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.774e-05/0.163, allocations: 26.16 kB / 0.6874 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.045e-05/0.1631, allocations: 15.92 kB / 0.6874 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.1631, allocations: 4 kB / 0.6875 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.988e-06/0.1631, allocations: 0 / 0.6875 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.007e-05/0.1631, allocations: 11.92 kB / 0.6875 GB, free: 13.35 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.507e-05/0.1632, allocations: 49.62 kB / 0.6875 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.654e-05/0.1633, allocations: 20.73 kB / 0.6875 GB, free: 13.27 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1633, allocations: 1 kB / 0.6875 GB, free: 13.27 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.048e-06/0.1633, allocations: 4 kB / 0.6875 GB, free: 13.27 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1633, allocations: 0 / 0.6875 GB, free: 13.27 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004303/0.1637, allocations: 363.7 kB / 0.6879 GB, free: 12.87 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.1638, allocations: 12.02 kB / 0.6879 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.776e-05/0.1638, allocations: 5.469 kB / 0.6879 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.1639, allocations: 180.2 kB / 0.6881 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.1639, allocations: 2.656 kB / 0.6881 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.164, allocations: 8.375 kB / 0.6881 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.1641, allocations: 65.92 kB / 0.6881 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.1641, allocations: 0 / 0.6881 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.1641, allocations: 0 / 0.6881 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.1641, allocations: 0.5 kB / 0.6881 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.926e-05/0.1642, allocations: 28.58 kB / 0.6882 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004437/0.1646, allocations: 304.8 kB / 0.6885 GB, free: 12.19 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.1648, allocations: 58.56 kB / 0.6885 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.358e-05/0.1648, allocations: 24.98 kB / 0.6885 GB, free: 12.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.544e-06/0.1648, allocations: 0.625 kB / 0.6885 GB, free: 12.1 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001516/0.165, allocations: 80.44 kB / 0.6886 GB, free: 12.01 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.165, allocations: 0.7188 kB / 0.6886 GB, free: 12.01 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0001993/0.1652, allocations: 93.62 kB / 0.6887 GB, free: 11.91 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.1653, allocations: 59.92 kB / 0.6888 GB, free: 11.84 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.725e-05/0.1653, allocations: 103.8 kB / 0.6889 GB, free: 11.73 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.1654, allocations: 29.69 kB / 0.6889 GB, free: 11.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.882e-05/0.1654, allocations: 92.05 kB / 0.689 GB, free: 11.6 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.1654, allocations: 23.64 kB / 0.689 GB, free: 11.58 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.872e-05/0.1655, allocations: 25.7 kB / 0.689 GB, free: 11.55 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.1656, allocations: 322.8 kB / 0.6893 GB, free: 11.22 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.478e-05/0.1656, allocations: 15.98 kB / 0.6894 GB, free: 11.21 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.685e-05/0.1657, allocations: 51.36 kB / 0.6894 GB, free: 11.14 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.163e-05/0.1658, allocations: 59.38 kB / 0.6895 GB, free: 11.07 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1658, allocations: 8 kB / 0.6895 GB, free: 11.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000127/0.1659, allocations: 93.78 kB / 0.6896 GB, free: 10.97 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.1659, allocations: 6.25 kB / 0.6896 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.166, allocations: 0 / 0.6896 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.166, allocations: 4 kB / 0.6896 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.386e-05/0.166, allocations: 12.03 kB / 0.6896 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.1661, allocations: 7.875 kB / 0.6896 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.625e-05/0.1661, allocations: 19.89 kB / 0.6896 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.1661, allocations: 4 kB / 0.6896 GB, free: 10.92 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.465e-05/0.1662, allocations: 123.1 kB / 0.6897 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.349e-05/0.1663, allocations: 7.984 kB / 0.6897 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.331e-05/0.1663, allocations: 7.969 kB / 0.6897 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1663, allocations: 0 / 0.6897 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.1663, allocations: 0 / 0.6897 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1663, allocations: 0 / 0.6897 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003801/0.1667, allocations: 370.3 kB / 0.6901 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1667, allocations: 0 / 0.6901 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.631e-05/0.1667, allocations: 7.938 kB / 0.6901 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1668, allocations: 0 / 0.6901 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.1668, allocations: 3.984 kB / 0.6901 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.185e-06/0.1668, allocations: 3.938 kB / 0.6901 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1668, allocations: 0 / 0.6901 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/0.1669, allocations: 183.5 kB / 0.6903 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.792e-05/0.167, allocations: 89 kB / 0.6904 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.167, allocations: 8.062 kB / 0.6904 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.63e-05/0.1671, allocations: 7.938 kB / 0.6904 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.1671, allocations: 7.984 kB / 0.6904 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.403e-06/0.1672, allocations: 4 kB / 0.6904 GB, free: 10.01 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.508e-05/0.1672, allocations: 87.27 kB / 0.6905 GB, free: 9.926 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1672, allocations: 0 / 0.6905 GB, free: 9.926 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002248/0.1674, allocations: 12 kB / 0.6905 GB, free: 9.914 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 8.185e-05/0.1675, allocations: 103.2 kB / 0.6906 GB, free: 9.805 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001248/0.1677, allocations: 52.11 kB / 0.6906 GB, free: 9.754 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1677, allocations: 3.938 kB / 0.6906 GB, free: 9.75 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.886e-05/0.1677, allocations: 27.92 kB / 0.6907 GB, free: 9.723 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.168, allocations: 15.98 kB / 0.6907 GB, free: 9.707 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003922/0.1684, allocations: 202.4 kB / 0.6909 GB, free: 9.477 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.1686, allocations: 0.6861 MB / 0.6915 GB, free: 8.766 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.805e-05/0.1687, allocations: 11.44 kB / 0.6916 GB, free: 8.754 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1687, allocations: 0 / 0.6916 GB, free: 8.754 MB / 494.1 MB Notification: Performance of Templates: time 0.001947/0.1706, allocations: 0.8482 MB / 0.6924 GB, free: 7.906 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.makefile make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.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.Continuous.Examples.OffTimerCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimerCalcHelperMain.o] Error 1