Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.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.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007248/0.0007248, allocations: 91.92 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.0007757/0.0007757, allocations: 180.3 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.32/1.32, allocations: 223.2 MB / 240.9 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001652/0.001652, allocations: 270.8 kB / 292.3 MB, free: 1.844 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9096/0.9096, allocations: 169.5 MB / 0.501 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004891/0.0004891, allocations: 19.34 kB / 0.5993 GB, free: 28.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1763, allocations: 88.54 MB / 0.6858 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0006787/0.1771, allocations: 314.3 kB / 0.6861 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000651/0.1777, allocations: 350.9 kB / 0.6864 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.427e-06/0.1777, allocations: 0.5625 kB / 0.6864 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.432e-05/0.1778, allocations: 0 / 0.6864 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.789e-06/0.1778, allocations: 2.312 kB / 0.6864 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000321/0.1781, allocations: 67.86 kB / 0.6865 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.488e-05/0.1781, allocations: 7.984 kB / 0.6865 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.055e-05/0.1782, allocations: 6.938 kB / 0.6865 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.295e-05/0.1782, allocations: 0 / 0.6865 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.053e-05/0.1782, allocations: 0 / 0.6865 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.117e-06/0.1783, allocations: 0 / 0.6865 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003609/0.1786, allocations: 275.6 kB / 0.6868 GB, free: 14.06 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.187e-06/0.1786, allocations: 0 / 0.6868 GB, free: 14.06 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.51e-05/0.1787, allocations: 25.7 kB / 0.6868 GB, free: 14.03 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.1788, allocations: 51.91 kB / 0.6868 GB, free: 13.98 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1788, allocations: 1.406 kB / 0.6868 GB, free: 13.98 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1788, allocations: 0 / 0.6868 GB, free: 13.98 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.507e-06/0.1788, allocations: 0 / 0.6868 GB, free: 13.98 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002685/0.1791, allocations: 336.2 kB / 0.6872 GB, free: 13.6 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.1791, allocations: 11.97 kB / 0.6872 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.797e-05/0.1792, allocations: 5.656 kB / 0.6872 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.35e-05/0.1793, allocations: 160.4 kB / 0.6873 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.725e-06/0.1793, allocations: 6.594 kB / 0.6873 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.765e-06/0.1793, allocations: 384 / 0.6873 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.2e-05/0.1794, allocations: 30.25 kB / 0.6874 GB, free: 13.35 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.1794, allocations: 4.188 kB / 0.6874 GB, free: 13.35 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.1794, allocations: 3.938 kB / 0.6874 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.1794, allocations: 0.5 kB / 0.6874 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.55e-05/0.1794, allocations: 0.625 kB / 0.6874 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000126/0.1796, allocations: 146.5 kB / 0.6875 GB, free: 13.15 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.59e-05/0.1796, allocations: 23.45 kB / 0.6875 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.501e-05/0.1796, allocations: 8.844 kB / 0.6875 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000461/0.1801, allocations: 430.3 kB / 0.688 GB, free: 12.6 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.1801, allocations: 30.56 kB / 0.688 GB, free: 12.56 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.1801, allocations: 0 / 0.688 GB, free: 12.56 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001264/0.1803, allocations: 37.64 kB / 0.688 GB, free: 12.52 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/0.1803, allocations: 51.41 kB / 0.6881 GB, free: 12.46 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.732e-05/0.1803, allocations: 94.45 kB / 0.6882 GB, free: 12.36 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.1804, allocations: 25.7 kB / 0.6882 GB, free: 12.32 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.242e-05/0.1804, allocations: 80.8 kB / 0.6883 GB, free: 12.24 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/0.1804, allocations: 1 kB / 0.6883 GB, free: 12.24 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.061e-05/0.1804, allocations: 9.719 kB / 0.6883 GB, free: 12.23 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.1806, allocations: 321.2 kB / 0.6886 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.764e-06/0.1806, allocations: 4 kB / 0.6886 GB, free: 11.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.088e-06/0.1806, allocations: 0 / 0.6886 GB, free: 11.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.257e-05/0.1806, allocations: 8.859 kB / 0.6886 GB, free: 11.89 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1806, allocations: 4.188 kB / 0.6886 GB, free: 11.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.724e-05/0.1807, allocations: 33.7 kB / 0.6886 GB, free: 11.85 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.1807, allocations: 4 kB / 0.6886 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.1807, allocations: 7.938 kB / 0.6886 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.729e-06/0.1807, allocations: 3.938 kB / 0.6886 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.511e-05/0.1808, allocations: 0 / 0.6886 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.1808, allocations: 3.984 kB / 0.6886 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.096e-05/0.1808, allocations: 11.81 kB / 0.6887 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.1808, allocations: 4 kB / 0.6887 GB, free: 11.81 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 6.534e-05/0.1809, allocations: 111.2 kB / 0.6888 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.741e-05/0.1809, allocations: 0 / 0.6888 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.592e-05/0.181, allocations: 40.77 kB / 0.6888 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.181, allocations: 0 / 0.6888 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.181, allocations: 4 kB / 0.6888 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.181, allocations: 3.984 kB / 0.6888 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.137e-05/0.1811, allocations: 145.7 kB / 0.689 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.1811, allocations: 0 / 0.689 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.3e-05/0.1811, allocations: 8 kB / 0.689 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1811, allocations: 4.031 kB / 0.689 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.1811, allocations: 3.938 kB / 0.689 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.1811, allocations: 0 / 0.689 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1811, allocations: 0 / 0.689 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.387e-05/0.1812, allocations: 69.05 kB / 0.689 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.089e-05/0.1813, allocations: 81.02 kB / 0.6891 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.908e-06/0.1813, allocations: 3.938 kB / 0.6891 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.132e-06/0.1813, allocations: 4.031 kB / 0.6891 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.138e-05/0.1813, allocations: 0 / 0.6891 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.1813, allocations: 0 / 0.6891 GB, free: 11.24 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.322e-05/0.1813, allocations: 75.28 kB / 0.6892 GB, free: 11.17 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1813, allocations: 4 kB / 0.6892 GB, free: 11.16 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000184/0.1815, allocations: 11.98 kB / 0.6892 GB, free: 11.15 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0001637/0.1817, allocations: 111.2 kB / 0.6893 GB, free: 11.03 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.164e-05/0.1818, allocations: 0 / 0.6893 GB, free: 11.03 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1818, allocations: 12 kB / 0.6893 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.591e-06/0.1818, allocations: 0 / 0.6893 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000121/0.1819, allocations: 1.719 kB / 0.6893 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001717/0.1821, allocations: 112.4 kB / 0.6894 GB, free: 10.88 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002052/0.1823, allocations: 0.6692 MB / 0.6901 GB, free: 10.18 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.277e-05/0.1823, allocations: 7.438 kB / 0.6901 GB, free: 10.18 MB / 494.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1823, allocations: 0 / 0.6901 GB, free: 10.18 MB / 494.1 MB Notification: Performance of Templates: time 0.001679/0.184, allocations: 471.9 kB / 0.6905 GB, free: 9.719 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.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.Utilities.Math.Functions.Examples.RegNonZeroPowerCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerCalcHelperMain.o] Error 1