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.005334/0.005334, 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.001176/0.001176, 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.33/1.33, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002407/0.002407, allocations: 282.6 kB / 290.9 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9459/0.9459, allocations: 169.2 MB / 0.4984 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001791/0.001791, allocations: 94.62 kB / 0.5951 GB, free: 28.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1695, allocations: 86.99 MB / 0.6801 GB, free: 1.156 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.002647/0.1722, allocations: 1.509 MB / 0.6816 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006172/0.1729, allocations: 439.5 kB / 0.682 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.734e-05/0.1729, allocations: 0.7812 kB / 0.682 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.639e-05/0.173, allocations: 3.984 kB / 0.682 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.703e-05/0.173, allocations: 5.469 kB / 0.682 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001409/0.1732, allocations: 19.98 kB / 0.682 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.432e-05/0.1733, allocations: 47.8 kB / 0.682 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.1734, allocations: 20.84 kB / 0.6821 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.579e-05/0.1735, allocations: 19.88 kB / 0.6821 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.802e-05/0.1735, allocations: 24.59 kB / 0.6821 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.1735, allocations: 4.719 kB / 0.6821 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.42e-05/0.1736, allocations: 4 kB / 0.6821 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.993e-05/0.1736, allocations: 5.328 kB / 0.6821 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.418e-05/0.1736, allocations: 23.88 kB / 0.6821 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.067e-05/0.1737, allocations: 32.16 kB / 0.6822 GB, free: 15.01 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1737, allocations: 0 / 0.6822 GB, free: 15.01 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1737, allocations: 4 kB / 0.6822 GB, free: 15 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.1737, allocations: 0 / 0.6822 GB, free: 15 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.0004862/0.1742, allocations: 359.4 kB / 0.6825 GB, free: 14.61 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.1743, allocations: 12.03 kB / 0.6825 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.533e-05/0.1743, allocations: 4.844 kB / 0.6825 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.1744, allocations: 176.3 kB / 0.6827 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.1745, allocations: 4.375 kB / 0.6827 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.1745, allocations: 4.375 kB / 0.6827 GB, free: 14.37 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.1746, allocations: 58 kB / 0.6828 GB, free: 14.31 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.1746, allocations: 0 / 0.6828 GB, free: 14.31 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.1746, allocations: 7.984 kB / 0.6828 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.1746, allocations: 4 kB / 0.6828 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.254e-05/0.1747, allocations: 23.92 kB / 0.6828 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004802/0.1752, allocations: 300.7 kB / 0.6831 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.1753, allocations: 58.56 kB / 0.6831 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.509e-05/0.1754, allocations: 28.97 kB / 0.6832 GB, free: 13.83 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/0.1754, allocations: 0 / 0.6832 GB, free: 13.83 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001718/0.1756, allocations: 67.39 kB / 0.6832 GB, free: 13.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.1756, allocations: 0 / 0.6832 GB, free: 13.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002187/0.1758, allocations: 101.5 kB / 0.6833 GB, free: 13.65 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.1758, allocations: 63.41 kB / 0.6834 GB, free: 13.57 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.568e-05/0.1759, allocations: 109.8 kB / 0.6835 GB, free: 13.46 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.1759, allocations: 29.64 kB / 0.6835 GB, free: 13.42 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.398e-05/0.176, allocations: 84.14 kB / 0.6836 GB, free: 13.34 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.176, allocations: 31.62 kB / 0.6836 GB, free: 13.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.867e-05/0.1761, allocations: 25.72 kB / 0.6837 GB, free: 13.27 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.1762, allocations: 322.8 kB / 0.684 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.683e-05/0.1762, allocations: 20 kB / 0.684 GB, free: 12.93 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.148e-05/0.1763, allocations: 51.36 kB / 0.684 GB, free: 12.87 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.565e-05/0.1764, allocations: 63.36 kB / 0.6841 GB, free: 12.79 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.1764, allocations: 4 kB / 0.6841 GB, free: 12.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001303/0.1765, allocations: 97.67 kB / 0.6842 GB, free: 12.69 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.1766, allocations: 6.062 kB / 0.6842 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.1766, allocations: 4 kB / 0.6842 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.1766, allocations: 4 kB / 0.6842 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.536e-05/0.1767, allocations: 8 kB / 0.6842 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.1767, allocations: 3.938 kB / 0.6842 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.177e-05/0.1767, allocations: 11.89 kB / 0.6842 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.555e-06/0.1768, allocations: 4 kB / 0.6842 GB, free: 12.65 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 9.155e-05/0.1768, allocations: 123.1 kB / 0.6844 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.208e-05/0.1769, allocations: 4 kB / 0.6844 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.564e-05/0.1769, allocations: 11.97 kB / 0.6844 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.1769, allocations: 4.281 kB / 0.6844 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1769, allocations: 0 / 0.6844 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1769, allocations: 3.984 kB / 0.6844 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003696/0.1773, allocations: 362.3 kB / 0.6847 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1773, allocations: 0 / 0.6847 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.717e-05/0.1773, allocations: 7.938 kB / 0.6847 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1773, allocations: 0 / 0.6847 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.1774, allocations: 4 kB / 0.6847 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.1774, allocations: 8.406 kB / 0.6847 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1774, allocations: 3.938 kB / 0.6847 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.1775, allocations: 183.4 kB / 0.6849 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.586e-05/0.1776, allocations: 81.02 kB / 0.685 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.1776, allocations: 4 kB / 0.685 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.258e-05/0.1777, allocations: 11.92 kB / 0.685 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.1777, allocations: 11.98 kB / 0.685 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.291e-06/0.1777, allocations: 4 kB / 0.685 GB, free: 11.74 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.767e-05/0.1778, allocations: 83.28 kB / 0.6851 GB, free: 11.66 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1778, allocations: 0 / 0.6851 GB, free: 11.66 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000232/0.178, allocations: 12 kB / 0.6851 GB, free: 11.64 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.716e-05/0.1781, allocations: 105.5 kB / 0.6852 GB, free: 11.54 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001182/0.1782, allocations: 47.92 kB / 0.6853 GB, free: 11.49 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.1782, allocations: 0 / 0.6853 GB, free: 11.49 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.991e-05/0.1783, allocations: 35.98 kB / 0.6853 GB, free: 11.45 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.1786, allocations: 8 kB / 0.6853 GB, free: 11.45 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003933/0.179, allocations: 200.9 kB / 0.6855 GB, free: 11.21 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.1792, allocations: 0.69 MB / 0.6862 GB, free: 10.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.934e-05/0.1793, allocations: 11.44 kB / 0.6862 GB, free: 10.49 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1793, allocations: 0 / 0.6862 GB, free: 10.49 MB / 494.1 MB Notification: Performance of Templates: time 0.001993/0.1813, allocations: 0.8484 MB / 0.687 GB, free: 9.641 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